<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKFHIRResourceType/medicationOrder",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKFHIRResourceTypeMedicationOrder"
  },
  "title" : "medicationOrder"
}
-->

# medicationOrder

A type that identifies FHIR resources for prescriptions or other orders for medication.

```
static let medicationOrder: HKFHIRResourceType
```

## Discussion

FHIR renamed the resource type for medication requests and orders. FHIR DSTU2 uses the [`medicationOrder`](/documentation/HealthKit/HKFHIRResourceType/medicationOrder) resource type, while FHIR R4 uses the [`medicationRequest`](/documentation/HealthKit/HKFHIRResourceType/medicationRequest) resource type.

## See Also

[`static let medicationRecord: HKClinicalTypeIdentifier`](/documentation/HealthKit/HKClinicalTypeIdentifier/medicationRecord)

A type identifier for records of medication.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)