# NotificationUpsertRequest

Model ID: `NotificationUpsertRequest`

HC transport shape for creating/updating a patient notification.

All fields are optional: a create may carry the full shape, while the
app's "mark read" sends only ``{read: true}`` via PUT. The service layer
merges partial updates over the existing FHIR Communication
(read-modify-write), so a partial body never wipes stored fields.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `createdAt` | `string|null` | No |  |  |  | Yes | ISO-8601 datetime; defaults to now on create. |
| `description` | `string|null` | No |  |  |  | Yes | Longer description/body of the notification. |
| `icon` | `string|null` | No |  |  |  | Yes | Icon identifier or URL for the notification. |
| `read` | `boolean|null` | No |  |  |  | Yes | Whether the patient has read the notification; set true to mark read. |
| `severity` | `string|null` | No |  |  |  | Yes | One of info/success/warning/urgent (case-insensitive). |
| `title` | `string|null` | No |  |  |  | Yes | Short title of the notification. |

## Example

None declared in canonical OpenAPI.
