Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4B
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4B - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_MedicationOrder_R4B_MedicationRequest

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-MedicationOrder-for-MedicationRequest Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R2_MedicationOrder_R4B_MedicationRequest

This cross-version profile allows DSTU2 MedicationOrder content to be represented via FHIR R4B MedicationRequest resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
Constraints: ext-1
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
Constraints: ext-1
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Constraints: ext-1
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error MedicationRequest.implicitRules, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication[x], MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: External identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.identifier
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... encounter
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 0..1 Reference(Resource) DSTU2: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... requester
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:prescriber 0..1 Reference(Resource) DSTU2: Who ordered the medication(s) additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.note
... dosageInstruction
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 string DSTU2: Dosage instructions expressed as text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.text
..... extension:additionalInstructions 0..1 CodeableConcept DSTU2: Supplemental instructions - e.g. "with meals" additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.additionalInstructions
..... extension:timing 0..1 Timing DSTU2: When medication should be administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.timing
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.asNeeded
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Body site to administer to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.site
..... extension:route 0..1 CodeableConcept DSTU2: How drug should enter body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.route
..... extension:method 0..1 CodeableConcept DSTU2: Technique for administering medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.method
..... extension:dose 0..1 Range, SimpleQuantity(4.3.0) DSTU2: Amount of medication per dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.dose
..... extension:rate 0..1 Ratio, Range DSTU2: Amount of medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.rate
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Upper limit on medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.maxDosePerPeriod
... dispenseRequest
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:medication 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R4B(0.1.0) | Medication) DSTU2: Product to be supplied (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.medication
.... validityPeriod
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:validityPeriod 0..1 Period DSTU2: validityPeriod additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.validityPeriod
... substitution
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:type 1..1 CodeableConcept DSTU2: generic | formulary + (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.substitution.type
Binding: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|2.0.0 (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
... priorPrescription
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:priorPrescription 0..1 Reference(Resource) DSTU2: An order/prescription that this supersedes additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
Constraints: ext-1
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
Constraints: ext-1
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier External ids for this request
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: External identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Constraints: ext-1
.... value 0..1 code Primitive value for code
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:encounter 0..1 Reference(Resource) DSTU2: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:prescriber 0..1 Reference(Resource) DSTU2: Who ordered the medication(s) additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Information about the prescription
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.note
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction 0..* Dosage How the medication should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 string DSTU2: Dosage instructions expressed as text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.text
Constraints: ext-1
..... extension:additionalInstructions 0..1 CodeableConcept DSTU2: Supplemental instructions - e.g. "with meals" additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.additionalInstructions
Constraints: ext-1
..... extension:timing 0..1 Timing DSTU2: When medication should be administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.timing
Constraints: ext-1
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.asNeeded
Constraints: ext-1
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Body site to administer to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.site
Constraints: ext-1
..... extension:route 0..1 CodeableConcept DSTU2: How drug should enter body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.route
Constraints: ext-1
..... extension:method 0..1 CodeableConcept DSTU2: Technique for administering medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.method
Constraints: ext-1
..... extension:dose 0..1 Range, SimpleQuantity(4.3.0) DSTU2: Amount of medication per dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.dose
Constraints: ext-1
..... extension:rate 0..1 Ratio, Range DSTU2: Amount of medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.rate
Constraints: ext-1
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Upper limit on medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.maxDosePerPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:medication 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R4B(0.1.0) | Medication) DSTU2: Product to be supplied (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.medication
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... quantity 0..1 SimpleQuantity(4.3.0) First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:validityPeriod 0..1 Period DSTU2: validityPeriod additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.validityPeriod
Constraints: ext-1
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity 0..1 SimpleQuantity(4.3.0) 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
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:type 1..1 CodeableConcept DSTU2: generic | formulary + (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.substitution.type
Binding: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|2.0.0 (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): SubstanceAdminSubstitutionReason
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:priorPrescription 0..1 Reference(Resource) DSTU2: An order/prescription that this supersedes additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Category Codes 📍4.3.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.encounter.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.3.0 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base example medicationRequest Course of Therapy Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1
MedicationRequest.priorPrescription.​type Base extensible ResourceType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning MedicationRequest.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationRequest.meta, MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.meta.versionId, MedicationRequest.meta.lastUpdated, MedicationRequest.meta.source, MedicationRequest.meta.profile, MedicationRequest.meta.security, MedicationRequest.meta.tag, MedicationRequest.implicitRules, MedicationRequest.language, MedicationRequest.text, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.text.status, MedicationRequest.text.div, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.identifier, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.identifier.use, MedicationRequest.identifier.type, MedicationRequest.identifier.system, MedicationRequest.identifier.value, MedicationRequest.identifier.period, MedicationRequest.identifier.assigner, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.statusReason, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.reported[x], MedicationRequest.medication[x], MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.encounter, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.encounter.reference, MedicationRequest.encounter.type, MedicationRequest.encounter.identifier, MedicationRequest.encounter.display, MedicationRequest.supportingInformation, MedicationRequest.authoredOn, MedicationRequest.requester, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.requester.reference, MedicationRequest.requester.type, MedicationRequest.requester.identifier, MedicationRequest.requester.display, MedicationRequest.performer, MedicationRequest.performerType, MedicationRequest.recorder, MedicationRequest.reasonCode, MedicationRequest.reasonReference, MedicationRequest.instantiatesCanonical, MedicationRequest.instantiatesUri, MedicationRequest.basedOn, MedicationRequest.groupIdentifier, MedicationRequest.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.dosageInstruction, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:text, MedicationRequest.dosageInstruction.extension:additionalInstructions, MedicationRequest.dosageInstruction.extension:timing, MedicationRequest.dosageInstruction.extension:asNeeded, MedicationRequest.dosageInstruction.extension:site, MedicationRequest.dosageInstruction.extension:route, MedicationRequest.dosageInstruction.extension:method, MedicationRequest.dosageInstruction.extension:dose, MedicationRequest.dosageInstruction.extension:rate, MedicationRequest.dosageInstruction.extension:maxDosePerPeriod, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.sequence, MedicationRequest.dosageInstruction.text, MedicationRequest.dosageInstruction.additionalInstruction, MedicationRequest.dosageInstruction.patientInstruction, MedicationRequest.dosageInstruction.timing, MedicationRequest.dosageInstruction.asNeeded[x], MedicationRequest.dosageInstruction.site, MedicationRequest.dosageInstruction.route, MedicationRequest.dosageInstruction.method, MedicationRequest.dosageInstruction.doseAndRate, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dosageInstruction.doseAndRate.type, MedicationRequest.dosageInstruction.doseAndRate.dose[x], MedicationRequest.dosageInstruction.doseAndRate.rate[x], MedicationRequest.dosageInstruction.maxDosePerPeriod, MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.extension:medication, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.start, MedicationRequest.dispenseRequest.validityPeriod.end, MedicationRequest.dispenseRequest.numberOfRepeatsAllowed, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration, MedicationRequest.dispenseRequest.performer, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.detectedIssue, MedicationRequest.eventHistory All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:text, MedicationRequest.dosageInstruction.extension:additionalInstructions, MedicationRequest.dosageInstruction.extension:timing, MedicationRequest.dosageInstruction.extension:asNeeded, MedicationRequest.dosageInstruction.extension:site, MedicationRequest.dosageInstruction.extension:route, MedicationRequest.dosageInstruction.extension:method, MedicationRequest.dosageInstruction.extension:dose, MedicationRequest.dosageInstruction.extension:rate, MedicationRequest.dosageInstruction.extension:maxDosePerPeriod, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.extension:medication, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error MedicationRequest.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error MedicationRequest.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from MedicationRequest

Summary

Mandatory: 0 element(2 nested mandatory elements)

Extensions

This structure refers to these extensions:

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
Constraints: ext-1
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
Constraints: ext-1
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Constraints: ext-1
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error MedicationRequest.implicitRules, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication[x], MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: External identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.identifier
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... encounter
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 0..1 Reference(Resource) DSTU2: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... requester
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:prescriber 0..1 Reference(Resource) DSTU2: Who ordered the medication(s) additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.note
... dosageInstruction
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 string DSTU2: Dosage instructions expressed as text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.text
..... extension:additionalInstructions 0..1 CodeableConcept DSTU2: Supplemental instructions - e.g. "with meals" additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.additionalInstructions
..... extension:timing 0..1 Timing DSTU2: When medication should be administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.timing
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.asNeeded
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Body site to administer to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.site
..... extension:route 0..1 CodeableConcept DSTU2: How drug should enter body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.route
..... extension:method 0..1 CodeableConcept DSTU2: Technique for administering medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.method
..... extension:dose 0..1 Range, SimpleQuantity(4.3.0) DSTU2: Amount of medication per dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.dose
..... extension:rate 0..1 Ratio, Range DSTU2: Amount of medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.rate
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Upper limit on medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.maxDosePerPeriod
... dispenseRequest
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:medication 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R4B(0.1.0) | Medication) DSTU2: Product to be supplied (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.medication
.... validityPeriod
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:validityPeriod 0..1 Period DSTU2: validityPeriod additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.validityPeriod
... substitution
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:type 1..1 CodeableConcept DSTU2: generic | formulary + (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.substitution.type
Binding: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|2.0.0 (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
... priorPrescription
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:priorPrescription 0..1 Reference(Resource) DSTU2: An order/prescription that this supersedes additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:dateEnded 0..1 dateTime DSTU2: When prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dateEnded
Constraints: ext-1
.... extension:reasonEnded 0..1 CodeableConcept DSTU2: Why prescription was stopped (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reasonEnded
Constraints: ext-1
.... extension:reason 0..1 Reference(Resource) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier External ids for this request
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: External identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:status 0..1 code DSTU2: active | on-hold | completed | entered-in-error | stopped | draft additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.status
Binding: medicationrequest Status (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Constraints: ext-1
.... value 0..1 code Primitive value for code
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: Who prescription is for additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:encounter 0..1 Reference(Resource) DSTU2: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:prescriber 0..1 Reference(Resource) DSTU2: Who ordered the medication(s) additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Information about the prescription
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.note
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction 0..* Dosage How the medication should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 string DSTU2: Dosage instructions expressed as text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.text
Constraints: ext-1
..... extension:additionalInstructions 0..1 CodeableConcept DSTU2: Supplemental instructions - e.g. "with meals" additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.additionalInstructions
Constraints: ext-1
..... extension:timing 0..1 Timing DSTU2: When medication should be administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.timing
Constraints: ext-1
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.asNeeded
Constraints: ext-1
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Body site to administer to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.site
Constraints: ext-1
..... extension:route 0..1 CodeableConcept DSTU2: How drug should enter body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.route
Constraints: ext-1
..... extension:method 0..1 CodeableConcept DSTU2: Technique for administering medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.method
Constraints: ext-1
..... extension:dose 0..1 Range, SimpleQuantity(4.3.0) DSTU2: Amount of medication per dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.dose
Constraints: ext-1
..... extension:rate 0..1 Ratio, Range DSTU2: Amount of medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.rate
Constraints: ext-1
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Upper limit on medication per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dosageInstruction.maxDosePerPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:medication 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R4B(0.1.0) | Medication) DSTU2: Product to be supplied (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.medication
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... quantity 0..1 SimpleQuantity(4.3.0) First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:validityPeriod 0..1 Period DSTU2: validityPeriod additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.dispenseRequest.validityPeriod
Constraints: ext-1
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity 0..1 SimpleQuantity(4.3.0) 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
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:type 1..1 CodeableConcept DSTU2: generic | formulary + (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.substitution.type
Binding: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|2.0.0 (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): SubstanceAdminSubstitutionReason
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:priorPrescription 0..1 Reference(Resource) DSTU2: An order/prescription that this supersedes additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Category Codes 📍4.3.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.encounter.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.3.0 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base example medicationRequest Course of Therapy Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1
MedicationRequest.priorPrescription.​type Base extensible ResourceType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning MedicationRequest.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationRequest.meta, MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.meta.versionId, MedicationRequest.meta.lastUpdated, MedicationRequest.meta.source, MedicationRequest.meta.profile, MedicationRequest.meta.security, MedicationRequest.meta.tag, MedicationRequest.implicitRules, MedicationRequest.language, MedicationRequest.text, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.text.status, MedicationRequest.text.div, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.identifier, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.identifier.use, MedicationRequest.identifier.type, MedicationRequest.identifier.system, MedicationRequest.identifier.value, MedicationRequest.identifier.period, MedicationRequest.identifier.assigner, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.statusReason, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.reported[x], MedicationRequest.medication[x], MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.encounter, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.encounter.reference, MedicationRequest.encounter.type, MedicationRequest.encounter.identifier, MedicationRequest.encounter.display, MedicationRequest.supportingInformation, MedicationRequest.authoredOn, MedicationRequest.requester, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.requester.reference, MedicationRequest.requester.type, MedicationRequest.requester.identifier, MedicationRequest.requester.display, MedicationRequest.performer, MedicationRequest.performerType, MedicationRequest.recorder, MedicationRequest.reasonCode, MedicationRequest.reasonReference, MedicationRequest.instantiatesCanonical, MedicationRequest.instantiatesUri, MedicationRequest.basedOn, MedicationRequest.groupIdentifier, MedicationRequest.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.dosageInstruction, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:text, MedicationRequest.dosageInstruction.extension:additionalInstructions, MedicationRequest.dosageInstruction.extension:timing, MedicationRequest.dosageInstruction.extension:asNeeded, MedicationRequest.dosageInstruction.extension:site, MedicationRequest.dosageInstruction.extension:route, MedicationRequest.dosageInstruction.extension:method, MedicationRequest.dosageInstruction.extension:dose, MedicationRequest.dosageInstruction.extension:rate, MedicationRequest.dosageInstruction.extension:maxDosePerPeriod, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.sequence, MedicationRequest.dosageInstruction.text, MedicationRequest.dosageInstruction.additionalInstruction, MedicationRequest.dosageInstruction.patientInstruction, MedicationRequest.dosageInstruction.timing, MedicationRequest.dosageInstruction.asNeeded[x], MedicationRequest.dosageInstruction.site, MedicationRequest.dosageInstruction.route, MedicationRequest.dosageInstruction.method, MedicationRequest.dosageInstruction.doseAndRate, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dosageInstruction.doseAndRate.type, MedicationRequest.dosageInstruction.doseAndRate.dose[x], MedicationRequest.dosageInstruction.doseAndRate.rate[x], MedicationRequest.dosageInstruction.maxDosePerPeriod, MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.extension:medication, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.start, MedicationRequest.dispenseRequest.validityPeriod.end, MedicationRequest.dispenseRequest.numberOfRepeatsAllowed, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration, MedicationRequest.dispenseRequest.performer, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.detectedIssue, MedicationRequest.eventHistory All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.extension, MedicationRequest.extension:dateEnded, MedicationRequest.extension:reasonEnded, MedicationRequest.extension:reason, MedicationRequest.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:text, MedicationRequest.dosageInstruction.extension:additionalInstructions, MedicationRequest.dosageInstruction.extension:timing, MedicationRequest.dosageInstruction.extension:asNeeded, MedicationRequest.dosageInstruction.extension:site, MedicationRequest.dosageInstruction.extension:route, MedicationRequest.dosageInstruction.extension:method, MedicationRequest.dosageInstruction.extension:dose, MedicationRequest.dosageInstruction.extension:rate, MedicationRequest.dosageInstruction.extension:maxDosePerPeriod, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.extension:medication, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error MedicationRequest.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error MedicationRequest.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from MedicationRequest

Summary

Mandatory: 0 element(2 nested mandatory elements)

Extensions

This structure refers to these extensions:

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron