# ScanUploadUrlRequest

Model ID: `GetScanUploadUrlRequest`

Request body for POST /patients/{patient_id}/diagnostics/scan-upload-url.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `content_type` | `string` | No |  |  | `"image/jpeg"` | No | MIME type of the scan image. Defaults to image/jpeg. |
| `encounter_id` | `string|null` | No |  |  |  | Yes | FHIR Encounter id this scan is associated with, optional. Stored on the pending Observation so the async SAFE CDX result ingestion can mirror the finished result to Athena (when the tenant/patient are Athena-linked) once CVML processing completes. |
| `filename` | `string` | No |  |  | `"scan.jpg"` | No | Filename of the uploaded scan. Defaults to scan.jpg. |
| `gtin` | `string|null` | No |  |  |  | Yes | GTIN of the test kit. Optional for the compatibility upload endpoint; the combined GS1 lookup flow supplies it automatically. |
| `test_id` | `string` | Yes | uuid |  |  | No | Health Cloud correlation UUID for the diagnostic scan. |

## Example

None declared in canonical OpenAPI.
