# GetMedicationResponse

Model ID: `GetMedicationResponse`

Response for GET /patients/medications/{med_id}. Same shape as `Medication`.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `authored_on` | `string|null` | No |  |  |  | Yes | Date the prescription was authored, when recorded. |
| `brand_name` | `string|null` | No |  |  |  | Yes | Brand name of the medication, when known. |
| `discontinued_reason` | `string|null` | No |  |  |  | Yes | Reason the medication was discontinued, when applicable. |
| `dosage` | [`patient.Dosage`](./patient.Dosage.md) | Yes |  |  |  | No | Dose, frequency, and instructions for the medication. |
| `encounter_id` | `string|null` | No |  |  |  | Yes | FHIR Encounter id during which the medication was ordered, when linked. |
| `end_date` | `string|null` | No |  |  |  | Yes | Date the medication therapy ends, when specified. |
| `fhir_id` | `string|null` | No |  |  |  | Yes | FHIR MedicationRequest/MedicationStatement resource id, when stored. |
| `generic_name` | `string|null` | No |  |  |  | Yes | Generic name of the medication, when known. |
| `indication` | `string|null` | No |  |  |  | Yes | Reason/indication for the medication, when recorded. |
| `intent` | [`MedicationIntent`](./MedicationIntent.md) | No |  |  | `"order"` | No | Request intent: proposal, plan, order, or original-order (required for MedicationRequest). |
| `medication_id` | `string` | No | uuid |  |  | No | HealthCloud medication identifier (UUID). |
| `name` | `string` | Yes |  |  |  | No | Generic or brand name |
| `ndc_code` | `string|null` | No |  |  |  | Yes | National Drug Code (NDC) for the medication, when available. |
| `notes` | `string|null` | No |  |  |  | Yes | Free-text notes about the medication, when present. |
| `pharmacy` | `string|null` | No |  |  |  | Yes | Dispensing pharmacy name or reference, when recorded. |
| `prescriber_id` | `string|null` | No |  |  |  | Yes | FHIR Practitioner id of the prescriber, when known. |
| `prescriber_name` | `string|null` | No |  |  |  | Yes | Display name of the prescriber, when known. |
| `problem_reference` | `string|null` | No |  |  |  | Yes | UUID of the Condition (problem) this medication treats, when linked. |
| `refills_authorized` | `integer|null` | No |  |  |  | Yes | Number of refills authorized on the prescription, when applicable. |
| `refills_remaining` | `integer|null` | No |  |  |  | Yes | Number of refills remaining, when tracked. |
| `resource_type` | [`MedicationResourceType`](./MedicationResourceType.md) | No |  |  | `"MedicationRequest"` | No | Which FHIR resource this maps to: MedicationStatement (historical use) or MedicationRequest (prescription/order). |
| `route` | [`MedicationRoute`](./MedicationRoute.md) | Yes |  |  |  | No | Administration route: oral, intravenous, intramuscular, topical, etc. |
| `rxnorm_code` | `string|null` | No |  |  |  | Yes | RxNorm code for the medication, when available. |
| `start_date` | `string|null` | No |  |  |  | Yes | Date the medication therapy starts, when specified. |
| `status` | [`MedicationStatus`](./MedicationStatus.md) | No |  |  | `"active"` | No | Medication status: active, on-hold, completed, stopped, or entered-in-error. |

## Example

None declared in canonical OpenAPI.
