ECLINICALWORKS
Submit Smart Form Phq9
Submit smart form phq9 in eClinicalWorks
POSThttps://api.ontross.com/api/integrations/ecw/submit-smart-form-phq9
Request Fields
input
object
requiredInput object.
input.patientId
string
requiredPatient id
input.encounterId
string
requiredEncounter id
input.q1_answer
string
requiredQ1 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q2_answer
string
requiredQ2 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q3_answer
string
requiredQ3 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q4_answer
string
requiredQ4 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q5_answer
string
requiredQ5 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q6_answer
string
requiredQ6 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q7_answer
string
requiredQ7 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q8_answer
string
requiredQ8 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayinput.q9_answer
string
requiredQ9 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every dayauth_id
string
requiredAuth id
Output Fields
submitted
boolean
Submitted
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ecw/submit-smart-form-phq9 \
--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","q3_answer":"Not at all","q4_answer":"Not at all","q5_answer":"Not at all","q6_answer":"Not at all","q7_answer":"Not at all","q8_answer":"Not at all","q9_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",
"q3_answer": "Not at all",
"q4_answer": "Not at all",
"q5_answer": "Not at all",
"q6_answer": "Not at all",
"q7_answer": "Not at all",
"q8_answer": "Not at all",
"q9_answer": "Not at all"
},
"auth_id": "auth_uuid_here"
}