patient_report
Get the basic report of patients registered in the clinic.
Since this query assembles all nutrients and goal information of the patients in the clinic, this query takes quite a load on the backend. If just listing the patients in the clinic, please use GET /hospitals/{hospital_id}/clinics/{clinic_id}/patients.
get/hospitals/{hospital_id}/clinics/{clinic_id}/patients_report
Request
- Base URLhttps://api.rxfoodapp.com/api
- URLhttps://api.rxfoodapp.com/api/hospitals/{hospital_id}/clinics/{clinic_id}/patients_report
- AuthHTTP bearer
Path parameters
hospital_idinteger required
clinic_idinteger required
Query parameters
datestring required
reference date (today's date) in format YYYY-MM-DD
Example:2019-01-02
Response
successful operation
Example response
{
"rows": [
{
"goals": [
{
"change": "increase, decrease",
"goal_type": "frequency, nutrient",
"target_display_name": "vitamin c",
"target_name": "vitamin_c_mg",
"target_unit": "mg"
}
],
"last_meal_date": "2019-01-02"
}
]
}Changes
No recorded changes to this operation across all 19 revisions of this API.