ECLINICALWORKS
Submit Smart Form Phq2
Submit smart form phq2 in eClinicalWorks
POSThttps://api.ontross.com/api/integrations/ecw/submit-smart-form-phq2
Request Fields
input
object
requiredInput object.
input.patientId
string
requiredPatient id
input.encounterId
string
requiredEncounter id
input.q1_answer
string
requiredLittle interest or pleasure in doing things? One of: Not at all, Several days, More than half the days, Nearly every day, Declined to specify
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayDeclined to specifyinput.q2_answer
string
requiredFeeling down, depressed, or hopeless? One of: Not at all, Several days, More than half the days, Nearly every day, Declined to specify
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayDeclined to specifyauth_id
string
requiredAuth id
Output Fields
submitted
boolean
Submitted
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ecw/submit-smart-form-phq2 \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patientId":"string_id","encounterId":"string_id","q1_answer":"Not at all","q2_answer":"Not at all"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patientId": "string_id",
"encounterId": "string_id",
"q1_answer": "Not at all",
"q2_answer": "Not at all"
},
"auth_id": "auth_uuid_here"
}