---
title: "Get the patient's summary metrics for the star plot graph"
method: GET
path: "/patients/{patient_id}/patient_star_plot_summary"
tags: ["patient_report"]
---

# Get the patient's summary metrics for the star plot graph

`GET /patients/{patient_id}/patient_star_plot_summary`

## Path parameters

- `patient_id` integer, required

## Query parameters

- `date_since` string, required — starting date in format YYYY-MM-DD
- `date_until` string, required — ending date in format YYYY-MM-DD
- `disaggregated` boolean, required — indicate whether to use aggregated or disaggregated meal items.
- `daily_avg_method` boolean, required — indicate whether to avg by day, or carry out calcs across set of meals. Default is False.
- `include_statements` boolean — indicate whether statements should be included in the response. Default is false.
- `n_frequency_items` integer — maximum number of frequency items to include per category. Default is 3.
- `include_non_ranked_items` boolean — indicate whether frequency items should include non-ranked. Default is true.
- `include_custom_items` boolean — indicate whether to include custom items in the calculation
- `enforce_unique_base_food` boolean — indicate whether enforce only one food item for each unique base food

## Response `200`

successful operation

- PatientStarPlotResponse
  - `calorie_ratio` number, required
  - `doing_right_statement` string[], nullable
  - `fat_ratio_pct_of_target` number, required
  - `fiber_pct_of_target` number, required
  - `food_frequency_items` PatientFoodFrequencyItemsResponse
    - `both_fat` string[], nullable
    - `fibre` string[], nullable, required
    - `fruit` string[], nullable, required
    - `healthy_fat` string[], nullable, required
    - `omega_three` string[], nullable, required
    - `plant_based` string[], nullable, required
    - `protein` string[], nullable, required
    - `refined_grain` string[], nullable
    - `sugary_beverage` string[], nullable, required
    - `ultra_processed` string[], nullable, required
    - `unhealthy_fat` string[], nullable, required
    - `vegetable` string[], nullable, required
    - `whole_grain` string[], nullable, required
  - `fruit_pct_of_target` number, required
  - `header_statement` string, nullable
  - `healthy_bev_pct_of_total` number, required
  - `healthy_fat_kcal_pct_of_total` number — added 2022-08-31
  - `non_red_meat_pct_of_protein` number, required
  - `patient_id` integer, required
  - `plant_based_pct` number, required
  - `poultry_frequency_weekly` number, required
  - `redmeat_frequency_weekly` number, required
  - `ultra_processed_pct_of_total` number
  - `ultraprocessed_pct_of_total` number, required
  - `unhealthy_fat_kcal_pct_of_total` number, required
  - `vegetable_pct_of_target` number, required
  - `whole_foods_and_low_processed_foods` number, required
  - `whole_grain_pct` number, required

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/750cc0d96a93?raw)
