To be able to fetch the collected information from the survey, the patient must complete the survey then call the GET query to /api/v2/surveys/{survey_id}/summary
.
{
"patient": {
"id": "user-unique-id",
"sex": "male",
"age": {
"type": "year",
"value": 31
},
"email": "user@example.com",
"phone": "+11231231234",
"full_name": "Jon Smith"
},
"visit_reasons": [
{
"id": "other",
"name": "Other"
}
],
"chronic_diseases": [
{
"id": "c_1191",
"name": "Diabetic foot infection",
"severity": "moderate"
}
],
"specialists": [
{
"id": "sp_10",
"name": "Endocrinologist"
}
],
"hospitalizations": [
{
"id": "p_318",
"name": "History of COVID infection",
"last_occurred": "less_than_1_month"
}
],
"medications": [
{
"id": "2914",
"name": "Adipine",
"common_name": "Amlodipinum",
"dose": "10 mg",
"category": "Tablets"
}
],
"allergies": [
{
"name": "allergic to pollen"
}
],
"present_symptoms": [
{
"id": "s_13",
"name": "Abdominal pain",
"source": "initial",
"choice_id": "present",
"seriousness": "normal"
},
{
"id": "s_1528",
"name": "Abdominal pain, right upper quadrant",
"source": "",
"choice_id": "present",
"seriousness": "normal"
},
{
"id": "s_1840",
"name": "Abdominal pain, lasting less than 2 days",
"source": "",
"choice_id": "present",
"seriousness": "normal"
}
],
"risk_factors": [],
"additional_comment": "Message to doctor"
}
HTTP status code: 409
The survey hasn't been completed. It is not possible to fetch this data if the survey is new or pending.
patient (object, required)
female
and male
year
visit_reasons (List[visit_reason])
chronic_diseases (List[visit_reason])
mild
, moderate
, severe
specialists (List[specialist])
hospitalizations (List[hospitalization])
less_than_1_month
, 1_3_months
, 4_11_months
, 1_5_years
, over_5_years
medications (List[medication])
allergies (List[allergy])
present_symptoms, absent_symptoms, risk_factors (List[evidence])
serious
, emergency
, emergency_ambulance
. Observations with emergency or emergency_ambulance seriousness are particularly urgent and may require immediate attention.additional_comment (str)