---
title: "Get the list of patients' CGM entries available for the specified clinician."
method: GET
path: "/cgm/patients/{patient_id}/whole_summary"
tags: ["cgm"]
---

# Get the list of patients' CGM entries available for the specified clinician.

`GET /cgm/patients/{patient_id}/whole_summary`

## Path parameters

- `patient_id` integer, required

## Query parameters

- `date_since` string, required
- `date_until` string, required
- `meal_name` string

## Response `200`

successful operation

- PatientCgmWholeSummaryResponse
  - `bg_target_lower` number — lower end of target range for BG, in mmoL/l
  - `bg_target_upper` number — upper end of target range for BG, in mmoL/l
  - `date_since` string, required — calendar date in format YYYY-MM-DD
  - `date_until` string, required — calendar date in format YYYY-MM-DD
  - `glucose_average` number — average glucose value for the period
  - `glucose_period_stats` object[] — this data is average over 24 hours periods
    - `avg` number — glucose avg
    - `count` integer — number of glucose measurements
    - `minutes_after_meal` integer — time delta to meal in minutes
    - `p25` number — 25th percentile
    - `p5` number — 5th percentile
    - `p75` number — 75th percentile
    - `p95` number — 95th percentile
    - `time_of_day` string, string — HH:MM
    - `unit` string — unit coinciding with the value
  - `glucose_rise_foods` object[]
    - `food_string` string — foods contributing the highest increase in BG after consumption
    - `increase_in_mmol_l` number — to increase in mmol/L of which the BG spiked after eating the food
  - `glucose_std_dev` number — standard deviation of glucose values for the period
  - `glucose_time_in_range` GlucoseTimeInRange
    - `minutes_total` number, required — total minutes observed for all ranges provided in values
    - `values` GlucoseTimeInRangeValue[], required
      - `minutes_in_range` number, required — number of minutes between mmol_lower and mmol_upper
      - `mmol_lower` number, required — bottom of the range given by target_name in mmol/l
      - `mmol_upper` number, required — top of the range given by target_name in mmol/l
      - `target_name` 'low_danger' | 'low' | 'target' | 'high' | 'high_danger', required
  - `summary_statements` PatientCgmSummaryStatement[]
    - `heading` string, required — heading for the given statement
    - `statement` string, required — statement content

---

[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/081a2697c0f1?raw)
