Gets the PatientReportDataResponse used to show nutrition insights in the mobile app.
Request
- Base URLhttps://api.rxfoodapp.com/api
- URLhttps://api.rxfoodapp.com/api/reporting/patients/{patient_id}/mobile_nutrition_insights
- AuthHTTP bearer
Path parameters
Query parameters
Optional server-side date range selection. If set, date_since/date_until are ignored. auto=latest N meal-days (all history), latest_subscription=current subscription window, newest_reportable_subscription=newest reportable subscription window.
Only used when range_selector=auto. Number of latest meal-days to include (capped at 30).
Only used when range_selector=auto. Minimum number of reportable meals required for a date to count as a meal-day.
calendar date in format YYYY-MM-DD
calendar date in format YYYY-MM-DD
Response
successful operation
afternoon calories as percentage of all meals
afternoon calories(kcal) sum
morning carbohydrate(g) as percentage of all meals
morning carbohydrate(g) sum
average breakfast plate image image location_deprecated
average breakfast plate image image location_deprecated
avg number of cups of beverages per day during the period. Added 2022-08-30.
avg number of cups of water per day during the period
String of Diet DASH Score
average dinner plate image image location_deprecated
average dinner plate image image location_deprecated
image comments
image comments
average lunch plate image image location_deprecated
average lunch plate image image location_deprecated
average dinner plate image image location_deprecated
image comments
image comments
average plate image location_deprecated
image comments
image comments
string of average fasting window
beverage frequency image location_deprecated
calcium dash image location_deprecated
calcium statements_deprecated
recommended statement
calories template images location
image comments
carb daily intake image image location_deprecated
recommended statement
cholesterol dash image location_deprecated
cholesterol statements_deprecated
clinic id
id of report being compared
calendar date in format %B %d, %Y
calendar date in format %B %d, %Y
emotion record date in format YYYY-MM-DD
emotion record date in format YYYY-MM-DD
emotion record date in format YYYY-MM-DD
emotion record date in format YYYY-MM-DD
emotion record date in format YYYY-MM-DD
array of calendar dates in format %B %d, %Y
comma separated list of dash nutrients to decrease_deprecated
dash recommendations_deprecated
summary of diet restrictions
image comments
diet score image location_deprecated
dinner calories as percentage of all meals
dinner calories(kcal) sum
morning carbohydrate(g) as percentage of all meals
morning carbohydrate(g) sum
evening calories as percentage of all meals
evening calories(kcal) sum
morning carbohydrate(g) as percentage of all meals
morning carbohydrate(g) sum
fat frequency image location_deprecated
recommended statement
dictionary of values for fat frequency
patient emotion feelings statement
fiber dash image location_deprecated
fiber statements_deprecated
recommended statement
average grams of fibre per day
file location in s3
first name
recommended statement
servings of fruit per day
recommended statement
recommended statement
the percentage of fruit and vegetables on their plate
ghg equivalent image location_deprecated
image comments
ghg_equivalent_value
recommended statement
number of meal items with valid GI index
image comments
glycemic index frequency image image location_deprecated
dictionary of values for glycemic index data
summary of goal progress during the report period
comma separated list of good dash scores_deprecated
dash recommendations_deprecated
grain frequency image location_deprecated
list of grain statements
recommended statement
dictionary of values for grain frequency
meal item name with high GI index
meal item name with high GI index
meal item name with high GI index
meal item name with high GI index
meal item name with high GI index
comma separated list of dash nutrients to increase_deprecated
dash recommendations_deprecated
language
last name
local images location
logo location url
logo location url
logo location url
logos template images location
string of longest fasting window
meal item name with low GI index
meal item name with low GI index
meal item name with low GI index
meal item name with low GI index
meal item name with low GI index
lunchtime calories as percentage of all meals
lunchtime calories(kcal) sum
morning carbohydrate(g) as percentage of all meals
morning carbohydrate(g) sum
recommended statement
dictionary of values for each macro
image comments
macronutrient distribution image image location, deprecated
magnesium dash image location_deprecated
magnesium statements_deprecated
string of median fasting window
summary statement for the section
image comments
micronutrient trends image image location_deprecated
morning calories as percentage of all meals
morning calories(kcal) sum
morning carbohydrate(g) as percentage of all meals
morning carbohydrate(g) sum
summary of motivations
number of days with at least one meal logged
number of days with at least one meal logged
number of meal items included in the report
number of meals included in the report
logo name
logo name
logo name
emotion notes
emotion notes
emotion notes
emotion notes
emotion notes
patient emotion notes
applied nutrient multipliers. Added 2022-10-27
list of omega-3 containing foods
report id
plant-based frequency image location_deprecated
recommended statement
dictionary of values for plant-based frequency
potassium dash image location_deprecated
potassium statements_deprecated
filename of the potassium image
support statement to the heatmap
protein dash image location_deprecated
protein statements_deprecated
protein frequency image location_deprecated
recommended statement
dictionary of values for protein frequency
saturated fat dash image location_deprecated
saturated fat statements_deprecated
string of shortest fasting window
sodium dash image location_deprecated
sodium statements_deprecated
star plot image location_deprecated
all supplements as a string with commas separating each property and semi-colons separating each supplement. Properties: name, unit amount, unit label, frequency, notes
total fat dash image location_deprecated
total fat statements_deprecated
macronutrients total fat value
ultra-processed frequency image location_deprecated
recommended statement
dictionary of values for ultra_processed frequency
created time on user table
recommended statement
servings of vegetables per day
water frequency image location_deprecated
Changes
No recorded changes to this operation across all 19 revisions of this API.