substitution suggestion

Get food suggestion based on the reference date's food consumption. This API only considers the given date's consumption data, and it returns 404 NOT FOUND when there's no meal consumption or no suggestion to give.

get/patients/{patient_id}/food_suggestion

Path parameters

patient_idinteger required

Query parameters

datestring required

reference date (today's date) in format YYYY-MM-DD

Example:2019-01-02

Response

successful operation

descriptionstring required
food_name_to_replacestring required
suggestionstring required

Changes