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

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

Resource Profile: Profile_R2_MedicationOrder_R5_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_R5_MedicationRequest

This cross-version profile allows DSTU2 MedicationOrder content to be represented via FHIR R5 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(5.0.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... 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
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
.... 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: MedicationrequestStatus (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: MedicationRequestIntent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if patient is to stop taking or not to start taking the medication
... medication Σ 1..1 CodeableReference(Medication) Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:medication 1..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
Constraints: ext-1
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
.... 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

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required medicationrequest Status 📍5.0.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍5.0.0 FHIR Std.
MedicationRequest.medication Base example SNOMED CT Medication Codes 📍5.0.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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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.modifierExtension, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference 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.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, 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(5.0.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 Meta 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
.... 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
... 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
... 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: MedicationrequestStatus (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... medication
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:medication 0..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
... 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
... reason
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reason 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R5(0.1.0) | Condition) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reason
... 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 R5(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(5.0.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 R5(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.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(5.0.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 Meta 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: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... 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): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... 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
... 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): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... priorPrescription 0..1 Reference(MedicationRequest) Reference to an order/prescription that is being replaced by this MedicationRequest
.... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (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: MedicationrequestStatus (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: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status.
... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.
... category 0..* CodeableConcept Grouping or category of medication request
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.
... 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 patient is to stop taking or not to start taking the medication
... medication Σ 1..1 CodeableReference(Medication) Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... 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:medication 1..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
.... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... informationSource 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) The person or organization who provided the information about this request, if the source is someone other than the requestor
... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support fulfilling 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... reported Σ 0..1 boolean Reported rather than primary record
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication.
... performer 0..* Reference(Practitioner | PractitionerRole | Organization | Patient | DeviceDefinition | RelatedPerson | CareTeam | HealthcareService) Intended performer of administration
... device 0..* CodeableReference(DeviceDefinition) Intended type of device for the administration
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reason 0..* CodeableReference(Condition | Observation) Reason or indication for ordering or not ordering the medication
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... 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:reason 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R5(0.1.0) | Condition) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reason
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: MedicationRequestCourseOfTherapyCodes (extensible): 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 | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... effectiveDosePeriod 0..1 Period Period over which the medication is to be taken
... dosageInstruction 0..* Dosage Specific instructions for 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 R5(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(5.0.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): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be 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 (2.0.0) (example): The kind of dose or rate specified.
..... 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..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.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 R5(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(5.0.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(5.0.0) Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... dispenser 0..1 Reference(Organization) Intended performer of dispense
.... dispenserInstruction 0..* Annotation Additional information for the dispenser
.... doseAdministrationAid 0..1 CodeableConcept Type of adherence packaging to use for the dispense
Binding: MedicationDoseAids (example)
... 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) (preferred): 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
... 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 All Security Labels . 📍5.0.0 tx.fhir.org
MedicationRequest.meta.​tag Base example Common Tags 📍5.0.0 FHIR Std.
MedicationRequest.language Base required All Languages 📍5.0.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍5.0.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
MedicationRequest.priorPrescription.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.status Base required medicationrequest Status 📍5.0.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍5.0.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍5.0.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍5.0.0 FHIR Std.
MedicationRequest.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationRequest.subject.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.encounter.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.requester.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.performerType Base extensible Medication Intended Performer Role 📍5.0.0 FHIR Std.
MedicationRequest.reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base extensible medicationRequest Course of Therapy Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍2.0.0 THO v7.1
MedicationRequest.dispenseRequest.​doseAdministrationAid Base example Medication Dose Aids 📍5.0.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base preferred ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1

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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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.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.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.basedOn, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.groupIdentifier, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.statusReason, MedicationRequest.statusChanged, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.medication, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.medication.concept, MedicationRequest.medication.reference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.informationSource, 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.reported, MedicationRequest.performerType, MedicationRequest.performer, MedicationRequest.device, MedicationRequest.recorder, MedicationRequest.reason, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reason, MedicationRequest.reason.concept, MedicationRequest.reason.reference, MedicationRequest.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.renderedDosageInstruction, MedicationRequest.effectiveDosePeriod, 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, MedicationRequest.dosageInstruction.asNeededFor, 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.dispenser, MedicationRequest.dispenseRequest.dispenserInstruction, MedicationRequest.dispenseRequest.doseAdministrationAid, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, 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.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reason, 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 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(5.0.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... 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
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
.... 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: MedicationrequestStatus (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: MedicationRequestIntent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if patient is to stop taking or not to start taking the medication
... medication Σ 1..1 CodeableReference(Medication) Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:medication 1..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
Constraints: ext-1
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
.... 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

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required medicationrequest Status 📍5.0.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍5.0.0 FHIR Std.
MedicationRequest.medication Base example SNOMED CT Medication Codes 📍5.0.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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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.modifierExtension, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference 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.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, 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(5.0.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 Meta 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
.... 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
... 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
... 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: MedicationrequestStatus (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... medication
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:medication 0..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
... 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
... reason
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reason 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R5(0.1.0) | Condition) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reason
... 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 R5(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(5.0.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 R5(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.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(5.0.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 Meta 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: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... 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): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... 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
... 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): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... priorPrescription 0..1 Reference(MedicationRequest) Reference to an order/prescription that is being replaced by this MedicationRequest
.... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (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: MedicationrequestStatus (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: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status.
... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.
... category 0..* CodeableConcept Grouping or category of medication request
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.
... 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 patient is to stop taking or not to start taking the medication
... medication Σ 1..1 CodeableReference(Medication) Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... 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:medication 1..1 Reference(Cross-version Profile for DSTU2.Medication for use in FHIR R5(0.1.0) | Medication) DSTU2: medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.medication
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
.... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... informationSource 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) The person or organization who provided the information about this request, if the source is someone other than the requestor
... 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support fulfilling 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") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... reported Σ 0..1 boolean Reported rather than primary record
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication.
... performer 0..* Reference(Practitioner | PractitionerRole | Organization | Patient | DeviceDefinition | RelatedPerson | CareTeam | HealthcareService) Intended performer of administration
... device 0..* CodeableReference(DeviceDefinition) Intended type of device for the administration
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reason 0..* CodeableReference(Condition | Observation) Reason or indication for ordering or not ordering the medication
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... 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:reason 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R5(0.1.0) | Condition) DSTU2: Reason or indication for writing the prescription additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder.reason
Constraints: ext-1
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: MedicationRequestCourseOfTherapyCodes (extensible): 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 | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... effectiveDosePeriod 0..1 Period Period over which the medication is to be taken
... dosageInstruction 0..* Dosage Specific instructions for 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 R5(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(5.0.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): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be 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 (2.0.0) (example): The kind of dose or rate specified.
..... 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..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.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 R5(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(5.0.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(5.0.0) Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... dispenser 0..1 Reference(Organization) Intended performer of dispense
.... dispenserInstruction 0..* Annotation Additional information for the dispenser
.... doseAdministrationAid 0..1 CodeableConcept Type of adherence packaging to use for the dispense
Binding: MedicationDoseAids (example)
... 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) (preferred): 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
... 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 All Security Labels . 📍5.0.0 tx.fhir.org
MedicationRequest.meta.​tag Base example Common Tags 📍5.0.0 FHIR Std.
MedicationRequest.language Base required All Languages 📍5.0.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍5.0.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
MedicationRequest.priorPrescription.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.status Base required medicationrequest Status 📍5.0.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍5.0.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍5.0.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍5.0.0 FHIR Std.
MedicationRequest.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationRequest.subject.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.encounter.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.requester.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.performerType Base extensible Medication Intended Performer Role 📍5.0.0 FHIR Std.
MedicationRequest.reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base extensible medicationRequest Course of Therapy Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍2.0.0 THO v7.1
MedicationRequest.dispenseRequest.​doseAdministrationAid Base example Medication Dose Aids 📍5.0.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base preferred ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1

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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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.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.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.basedOn, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.groupIdentifier, MedicationRequest.status, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.statusReason, MedicationRequest.statusChanged, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.medication, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.medication.concept, MedicationRequest.medication.reference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.informationSource, 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.reported, MedicationRequest.performerType, MedicationRequest.performer, MedicationRequest.device, MedicationRequest.recorder, MedicationRequest.reason, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reason, MedicationRequest.reason.concept, MedicationRequest.reason.reference, MedicationRequest.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.renderedDosageInstruction, MedicationRequest.effectiveDosePeriod, 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, MedicationRequest.dosageInstruction.asNeededFor, 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.dispenser, MedicationRequest.dispenseRequest.dispenserInstruction, MedicationRequest.dispenseRequest.doseAdministrationAid, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.extension:type, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, 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.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:patient, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:encounter, MedicationRequest.requester.extension, MedicationRequest.requester.extension:prescriber, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reason, 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 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