patient

Get list of rdis for the patient

get/patients/{patient_id}/patient_rdi

Path parameters

patient_idinteger required

Query parameters

date_sincestring required
date_untilstring required
use_insufficient_meal_filterboolean

whether days with insufficient number of meals should be excluded from the meals. Added 2024-04-01

Response

successful operation

date_sincestring required

calendar date in format YYYY-MM-DD

date_untilstring required

calendar date in format YYYY-MM-DD

n_days_with_datanumber nullable required

number of dates with at least one meal logged

n_days_with_valid_datanumber nullable

number of dates with at least one meal logged

patient_idinteger required
threshold_explainer_messagestring nullable

explanation of the thresholds used when flagging RDIs as high or low

Example response

{
  "date_since": "2019-01-02",
  "date_until": "2019-01-02",
  "nutrients": [
    {
      "sources": [
        {
          "unit": "mcg"
        }
      ],
      "unit": "mcg"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 15 revisions of this API.