Logo

Exam Questions & Answers

POST

https://staging-api.qualiphy.me/api/exam_questions
This endpoint is used to fetch the list of questions and possible answers for a specific exam associated with a patient. This endpoint is crucial for retrieving the exam content that needs to be presented to the patient, allowing them to respond to the required questions as part of the examination process.

Note: You're required to call the Exam Invite endpoint before calling this endpoint.


Parameters
  • api_key string

    Required

    API key for authentication

  • meeting_uuid string

    Required

    Unique ID for the meeting

    This is the unique meeting id that is returned in the Exam Invite response

  • patient_exam_id integer

    Required

    Unique ID for the patient exam

    This is the unique patient exam ID provided in the Exam Invite response. You will receive a list of patient exams, allowing you to select the appropriate patient_exam_id for the specific exam.


Response

200
400
401
500

Response Fields Explanation

FieldExplanation
question_idThis is the question id
responsesThese are the possible responses for those questions that have single selection radio options or multi-select checkboxes available
responseThese are the prefilled response options that are selected by the patient and provider during exam screening, if available. If no responses are available then it should be a response_type of 1 - input text
response_type These are the different question types which includes the following value for the type: 1 - Input text 2 - Single Radio Button Selection 3 - Multi-Checkbox Selection
input_fieldThe input field with a value of 2 requires patients and or providers to add additional text along with the multi-select or single select option. An input field value of 1 does not include any additional text for the response. The additional text will be reflected in the answer in the answers array
exam_question_response_idThis is the id for the response options
answersThis will include a list of answers that were already completed via pre-fill available options or previously submitted answers
answers > question_idIds found in the answers array are the same as id found previously in this table above and it relates to the matching question id

Example Request Payload:

Response Example

{
"answers":[]
"exam_id":1221
"http_code":200
"questions":[
0:{
"id":4844
"question":"How do you feel?"
"responses":[
0:{
"response":"Yes"
"input_field":1
"exam_question_response_id":48
}
1:{
"response":"no"
"input_field":1
"exam_question_response_id":49
}
2:{
"response":"other"
"input_field":2
"exam_question_response_id":50
}
]
}
]
"meeting_uuid":"uuid-here"
"patient_exam_id":800
}