---
title: "Get all active patient reports"
method: GET
path: "/reporting/patient_reports/active"
tags: ["reporting"]
---

# Get all active patient reports

`GET /reporting/patient_reports/active`

## Response `200`

successful operation

- PatientReportResponse[]
  - `clinic_id` integer
  - `clinic_name` string
  - `comp_date_since` string — comparison calendar date in format YYYY-MM-DD
  - `comp_date_until` string — comparison calendar date in format YYYY-MM-DD
  - `created_by_user_id` integer, nullable
  - `created_time` string, date-time
  - `date_since` string — reference calendar date in format YYYY-MM-DD
  - `date_until` string — reference calendar date in format YYYY-MM-DD
  - `dates_exclude` string[] — calendar dates in format YYYY-MM-DD
  - `diet_restrictions` PatientDietRestrictionResponse[] — diet restrictions for the report
    - `comment` string, nullable
    - `id` integer, required
    - `name` string, required
    - `name_translations` object, nullable
  - `error_flags` PatientReportErrorFlag[], nullable — error flags for the report
    - `fields` PatientReportErrorField[] — fields related to the error
      - `field` string — field name
      - `object_class` string — class name.
      - `value` string — value of field
    - `level` integer — severity of error
    - `message` string — error message
    - `type` string — type of error
  - `hospital_id` integer
  - `ignore_error_flags` boolean
  - `is_archived` boolean
  - `is_deleted` boolean
  - `is_read_only` boolean — true after sent
  - `patient_cgm_entry_id` integer
  - `patient_country_of_residence` string
  - `patient_id` integer, required
  - `patient_is_priority` boolean
  - `patient_report_id` integer, required
  - `patient_report_summary_blocks` PatientReportSummaryBlockResponse[] — comments and tips for the report
    - `evidence` string[] — reference url for supporting evidence
    - `patient_report_id` integer
    - `report_section` string
    - `summary_block_id` integer, required
    - `summary_text` string — text to be provided by the clinician
  - `report_automation_paths` PatientReportAutomationPaths
    - `clinic_report_full_automation` boolean, nullable
    - `deterministic_no_triggered_flags` boolean
    - `has_triggered_canonical_nutrition_quality` boolean
    - `has_triggered_custom_items` boolean
    - `judge_auto_clear_block_reason` string, nullable
    - `judge_auto_clear_blocked_by_canonical_nutrition_quality` boolean
    - `judge_auto_clear_blocked_by_clinic_automation` boolean
    - `judge_auto_clear_blocked_by_custom_items` boolean
    - `judge_auto_clear_rule_id` string
    - `judge_confidence` number, float, nullable
    - `judge_confidence_above_threshold` boolean
    - `judge_confidence_threshold_min` number, float
  - `report_date` string, date
  - `report_judge` PatientReportJudgeResponse
    - `confidence` number, float — mirror of quality.confidence
    - `findings` PatientReportJudgeFinding[]
      - `detail` string — optional extra detail
      - `meal_item_ids_by_meal_id` object — meal_id string -> meal_item ids in that meal
      - `message` string — short finding message
      - `severity` string — low|medium|high severity estimate
      - `theme` string — finding theme, e.g. sizing or history_consistency
    - `quality` PatientReportJudgeQuality
      - `confidence` number, float — 0..1 confidence for overall_pass
      - `dimension_passes` object — pass/fail per rubric dimension id
      - `overall_pass` boolean — aggregate pass across rubric dimensions
    - `report_quality_pass` boolean — mirror of quality.overall_pass
    - `summary` string — clinician-facing judge narrative
  - `report_sent_time` string, date-time
  - `report_type` string — base template file type
  - `sections` string[], nullable
  - `status` string — status of report
  - `updated_time` string, date-time

---

[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-service-production.skmtc.workers.dev/v1/apis/rxfoodapp/inneranalytics-mnt-server/revisions/0703cbbbefe8/schema)
