---
title: "Update medical record (merge)"
method: PATCH
path: "/v1/patients/{id}/record"
tags: ["Patients"]
---

# Update medical record (merge)

`PATCH /v1/patients/{id}/record`

Requires the `patients:write` scope.

## Path parameters

- `id` integer, required

## Request body

- object
  - `allergies` object[]
    - `name` string
    - `reaction` string
  - `underlying_conditions` object[]
    - `name` string
    - `since` string
  - `panel` integer, nullable — Panel id, or null to clear. PATCH merges, PUT replaces.

## Response `200`

Updated

## Other responses

- `401` — Missing or invalid API key
- `402` — Monthly quota exceeded
- `403` — Insufficient scope, inactive subscription, or the clinic hasn't authorized API access
- `429` — Rate limit exceeded — see Retry-After header
- `502` — Upstream unavailable

---

[API](https://skmtc.dev/yezza/apis/yezza-clinic-api-external-access.md) · [All operations](https://skmtc.dev/yezza/apis/yezza-clinic-api-external-access/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yezza/yezza-clinic-api-external-access/revisions/fb0639413542/schema)
