Tross
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
required
Input object.
input.patientId
string
required
Patient id
input.encounterId
string
required
Encounter id
input.q1_answer
string
required
Q1 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q2_answer
string
required
Q2 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q3_answer
string
required
Q3 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q4_answer
string
required
Q4 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q5_answer
string
required
Q5 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q6_answer
string
required
Q6 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q7_answer
string
required
Q7 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q8_answer
string
required
Q8 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
input.q9_answer
string
required
Q9 answer
Accepted values
Not at allSeveral daysMore than half the daysNearly every day
auth_id
string
required
Auth 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"
}