description: An order or request 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, including care plans, etc., and to harmonize with workflow patterns. package_name: hl7.fhir.core derivation: specialization name: MedicationRequest type: MedicationRequest elements: performerType: {short: Desired kind of performer of the medication administration, type: CodeableConcept, isSummary: true, index: 15} category: {short: Type of medication usage, type: CodeableConcept, array: true, index: 3} insurance: short: Associated insurance coverage refers: ['http://hl7.org/fhir/StructureDefinition/ClaimResponse', 'http://hl7.org/fhir/StructureDefinition/Coverage'] type: Reference array: true index: 23 eventHistory: short: A list of events of interest in the lifecycle refers: ['http://hl7.org/fhir/StructureDefinition/Provenance'] type: Reference array: true index: 37 substitution: type: BackboneElement short: Any restrictions on medication substitution index: 32 elements: allowed: {isModifier: true, short: Whether substitution is allowed or not, type: boolean, index: 33} reason: {short: Why should (not) substitution be made, type: CodeableConcept, index: 34} required: [allowed] instantiates: {short: Instantiates protocol or definition, type: uri, array: true, isSummary: true, index: 19} detectedIssue: short: Clinical Issue with action refers: ['http://hl7.org/fhir/StructureDefinition/DetectedIssue'] type: Reference array: true index: 36 dispenseRequest: type: BackboneElement short: Medication supply authorization index: 26 elements: validityPeriod: {short: Time period supply is authorized for, type: Period, index: 27} numberOfRepeatsAllowed: {short: Number of refills authorized, type: unsignedInt, index: 28} quantity: {type: Quantity, short: Amount of medication to supply per dispense, index: 29} expectedSupplyDuration: {short: Number of days supply per dispense, type: Duration, index: 30} performer: short: Intended dispenser refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] type: Reference index: 31 reasonCode: {short: Reason or indication for writing the prescription, type: CodeableConcept, array: true, index: 17} medicationCodeableConcept: {short: Medication to be taken, type: CodeableConcept, choiceOf: medication, isSummary: true, index: 7} statusReason: {short: Reason for current status, type: CodeableConcept, index: 22} authoredOn: {short: When request was initially authored, type: dateTime, isSummary: true, index: 12} note: {type: Annotation, short: Information about the prescription, array: true, index: 24} requester: short: Who/What requested the Request refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference isSummary: true index: 13 supportingInformation: short: Information to support ordering of the medication refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference array: true index: 11 priority: {short: routine | urgent | asap | stat, type: code, isSummary: true, index: 4} status: {isModifier: true, short: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown, type: code, isSummary: true, index: 1} dosageInstruction: {short: How the medication should be taken, type: Dosage, array: true, index: 25} groupIdentifier: {short: Composite request this is part of, type: Identifier, isSummary: true, index: 21} recorder: short: Person who entered the request refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] type: Reference index: 16 identifier: {type: Identifier, short: External ids for this request, array: true, index: 0} context: short: Created during encounter/admission/stay refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare'] type: Reference index: 10 intent: {isModifier: true, short: proposal | plan | order | instance-order | option, type: code, isSummary: true, index: 2} basedOn: short: What request fulfills refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest'] type: Reference array: true isSummary: true index: 20 priorPrescription: short: An order/prescription that is being replaced refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest'] type: Reference index: 35 medicationReference: short: Medication to be taken refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference choiceOf: medication isSummary: true index: 8 subject: short: Who or group medication request is for refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient'] type: Reference isSummary: true index: 9 performer: short: Intended performer of administration refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference index: 14 medication: short: Medication to be taken choices: [medicationCodeableConcept, medicationReference] isSummary: true index: 6 reasonReference: short: Condition or Observation that supports why the prescription is being written refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/Observation'] type: Reference array: true index: 18 package_version: 3.2.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/MedicationRequest base: http://hl7.org/fhir/StructureDefinition/DomainResource version: null required: [medicationCodeableConcept, subject, intent, medication, medicationReference]