This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Pharmacy Work Group | Maturity Level: 1 | Compartments: Encounter, Patient, Practitioner |
An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings as well as for care plans, etc and to harmonize with workflow patterns.
This resource covers all orders for medications for a patient. This includes in-patient medication orders as well as community orders (whether filled by the prescriber or by a pharmacy). It also includes orders for over-the-counter medications (e.g. Aspirin), total parenteral nutrition and diet/ vitamin supplements. It may be used to support the order of medication-related devices. It is not intended for use in prescribing particular diets, or for ordering non-medication-related items (eye-glasses, supplies, etc.).
The MedicationRequest resource is a "request" resource from a FHIR workflow perspective - see Workflow Request.
The MedicationRequest resource allows requesting only a single medication. If a workflow requires requesting multiple items simultaneously, this is done using multiple instances of this resource. These instances can be linked in different ways, depending on the needs of the workflow. For guidance, refer to the Request pattern
The Medication domain includes a number of related resources
MedicationRequest | An order for both supply of the medication and the instructions for administration of the medicine to a patient. |
MedicationDispense | Provision of a supply of a medication with the intention that it is subsequently consumed by a patient (usually in response to a prescription). |
MedicationAdministration | When a patient actually consumes a medicine, or it is otherwise administered to them |
MedicationStatement | This is a record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient, or another clinician. A medication statement is not a part of the prescribe->dispense->administer sequence but is a report that such a sequence (or at least a part of it) did take place resulting in a belief that the patient has received a particular medication. |
This resource is referenced by CarePlan, Claim, ClinicalImpression, ExplanationOfBenefit, MedicationAdministration and MedicationDispense
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | DomainResource | Prescription of medication to for patient | ||
identifier | 0..* | Identifier | External identifier | |
definition | Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | DiagnosticRequest | MedicationRequest | ProcedureRequest | ReferralRequest) | What request fulfills |
requisition | Σ | 0..1 | Identifier | Identifier of composite |
status | ?!Σ | 0..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft MedicationRequestStatus (Required) |
stage | ?!Σ | 1..1 | CodeableConcept | proposal | plan | original-order MedicationRequestStage (Example) |
medication[x] | Σ | 1..1 | Medication to be taken SNOMED CT Medication Codes (Example) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(Medication) | |||
patient | Σ | 1..1 | Reference(Patient) | Who prescription is for |
context | 0..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |
supportingInformation | 0..* | Reference(Any) | Information to support ordering of the medication | |
dateWritten | Σ | 0..1 | dateTime | When prescription was initially authorized |
requester | Σ | 0..1 | Reference(Practitioner | Organization | Patient | RelatedPerson | Device) | Who ordered the initial medication(s) |
reasonCode | 0..* | CodeableConcept | Reason or indication for writing the prescription Condition/Problem/Diagnosis Codes (Example) | |
reasonReference | 0..* | Reference(Condition | Observation) | Condition or Observation that supports why the prescription is being written | |
note | 0..* | Annotation | Information about the prescription | |
category | 0..1 | CodeableConcept | Type of medication usage MedicationRequestCategory (Example) | |
dosageInstruction | 0..* | DosageInstruction | How the medication should be taken | |
dispenseRequest | 0..1 | BackboneElement | Medication supply authorization | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |
allowed | ?! | 1..1 | boolean | Whether substitution is allowed or not |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made SubstanceAdminSubstitutionReason (Example) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | An order/prescription that this supersedes | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
UML Diagram (Legend)
XML Template
<MedicationRequest xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier External identifier --></identifier> <definition><!-- 0..* Reference(ActivityDefinition|PlanDefinition) Protocol or definition --></definition> <basedOn><!-- 0..* Reference(CarePlan|DiagnosticRequest|MedicationRequest| ProcedureRequest|ReferralRequest) What request fulfills --></basedOn> <requisition><!-- 0..1 Identifier Identifier of composite --></requisition> <status value="[code]"/><!-- 0..1 active | on-hold | cancelled | completed | entered-in-error | stopped | draft --> <stage><!-- 1..1 CodeableConcept proposal | plan | original-order --></stage> <medication[x]><!-- 1..1 CodeableConcept|Reference(Medication) Medication to be taken --></medication[x]> <patient><!-- 1..1 Reference(Patient) Who prescription is for --></patient> <context><!-- 0..1 Reference(Encounter|EpisodeOfCare) Created during encounter/admission/stay --></context> <supportingInformation><!-- 0..* Reference(Any) Information to support ordering of the medication --></supportingInformation> <dateWritten value="[dateTime]"/><!-- 0..1 When prescription was initially authorized --> <requester><!-- 0..1 Reference(Practitioner|Organization|Patient|RelatedPerson| Device) Who ordered the initial medication(s) --></requester> <reasonCode><!-- 0..* CodeableConcept Reason or indication for writing the prescription --></reasonCode> <reasonReference><!-- 0..* Reference(Condition|Observation) Condition or Observation that supports why the prescription is being written --></reasonReference> <note><!-- 0..* Annotation Information about the prescription --></note> <category><!-- 0..1 CodeableConcept Type of medication usage --></category> <dosageInstruction><!-- 0..* DosageInstruction How the medication should be taken --></dosageInstruction> <dispenseRequest> <!-- 0..1 Medication supply authorization --> <validityPeriod><!-- 0..1 Period Time period supply is authorized for --></validityPeriod> <numberOfRepeatsAllowed value="[positiveInt]"/><!-- 0..1 Number of refills authorized --> <quantity><!-- 0..1 Quantity(SimpleQuantity) Amount of medication to supply per dispense --></quantity> <expectedSupplyDuration><!-- 0..1 Duration Number of days supply per dispense --></expectedSupplyDuration> <performer><!-- 0..1 Reference(Organization) Intended dispenser --></performer> </dispenseRequest> <substitution> <!-- 0..1 Any restrictions on medication substitution --> <allowed value="[boolean]"/><!-- 1..1 Whether substitution is allowed or not --> <reason><!-- 0..1 CodeableConcept Why should (not) substitution be made --></reason> </substitution> <priorPrescription><!-- 0..1 Reference(MedicationRequest) An order/prescription that this supersedes --></priorPrescription> <eventHistory><!-- 0..* Reference(Provenance) A list of events of interest in the lifecycle --></eventHistory> </MedicationRequest>
JSON Template
{ "resourceType" : "MedicationRequest", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // External identifier "definition" : [{ Reference(ActivityDefinition|PlanDefinition) }], // Protocol or definition "basedOn" : [{ Reference(CarePlan|DiagnosticRequest|MedicationRequest| ProcedureRequest|ReferralRequest) }], // What request fulfills "requisition" : { Identifier }, // Identifier of composite "status" : "<code>", // active | on-hold | cancelled | completed | entered-in-error | stopped | draft "stage" : { CodeableConcept }, // R! proposal | plan | original-order // medication[x]: Medication to be taken. One of these 2: "medicationCodeableConcept" : { CodeableConcept }, "medicationReference" : { Reference(Medication) }, "patient" : { Reference(Patient) }, // R! Who prescription is for "context" : { Reference(Encounter|EpisodeOfCare) }, // Created during encounter/admission/stay "supportingInformation" : [{ Reference(Any) }], // Information to support ordering of the medication "dateWritten" : "<dateTime>", // When prescription was initially authorized "requester" : { Reference(Practitioner|Organization|Patient|RelatedPerson| Device) }, // Who ordered the initial medication(s) "reasonCode" : [{ CodeableConcept }], // Reason or indication for writing the prescription "reasonReference" : [{ Reference(Condition|Observation) }], // Condition or Observation that supports why the prescription is being written "note" : [{ Annotation }], // Information about the prescription "category" : { CodeableConcept }, // Type of medication usage "dosageInstruction" : [{ DosageInstruction }], // How the medication should be taken "dispenseRequest" : { // Medication supply authorization "validityPeriod" : { Period }, // Time period supply is authorized for "numberOfRepeatsAllowed" : "<positiveInt>", // Number of refills authorized "quantity" : { Quantity(SimpleQuantity) }, // Amount of medication to supply per dispense "expectedSupplyDuration" : { Duration }, // Number of days supply per dispense "performer" : { Reference(Organization) } // Intended dispenser }, "substitution" : { // Any restrictions on medication substitution "allowed" : <boolean>, // R! Whether substitution is allowed or not "reason" : { CodeableConcept } // Why should (not) substitution be made }, "priorPrescription" : { Reference(MedicationRequest) }, // An order/prescription that this supersedes "eventHistory" : [{ Reference(Provenance) }] // A list of events of interest in the lifecycle }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:MedicationRequest; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:MedicationRequest.identifier [ Identifier ], ... ; # 0..* External identifier fhir:MedicationRequest.definition [ Reference(ActivityDefinition|PlanDefinition) ], ... ; # 0..* Protocol or definition fhir:MedicationRequest.basedOn [ Reference(CarePlan|DiagnosticRequest|MedicationRequest|ProcedureRequest|ReferralRequest) ], ... ; # 0..* What request fulfills fhir:MedicationRequest.requisition [ Identifier ]; # 0..1 Identifier of composite fhir:MedicationRequest.status [ code ]; # 0..1 active | on-hold | cancelled | completed | entered-in-error | stopped | draft fhir:MedicationRequest.stage [ CodeableConcept ]; # 1..1 proposal | plan | original-order # MedicationRequest.medication[x] : 1..1 Medication to be taken. One of these 2 fhir:MedicationRequest.medicationCodeableConcept [ CodeableConcept ] fhir:MedicationRequest.medicationReference [ Reference(Medication) ] fhir:MedicationRequest.patient [ Reference(Patient) ]; # 1..1 Who prescription is for fhir:MedicationRequest.context [ Reference(Encounter|EpisodeOfCare) ]; # 0..1 Created during encounter/admission/stay fhir:MedicationRequest.supportingInformation [ Reference(Any) ], ... ; # 0..* Information to support ordering of the medication fhir:MedicationRequest.dateWritten [ dateTime ]; # 0..1 When prescription was initially authorized fhir:MedicationRequest.requester [ Reference(Practitioner|Organization|Patient|RelatedPerson|Device) ]; # 0..1 Who ordered the initial medication(s) fhir:MedicationRequest.reasonCode [ CodeableConcept ], ... ; # 0..* Reason or indication for writing the prescription fhir:MedicationRequest.reasonReference [ Reference(Condition|Observation) ], ... ; # 0..* Condition or Observation that supports why the prescription is being written fhir:MedicationRequest.note [ Annotation ], ... ; # 0..* Information about the prescription fhir:MedicationRequest.category [ CodeableConcept ]; # 0..1 Type of medication usage fhir:MedicationRequest.dosageInstruction [ DosageInstruction ], ... ; # 0..* How the medication should be taken fhir:MedicationRequest.dispenseRequest [ # 0..1 Medication supply authorization fhir:MedicationRequest.dispenseRequest.validityPeriod [ Period ]; # 0..1 Time period supply is authorized for fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ positiveInt ]; # 0..1 Number of refills authorized fhir:MedicationRequest.dispenseRequest.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Amount of medication to supply per dispense fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [ Duration ]; # 0..1 Number of days supply per dispense fhir:MedicationRequest.dispenseRequest.performer [ Reference(Organization) ]; # 0..1 Intended dispenser ]; fhir:MedicationRequest.substitution [ # 0..1 Any restrictions on medication substitution fhir:MedicationRequest.substitution.allowed [ boolean ]; # 1..1 Whether substitution is allowed or not fhir:MedicationRequest.substitution.reason [ CodeableConcept ]; # 0..1 Why should (not) substitution be made ]; fhir:MedicationRequest.priorPrescription [ Reference(MedicationRequest) ]; # 0..1 An order/prescription that this supersedes fhir:MedicationRequest.eventHistory [ Reference(Provenance) ], ... ; # 0..* A list of events of interest in the lifecycle ]
Changes since DSTU2
MedicationRequest | Name Changed from MedicationOrder to MedicationRequest |
MedicationRequest.definition | added Element |
MedicationRequest.basedOn | added Element |
MedicationRequest.requisition | added Element |
MedicationRequest.status | Change value set from http://hl7.org/fhir/ValueSet/medication-order-status to http://hl7.org/fhir/ValueSet/medication-request-status |
MedicationRequest.stage | added Element |
MedicationRequest.patient | Min Cardinality changed from 0 to 1 |
MedicationRequest.context | added Element |
MedicationRequest.supportingInformation | added Element |
MedicationRequest.requester | added Element |
MedicationRequest.reasonCode | added Element |
MedicationRequest.reasonReference | added Element |
MedicationRequest.note |
Max Cardinality changed from 1 to * Type changed from string to Annotation |
MedicationRequest.category | added Element |
MedicationRequest.dosageInstruction | Type changed from BackboneElement to DosageInstruction |
MedicationRequest.dispenseRequest.expectedSupplyDuration | Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Duration} to Duration |
MedicationRequest.dispenseRequest.performer | added Element |
MedicationRequest.substitution.allowed | added Element |
MedicationRequest.priorPrescription | Type changed from Reference(MedicationOrder) to Reference(MedicationRequest) |
MedicationRequest.eventHistory | added Element |
MedicationOrder.dateEnded | deleted |
MedicationOrder.reasonEnded | deleted |
MedicationOrder.prescriber | deleted |
MedicationOrder.encounter | deleted |
MedicationOrder.reason[x] | deleted |
MedicationOrder.dosageInstruction.text | deleted |
MedicationOrder.dosageInstruction.additionalInstructions | deleted |
MedicationOrder.dosageInstruction.timing | deleted |
MedicationOrder.dosageInstruction.asNeeded[x] | deleted |
MedicationOrder.dosageInstruction.site[x] | deleted |
MedicationOrder.dosageInstruction.route | deleted |
MedicationOrder.dosageInstruction.method | deleted |
MedicationOrder.dosageInstruction.dose[x] | deleted |
MedicationOrder.dosageInstruction.rate[x] | deleted |
MedicationOrder.dosageInstruction.maxDosePerPeriod | deleted |
MedicationOrder.dispenseRequest.medication[x] | deleted |
MedicationOrder.substitution.type | deleted |
See the Full Difference for further information
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | DomainResource | Prescription of medication to for patient | ||
identifier | 0..* | Identifier | External identifier | |
definition | Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | DiagnosticRequest | MedicationRequest | ProcedureRequest | ReferralRequest) | What request fulfills |
requisition | Σ | 0..1 | Identifier | Identifier of composite |
status | ?!Σ | 0..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft MedicationRequestStatus (Required) |
stage | ?!Σ | 1..1 | CodeableConcept | proposal | plan | original-order MedicationRequestStage (Example) |
medication[x] | Σ | 1..1 | Medication to be taken SNOMED CT Medication Codes (Example) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(Medication) | |||
patient | Σ | 1..1 | Reference(Patient) | Who prescription is for |
context | 0..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |
supportingInformation | 0..* | Reference(Any) | Information to support ordering of the medication | |
dateWritten | Σ | 0..1 | dateTime | When prescription was initially authorized |
requester | Σ | 0..1 | Reference(Practitioner | Organization | Patient | RelatedPerson | Device) | Who ordered the initial medication(s) |
reasonCode | 0..* | CodeableConcept | Reason or indication for writing the prescription Condition/Problem/Diagnosis Codes (Example) | |
reasonReference | 0..* | Reference(Condition | Observation) | Condition or Observation that supports why the prescription is being written | |
note | 0..* | Annotation | Information about the prescription | |
category | 0..1 | CodeableConcept | Type of medication usage MedicationRequestCategory (Example) | |
dosageInstruction | 0..* | DosageInstruction | How the medication should be taken | |
dispenseRequest | 0..1 | BackboneElement | Medication supply authorization | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |
allowed | ?! | 1..1 | boolean | Whether substitution is allowed or not |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made SubstanceAdminSubstitutionReason (Example) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | An order/prescription that this supersedes | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
XML Template
<MedicationRequest xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier External identifier --></identifier> <definition><!-- 0..* Reference(ActivityDefinition|PlanDefinition) Protocol or definition --></definition> <basedOn><!-- 0..* Reference(CarePlan|DiagnosticRequest|MedicationRequest| ProcedureRequest|ReferralRequest) What request fulfills --></basedOn> <requisition><!-- 0..1 Identifier Identifier of composite --></requisition> <status value="[code]"/><!-- 0..1 active | on-hold | cancelled | completed | entered-in-error | stopped | draft --> <stage><!-- 1..1 CodeableConcept proposal | plan | original-order --></stage> <medication[x]><!-- 1..1 CodeableConcept|Reference(Medication) Medication to be taken --></medication[x]> <patient><!-- 1..1 Reference(Patient) Who prescription is for --></patient> <context><!-- 0..1 Reference(Encounter|EpisodeOfCare) Created during encounter/admission/stay --></context> <supportingInformation><!-- 0..* Reference(Any) Information to support ordering of the medication --></supportingInformation> <dateWritten value="[dateTime]"/><!-- 0..1 When prescription was initially authorized --> <requester><!-- 0..1 Reference(Practitioner|Organization|Patient|RelatedPerson| Device) Who ordered the initial medication(s) --></requester> <reasonCode><!-- 0..* CodeableConcept Reason or indication for writing the prescription --></reasonCode> <reasonReference><!-- 0..* Reference(Condition|Observation) Condition or Observation that supports why the prescription is being written --></reasonReference> <note><!-- 0..* Annotation Information about the prescription --></note> <category><!-- 0..1 CodeableConcept Type of medication usage --></category> <dosageInstruction><!-- 0..* DosageInstruction How the medication should be taken --></dosageInstruction> <dispenseRequest> <!-- 0..1 Medication supply authorization --> <validityPeriod><!-- 0..1 Period Time period supply is authorized for --></validityPeriod> <numberOfRepeatsAllowed value="[positiveInt]"/><!-- 0..1 Number of refills authorized --> <quantity><!-- 0..1 Quantity(SimpleQuantity) Amount of medication to supply per dispense --></quantity> <expectedSupplyDuration><!-- 0..1 Duration Number of days supply per dispense --></expectedSupplyDuration> <performer><!-- 0..1 Reference(Organization) Intended dispenser --></performer> </dispenseRequest> <substitution> <!-- 0..1 Any restrictions on medication substitution --> <allowed value="[boolean]"/><!-- 1..1 Whether substitution is allowed or not --> <reason><!-- 0..1 CodeableConcept Why should (not) substitution be made --></reason> </substitution> <priorPrescription><!-- 0..1 Reference(MedicationRequest) An order/prescription that this supersedes --></priorPrescription> <eventHistory><!-- 0..* Reference(Provenance) A list of events of interest in the lifecycle --></eventHistory> </MedicationRequest>
JSON Template
{ "resourceType" : "MedicationRequest", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // External identifier "definition" : [{ Reference(ActivityDefinition|PlanDefinition) }], // Protocol or definition "basedOn" : [{ Reference(CarePlan|DiagnosticRequest|MedicationRequest| ProcedureRequest|ReferralRequest) }], // What request fulfills "requisition" : { Identifier }, // Identifier of composite "status" : "<code>", // active | on-hold | cancelled | completed | entered-in-error | stopped | draft "stage" : { CodeableConcept }, // R! proposal | plan | original-order // medication[x]: Medication to be taken. One of these 2: "medicationCodeableConcept" : { CodeableConcept }, "medicationReference" : { Reference(Medication) }, "patient" : { Reference(Patient) }, // R! Who prescription is for "context" : { Reference(Encounter|EpisodeOfCare) }, // Created during encounter/admission/stay "supportingInformation" : [{ Reference(Any) }], // Information to support ordering of the medication "dateWritten" : "<dateTime>", // When prescription was initially authorized "requester" : { Reference(Practitioner|Organization|Patient|RelatedPerson| Device) }, // Who ordered the initial medication(s) "reasonCode" : [{ CodeableConcept }], // Reason or indication for writing the prescription "reasonReference" : [{ Reference(Condition|Observation) }], // Condition or Observation that supports why the prescription is being written "note" : [{ Annotation }], // Information about the prescription "category" : { CodeableConcept }, // Type of medication usage "dosageInstruction" : [{ DosageInstruction }], // How the medication should be taken "dispenseRequest" : { // Medication supply authorization "validityPeriod" : { Period }, // Time period supply is authorized for "numberOfRepeatsAllowed" : "<positiveInt>", // Number of refills authorized "quantity" : { Quantity(SimpleQuantity) }, // Amount of medication to supply per dispense "expectedSupplyDuration" : { Duration }, // Number of days supply per dispense "performer" : { Reference(Organization) } // Intended dispenser }, "substitution" : { // Any restrictions on medication substitution "allowed" : <boolean>, // R! Whether substitution is allowed or not "reason" : { CodeableConcept } // Why should (not) substitution be made }, "priorPrescription" : { Reference(MedicationRequest) }, // An order/prescription that this supersedes "eventHistory" : [{ Reference(Provenance) }] // A list of events of interest in the lifecycle }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:MedicationRequest; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:MedicationRequest.identifier [ Identifier ], ... ; # 0..* External identifier fhir:MedicationRequest.definition [ Reference(ActivityDefinition|PlanDefinition) ], ... ; # 0..* Protocol or definition fhir:MedicationRequest.basedOn [ Reference(CarePlan|DiagnosticRequest|MedicationRequest|ProcedureRequest|ReferralRequest) ], ... ; # 0..* What request fulfills fhir:MedicationRequest.requisition [ Identifier ]; # 0..1 Identifier of composite fhir:MedicationRequest.status [ code ]; # 0..1 active | on-hold | cancelled | completed | entered-in-error | stopped | draft fhir:MedicationRequest.stage [ CodeableConcept ]; # 1..1 proposal | plan | original-order # MedicationRequest.medication[x] : 1..1 Medication to be taken. One of these 2 fhir:MedicationRequest.medicationCodeableConcept [ CodeableConcept ] fhir:MedicationRequest.medicationReference [ Reference(Medication) ] fhir:MedicationRequest.patient [ Reference(Patient) ]; # 1..1 Who prescription is for fhir:MedicationRequest.context [ Reference(Encounter|EpisodeOfCare) ]; # 0..1 Created during encounter/admission/stay fhir:MedicationRequest.supportingInformation [ Reference(Any) ], ... ; # 0..* Information to support ordering of the medication fhir:MedicationRequest.dateWritten [ dateTime ]; # 0..1 When prescription was initially authorized fhir:MedicationRequest.requester [ Reference(Practitioner|Organization|Patient|RelatedPerson|Device) ]; # 0..1 Who ordered the initial medication(s) fhir:MedicationRequest.reasonCode [ CodeableConcept ], ... ; # 0..* Reason or indication for writing the prescription fhir:MedicationRequest.reasonReference [ Reference(Condition|Observation) ], ... ; # 0..* Condition or Observation that supports why the prescription is being written fhir:MedicationRequest.note [ Annotation ], ... ; # 0..* Information about the prescription fhir:MedicationRequest.category [ CodeableConcept ]; # 0..1 Type of medication usage fhir:MedicationRequest.dosageInstruction [ DosageInstruction ], ... ; # 0..* How the medication should be taken fhir:MedicationRequest.dispenseRequest [ # 0..1 Medication supply authorization fhir:MedicationRequest.dispenseRequest.validityPeriod [ Period ]; # 0..1 Time period supply is authorized for fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ positiveInt ]; # 0..1 Number of refills authorized fhir:MedicationRequest.dispenseRequest.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Amount of medication to supply per dispense fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [ Duration ]; # 0..1 Number of days supply per dispense fhir:MedicationRequest.dispenseRequest.performer [ Reference(Organization) ]; # 0..1 Intended dispenser ]; fhir:MedicationRequest.substitution [ # 0..1 Any restrictions on medication substitution fhir:MedicationRequest.substitution.allowed [ boolean ]; # 1..1 Whether substitution is allowed or not fhir:MedicationRequest.substitution.reason [ CodeableConcept ]; # 0..1 Why should (not) substitution be made ]; fhir:MedicationRequest.priorPrescription [ Reference(MedicationRequest) ]; # 0..1 An order/prescription that this supersedes fhir:MedicationRequest.eventHistory [ Reference(Provenance) ], ... ; # 0..* A list of events of interest in the lifecycle ]
Changes since DSTU2
MedicationRequest | Name Changed from MedicationOrder to MedicationRequest |
MedicationRequest.definition | added Element |
MedicationRequest.basedOn | added Element |
MedicationRequest.requisition | added Element |
MedicationRequest.status | Change value set from http://hl7.org/fhir/ValueSet/medication-order-status to http://hl7.org/fhir/ValueSet/medication-request-status |
MedicationRequest.stage | added Element |
MedicationRequest.patient | Min Cardinality changed from 0 to 1 |
MedicationRequest.context | added Element |
MedicationRequest.supportingInformation | added Element |
MedicationRequest.requester | added Element |
MedicationRequest.reasonCode | added Element |
MedicationRequest.reasonReference | added Element |
MedicationRequest.note |
Max Cardinality changed from 1 to * Type changed from string to Annotation |
MedicationRequest.category | added Element |
MedicationRequest.dosageInstruction | Type changed from BackboneElement to DosageInstruction |
MedicationRequest.dispenseRequest.expectedSupplyDuration | Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Duration} to Duration |
MedicationRequest.dispenseRequest.performer | added Element |
MedicationRequest.substitution.allowed | added Element |
MedicationRequest.priorPrescription | Type changed from Reference(MedicationOrder) to Reference(MedicationRequest) |
MedicationRequest.eventHistory | added Element |
MedicationOrder.dateEnded | deleted |
MedicationOrder.reasonEnded | deleted |
MedicationOrder.prescriber | deleted |
MedicationOrder.encounter | deleted |
MedicationOrder.reason[x] | deleted |
MedicationOrder.dosageInstruction.text | deleted |
MedicationOrder.dosageInstruction.additionalInstructions | deleted |
MedicationOrder.dosageInstruction.timing | deleted |
MedicationOrder.dosageInstruction.asNeeded[x] | deleted |
MedicationOrder.dosageInstruction.site[x] | deleted |
MedicationOrder.dosageInstruction.route | deleted |
MedicationOrder.dosageInstruction.method | deleted |
MedicationOrder.dosageInstruction.dose[x] | deleted |
MedicationOrder.dosageInstruction.rate[x] | deleted |
MedicationOrder.dosageInstruction.maxDosePerPeriod | deleted |
MedicationOrder.dispenseRequest.medication[x] | deleted |
MedicationOrder.substitution.type | deleted |
See the Full Difference for further information
Alternate definitions: Master Definition (XML, JSON), XML Schema/Schematron (for ) + JSON Schema, ShEx (for Turtle), JSON-LD (for RDF as JSON-LD),
Path | Definition | Type | Reference |
---|---|---|---|
MedicationRequest.status | A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription | Required | MedicationRequestStatus |
MedicationRequest.stage | The kind of medication order | Example | MedicationRequestStage |
MedicationRequest.medication[x] | A coded concept identifying substance or product that can be ordered. | Example | SNOMED CT Medication Codes |
MedicationRequest.reasonCode | A coded concept indicating why the medication was ordered. | Example | Condition/Problem/Diagnosis Codes |
MedicationRequest.category | A coded concept identifying where the medication ordered is expected to be consumed or administered | Example | MedicationRequestCategory |
MedicationRequest.substitution.reason | A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. | Example | SubstanceAdminSubstitutionReason |
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
Name | Type | Description | Paths | In Common |
category | token | Returns prescriptions with different categories | MedicationRequest.category | |
code | token | Return prescriptions of this medication code | MedicationRequest.medicationCodeableConcept | 4 Resources |
context | reference | Return prescriptions with this encounter or episode of care identifier | MedicationRequest.context (EpisodeOfCare, Encounter) | |
datewritten | date | Return prescriptions written on this date | MedicationRequest.dateWritten | |
identifier | token | Return prescriptions with this external identifier | MedicationRequest.identifier | 3 Resources |
intended-dispenser | reference | Returns prescriptions intended to be dispensed by this Organization | MedicationRequest.dispenseRequest.performer (Organization) | |
medication | reference | Return prescriptions of this medication reference | MedicationRequest.medicationReference (Medication) | 3 Resources |
patient | reference | The identity of a patient to list orders for | MedicationRequest.patient (Patient) | 3 Resources |
requester | reference | Returns prescriptions prescribed by this prescriber | MedicationRequest.requester (Practitioner, Organization, Device, Patient, RelatedPerson) | |
status | token | Status of the prescription | MedicationRequest.status | 3 Resources |