# HealthRecordResponse

Model ID: `GetHealthRecordResponse`

Response for GET /patients/{patient_id}/record. Consolidated raw-FHIR health-record envelope.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `patient_id` | `string` | Yes |  |  |  | No | Echoes the {patient_id} path parameter. |
| `resources` | `object` | Yes |  |  |  | No | Resources grouped by type (conditions, allergies, medications, procedures, immunizations, family_history, directives, encounters, vitals, questionnaire_responses, diagnostics, gyn_history, perinatal_history, intake_submissions). Gyn and perinatal history collections contain structured patient-reported FHIR Observations, also included in observations. Medications includes MedicationRequest and patient-reported MedicationStatement. intake_submissions lists this patient's raw intake submission records (same shape as the patient intake GET endpoint); it is also available individually from that endpoint by submission_id. Core record collections are raw FHIR resources; encounters, questionnaire responses, diagnostics, the vitals list, and intake_submissions are serialized service results. A resource type with a failed downstream fetch appears as an empty list, not an error. |
| `totals` | `object` | Yes |  |  |  | No | Count of records per resource type key in `resources`. |

## Example

None declared in canonical OpenAPI.
