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

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

Resource Profile: Profile_R3_MedicationRequest_R5

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

This cross-version profile allows STU3 MedicationRequest 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:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
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 STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:definition, MedicationRequest.extension:detectedIssue, 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:subject, 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:definition, MedicationRequest.extension:detectedIssue, MedicationRequest.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject 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 STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier STU3: identifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.identifier
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* Reference(Resource) STU3: What request fulfills
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... priorPrescription
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:priorPrescription 0..1 Reference(Resource) STU3: An order/prescription that is being replaced additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... groupIdentifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:groupIdentifier 0..1 Identifier STU3: groupIdentifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.groupIdentifier
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.medication
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:context 0..1 Reference(Resource) STU3: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... supportingInformation
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:supportingInformation 0..* Reference(Resource) STU3: Information to support ordering of the medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... requester
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:agent 1..1 Reference(Resource) STU3: Who ordered the initial medication(s)
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
..... extension:onBehalfOf 0..1 Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) STU3: Organization agent is acting for (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.requester.onBehalfOf
... recorder
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 Reference(Resource) STU3: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reason
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* Reference(Cross-version Profile for STU3.Condition for use in FHIR R5(0.1.0) | Condition | Cross-version Profile for STU3.Observation for use in FHIR R5(0.1.0) | Observation) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.reasonReference
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..* Annotation STU3: note additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.note
... dosageInstruction
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:dosageInstruction 0..* Dosage STU3: How the medication should be taken additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dosageInstruction
... dispenseRequest
.... validityPeriod
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:validityPeriod 0..1 Period STU3: validityPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod
.... dispenser
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:performer 0..1 Reference(Resource) STU3: Intended dispenser additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... eventHistory
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:eventHistory 0..* Reference(Resource) STU3: eventHistory additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

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 STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
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 STU3: identifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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
.... 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:basedOn 0..1 Reference(Resource) STU3: What request fulfills
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
... 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) STU3: An order/prescription that is being replaced 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
.... 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:groupIdentifier 0..1 Identifier STU3: groupIdentifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.groupIdentifier
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)
... 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 STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:context 0..1 Reference(Resource) STU3: 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
.... 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:supportingInformation 0..1 Reference(Resource) STU3: Information to support ordering of the medication 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
... 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 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:agent 1..1 Reference(Resource) STU3: Who ordered the initial medication(s)
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... extension:onBehalfOf 0..1 Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) STU3: Organization agent is acting for (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.requester.onBehalfOf
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
.... 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:recorder 0..1 Reference(Resource) STU3: recorder 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
... 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:reasonReference 0..* Reference(Cross-version Profile for STU3.Condition for use in FHIR R5(0.1.0) | Condition | Cross-version Profile for STU3.Observation for use in FHIR R5(0.1.0) | Observation) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.reasonReference
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..* Annotation STU3: note additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:dosageInstruction 0..* Dosage STU3: How the medication should be taken additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dosageInstruction
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
.... 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
.... 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 STU3: validityPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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
..... 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:performer 0..1 Reference(Resource) STU3: Intended dispenser 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
.... 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
.... 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
.... 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
.... 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:eventHistory 0..1 Reference(Resource) STU3: eventHistory 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

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.basedOn.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.priorPrescription.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.groupIdentifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationRequest.groupIdentifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
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.supportingInformation.​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.recorder.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
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.​dispenser.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
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
MedicationRequest.eventHistory.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org

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:definition, MedicationRequest.extension:detectedIssue, 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.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.basedOn.reference, MedicationRequest.basedOn.type, MedicationRequest.basedOn.identifier, MedicationRequest.basedOn.display, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.groupIdentifier, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, MedicationRequest.groupIdentifier.use, MedicationRequest.groupIdentifier.type, MedicationRequest.groupIdentifier.system, MedicationRequest.groupIdentifier.value, MedicationRequest.groupIdentifier.period, MedicationRequest.groupIdentifier.assigner, 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:subject, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.informationSource, MedicationRequest.encounter, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:context, MedicationRequest.encounter.reference, MedicationRequest.encounter.type, MedicationRequest.encounter.identifier, MedicationRequest.encounter.display, MedicationRequest.supportingInformation, MedicationRequest.supportingInformation.extension, MedicationRequest.supportingInformation.extension:supportingInformation, MedicationRequest.supportingInformation.reference, MedicationRequest.supportingInformation.type, MedicationRequest.supportingInformation.identifier, MedicationRequest.supportingInformation.display, MedicationRequest.authoredOn, MedicationRequest.requester, MedicationRequest.requester.extension, MedicationRequest.requester.extension:agent, MedicationRequest.requester.extension:onBehalfOf, MedicationRequest.requester.reference, MedicationRequest.requester.type, MedicationRequest.requester.identifier, MedicationRequest.requester.display, MedicationRequest.reported, MedicationRequest.performerType, MedicationRequest.performer, MedicationRequest.device, MedicationRequest.recorder, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.recorder.reference, MedicationRequest.recorder.type, MedicationRequest.recorder.identifier, MedicationRequest.recorder.display, MedicationRequest.reason, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reasonReference, 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:dosageInstruction, 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.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.dispenser.extension, MedicationRequest.dispenseRequest.dispenser.extension:performer, MedicationRequest.dispenseRequest.dispenser.reference, MedicationRequest.dispenseRequest.dispenser.type, MedicationRequest.dispenseRequest.dispenser.identifier, MedicationRequest.dispenseRequest.dispenser.display, MedicationRequest.dispenseRequest.dispenserInstruction, MedicationRequest.dispenseRequest.doseAdministrationAid, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.eventHistory, MedicationRequest.eventHistory.extension, MedicationRequest.eventHistory.extension:eventHistory, MedicationRequest.eventHistory.reference, MedicationRequest.eventHistory.type, MedicationRequest.eventHistory.identifier, MedicationRequest.eventHistory.display 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:definition, MedicationRequest.extension:detectedIssue, MedicationRequest.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:context, MedicationRequest.supportingInformation.extension, MedicationRequest.supportingInformation.extension:supportingInformation, MedicationRequest.requester.extension, MedicationRequest.requester.extension:agent, MedicationRequest.requester.extension:onBehalfOf, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reasonReference, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:dosageInstruction, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.dispenser.extension, MedicationRequest.dispenseRequest.dispenser.extension:performer, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.eventHistory.extension, MedicationRequest.eventHistory.extension:eventHistory 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()

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:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
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 STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:definition, MedicationRequest.extension:detectedIssue, 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:subject, 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:definition, MedicationRequest.extension:detectedIssue, MedicationRequest.modifierExtension, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject 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 STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier STU3: identifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.identifier
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* Reference(Resource) STU3: What request fulfills
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... priorPrescription
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:priorPrescription 0..1 Reference(Resource) STU3: An order/prescription that is being replaced additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... groupIdentifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:groupIdentifier 0..1 Identifier STU3: groupIdentifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.groupIdentifier
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.medication
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:context 0..1 Reference(Resource) STU3: Created during encounter/admission/stay additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... supportingInformation
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:supportingInformation 0..* Reference(Resource) STU3: Information to support ordering of the medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... requester
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:agent 1..1 Reference(Resource) STU3: Who ordered the initial medication(s)
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
..... extension:onBehalfOf 0..1 Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) STU3: Organization agent is acting for (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.requester.onBehalfOf
... recorder
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 Reference(Resource) STU3: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reason
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* Reference(Cross-version Profile for STU3.Condition for use in FHIR R5(0.1.0) | Condition | Cross-version Profile for STU3.Observation for use in FHIR R5(0.1.0) | Observation) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.reasonReference
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..* Annotation STU3: note additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.note
... dosageInstruction
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:dosageInstruction 0..* Dosage STU3: How the medication should be taken additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dosageInstruction
... dispenseRequest
.... validityPeriod
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:validityPeriod 0..1 Period STU3: validityPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod
.... dispenser
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:performer 0..1 Reference(Resource) STU3: Intended dispenser additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... eventHistory
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:eventHistory 0..* Reference(Resource) STU3: eventHistory additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(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 STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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) STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R5(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
.... extension:detectedIssue 0..* Reference(Cross-version Profile for STU3.DetectedIssue for use in FHIR R5(0.1.0) | DetectedIssue) STU3: Clinical Issue with action (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.detectedIssue
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 STU3: identifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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
.... 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:basedOn 0..1 Reference(Resource) STU3: What request fulfills
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
... 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) STU3: An order/prescription that is being replaced 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
.... 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:groupIdentifier 0..1 Identifier STU3: groupIdentifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.groupIdentifier
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)
... 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 STU3: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown additional codes
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.status
Binding: MedicationrequestStatus (required): A coded concept 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 STU3.Medication for use in FHIR R5(0.1.0) | Medication) STU3: medication additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:subject 0..1 Reference(Resource) STU3: Who or group medication request 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:context 0..1 Reference(Resource) STU3: 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
.... 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:supportingInformation 0..1 Reference(Resource) STU3: Information to support ordering of the medication 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
... 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 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:agent 1..1 Reference(Resource) STU3: Who ordered the initial medication(s)
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... extension:onBehalfOf 0..1 Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) STU3: Organization agent is acting for (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.requester.onBehalfOf
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
.... 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:recorder 0..1 Reference(Resource) STU3: recorder 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
... 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:reasonReference 0..* Reference(Cross-version Profile for STU3.Condition for use in FHIR R5(0.1.0) | Condition | Cross-version Profile for STU3.Observation for use in FHIR R5(0.1.0) | Observation) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.reasonReference
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..* Annotation STU3: note additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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:dosageInstruction 0..* Dosage STU3: How the medication should be taken additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.dosageInstruction
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
.... 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
.... 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 STU3: validityPeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.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
..... 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:performer 0..1 Reference(Resource) STU3: Intended dispenser 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
.... 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
.... 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
.... 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
.... 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:eventHistory 0..1 Reference(Resource) STU3: eventHistory 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

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.basedOn.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.priorPrescription.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
MedicationRequest.groupIdentifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationRequest.groupIdentifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
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.supportingInformation.​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.recorder.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
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.​dispenser.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
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
MedicationRequest.eventHistory.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org

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:definition, MedicationRequest.extension:detectedIssue, 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.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.basedOn.reference, MedicationRequest.basedOn.type, MedicationRequest.basedOn.identifier, MedicationRequest.basedOn.display, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.groupIdentifier, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, MedicationRequest.groupIdentifier.use, MedicationRequest.groupIdentifier.type, MedicationRequest.groupIdentifier.system, MedicationRequest.groupIdentifier.value, MedicationRequest.groupIdentifier.period, MedicationRequest.groupIdentifier.assigner, 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:subject, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, MedicationRequest.informationSource, MedicationRequest.encounter, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:context, MedicationRequest.encounter.reference, MedicationRequest.encounter.type, MedicationRequest.encounter.identifier, MedicationRequest.encounter.display, MedicationRequest.supportingInformation, MedicationRequest.supportingInformation.extension, MedicationRequest.supportingInformation.extension:supportingInformation, MedicationRequest.supportingInformation.reference, MedicationRequest.supportingInformation.type, MedicationRequest.supportingInformation.identifier, MedicationRequest.supportingInformation.display, MedicationRequest.authoredOn, MedicationRequest.requester, MedicationRequest.requester.extension, MedicationRequest.requester.extension:agent, MedicationRequest.requester.extension:onBehalfOf, MedicationRequest.requester.reference, MedicationRequest.requester.type, MedicationRequest.requester.identifier, MedicationRequest.requester.display, MedicationRequest.reported, MedicationRequest.performerType, MedicationRequest.performer, MedicationRequest.device, MedicationRequest.recorder, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.recorder.reference, MedicationRequest.recorder.type, MedicationRequest.recorder.identifier, MedicationRequest.recorder.display, MedicationRequest.reason, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reasonReference, 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:dosageInstruction, 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.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.dispenser.extension, MedicationRequest.dispenseRequest.dispenser.extension:performer, MedicationRequest.dispenseRequest.dispenser.reference, MedicationRequest.dispenseRequest.dispenser.type, MedicationRequest.dispenseRequest.dispenser.identifier, MedicationRequest.dispenseRequest.dispenser.display, MedicationRequest.dispenseRequest.dispenserInstruction, MedicationRequest.dispenseRequest.doseAdministrationAid, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.eventHistory, MedicationRequest.eventHistory.extension, MedicationRequest.eventHistory.extension:eventHistory, MedicationRequest.eventHistory.reference, MedicationRequest.eventHistory.type, MedicationRequest.eventHistory.identifier, MedicationRequest.eventHistory.display 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:definition, MedicationRequest.extension:detectedIssue, MedicationRequest.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, MedicationRequest.status.extension, MedicationRequest.status.extension:status, MedicationRequest.medication.extension, MedicationRequest.medication.extension:medication, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject, MedicationRequest.encounter.extension, MedicationRequest.encounter.extension:context, MedicationRequest.supportingInformation.extension, MedicationRequest.supportingInformation.extension:supportingInformation, MedicationRequest.requester.extension, MedicationRequest.requester.extension:agent, MedicationRequest.requester.extension:onBehalfOf, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.reason.extension, MedicationRequest.reason.extension:reasonReference, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:dosageInstruction, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.dispenser.extension, MedicationRequest.dispenseRequest.dispenser.extension:performer, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.eventHistory.extension, MedicationRequest.eventHistory.extension:eventHistory 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()

 

Other representations of profile: CSV, Excel, Schematron