---
title: medicationOrder
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkfhirresourcetype/medicationorder
---

# medicationOrder

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

## Declaration

```swift
static let medicationOrder: HKFHIRResourceType
```

## Mentioned in

Accessing Health Records

## Discussion

Discussion FHIR renamed the resource type for medication requests and orders. FHIR DSTU2 uses the medicationOrder resource type, while FHIR R4 uses the medicationRequest resource type.

## See Also

### Related Documentation

- [medicationRecord](healthkit/hkclinicaltypeidentifier/medicationrecord.md)

### Resource Types

- [allergyIntolerance](healthkit/hkfhirresourcetype/allergyintolerance.md)
- [condition](healthkit/hkfhirresourcetype/condition.md)
- [diagnosticReport](healthkit/hkfhirresourcetype/diagnosticreport.md)
- [documentReference](healthkit/hkfhirresourcetype/documentreference.md)
- [immunization](healthkit/hkfhirresourcetype/immunization.md)
- [medicationDispense](healthkit/hkfhirresourcetype/medicationdispense.md)
- [medicationStatement](healthkit/hkfhirresourcetype/medicationstatement.md)
- [medicationRequest](healthkit/hkfhirresourcetype/medicationrequest.md)
- [observation](healthkit/hkfhirresourcetype/observation.md)
- [procedure](healthkit/hkfhirresourcetype/procedure.md)
- [coverage](healthkit/hkfhirresourcetype/coverage.md)
