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

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

Resource Profile: Profile_R3_MedicationRequest_R4B

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_R4B

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

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest(4.3.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) STU3: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

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

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error MedicationRequest.implicitRules, MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication[x], MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.medication[x].extension:alternateReference, 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(4.3.0) Ordering of medication for patient or group
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) 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 R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
.... 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
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) STU3: subject 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: supportingInformation 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 R4B(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
... reasonReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* Reference(Resource) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* Reference(Resource) STU3: basedOn
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
... 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: dosageInstruction 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
.... performer
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:performer 0..1 Reference(Resource) STU3: performer additional types
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: priorPrescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... detectedIssue
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:detectedIssue 0..* Reference(Resource) STU3: detectedIssue 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(4.3.0) Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) 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: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) 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)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
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)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) STU3: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension: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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
.... 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: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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 R4B(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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
.... 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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
.... 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..1 Reference(Resource) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
.... 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: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Information about the prescription
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..* 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 | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction 0..* Dosage How the medication should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:dosageInstruction 0..* Dosage STU3: dosageInstruction 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)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... 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(4.3.0) First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:validityPeriod 0..1 Period 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(4.3.0) Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
..... 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: performer additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... 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) (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): SubstanceAdminSubstitutionReason
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:priorPrescription 0..1 Reference(Resource) STU3: priorPrescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
.... 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:detectedIssue 0..1 Reference(Resource) STU3: detectedIssue additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 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 SecurityLabels 📍4.3.0 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Category Codes 📍4.3.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.encounter.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.supportingInformation.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.3.0 FHIR Std.
MedicationRequest.recorder.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationRequest.reasonReference.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.basedOn.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.groupIdentifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.groupIdentifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base example medicationRequest Course of Therapy Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.
MedicationRequest.dispenseRequest.​performer.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1
MedicationRequest.priorPrescription.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.detectedIssue.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.eventHistory.​type Base extensible ResourceType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning MedicationRequest.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationRequest.meta, MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.meta.versionId, MedicationRequest.meta.lastUpdated, MedicationRequest.meta.source, MedicationRequest.meta.profile, MedicationRequest.meta.security, MedicationRequest.meta.tag, MedicationRequest.implicitRules, MedicationRequest.language, MedicationRequest.text, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.text.status, MedicationRequest.text.div, MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.identifier, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.identifier.use, MedicationRequest.identifier.type, MedicationRequest.identifier.system, MedicationRequest.identifier.value, MedicationRequest.identifier.period, MedicationRequest.identifier.assigner, MedicationRequest.status, MedicationRequest.statusReason, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.reported[x], MedicationRequest.medication[x], MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, 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.performer, MedicationRequest.performerType, MedicationRequest.recorder, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.recorder.reference, MedicationRequest.recorder.type, MedicationRequest.recorder.identifier, MedicationRequest.recorder.display, MedicationRequest.reasonCode, MedicationRequest.reasonReference, MedicationRequest.reasonReference.extension, MedicationRequest.reasonReference.extension:reasonReference, MedicationRequest.reasonReference.reference, MedicationRequest.reasonReference.type, MedicationRequest.reasonReference.identifier, MedicationRequest.reasonReference.display, MedicationRequest.instantiatesCanonical, MedicationRequest.instantiatesUri, MedicationRequest.basedOn, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.basedOn.reference, MedicationRequest.basedOn.type, MedicationRequest.basedOn.identifier, MedicationRequest.basedOn.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.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.dosageInstruction, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:dosageInstruction, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.sequence, MedicationRequest.dosageInstruction.text, MedicationRequest.dosageInstruction.additionalInstruction, MedicationRequest.dosageInstruction.patientInstruction, MedicationRequest.dosageInstruction.timing, MedicationRequest.dosageInstruction.asNeeded[x], MedicationRequest.dosageInstruction.site, MedicationRequest.dosageInstruction.route, MedicationRequest.dosageInstruction.method, MedicationRequest.dosageInstruction.doseAndRate, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dosageInstruction.doseAndRate.type, MedicationRequest.dosageInstruction.doseAndRate.dose[x], MedicationRequest.dosageInstruction.doseAndRate.rate[x], MedicationRequest.dosageInstruction.maxDosePerPeriod, MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.start, MedicationRequest.dispenseRequest.validityPeriod.end, MedicationRequest.dispenseRequest.numberOfRepeatsAllowed, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration, MedicationRequest.dispenseRequest.performer, MedicationRequest.dispenseRequest.performer.extension, MedicationRequest.dispenseRequest.performer.extension:performer, MedicationRequest.dispenseRequest.performer.reference, MedicationRequest.dispenseRequest.performer.type, MedicationRequest.dispenseRequest.performer.identifier, MedicationRequest.dispenseRequest.performer.display, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.detectedIssue, MedicationRequest.detectedIssue.extension, MedicationRequest.detectedIssue.extension:detectedIssue, MedicationRequest.detectedIssue.reference, MedicationRequest.detectedIssue.type, MedicationRequest.detectedIssue.identifier, MedicationRequest.detectedIssue.display, 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.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, 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.reasonReference.extension, MedicationRequest.reasonReference.extension:reasonReference, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, 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.performer.extension, MedicationRequest.dispenseRequest.performer.extension:performer, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.detectedIssue.extension, MedicationRequest.detectedIssue.extension:detectedIssue, 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(4.3.0) Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) STU3: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

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

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error MedicationRequest.implicitRules, MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.status, MedicationRequest.intent, MedicationRequest.doNotPerform, MedicationRequest.medication[x], MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.medication[x].extension:alternateReference, 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(4.3.0) Ordering of medication for patient or group
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) 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 R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
.... 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
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) STU3: subject 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: supportingInformation 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 R4B(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
... reasonReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* Reference(Resource) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* Reference(Resource) STU3: basedOn
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
... 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: dosageInstruction 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
.... performer
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:performer 0..1 Reference(Resource) STU3: performer additional types
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: priorPrescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... detectedIssue
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:detectedIssue 0..* Reference(Resource) STU3: detectedIssue 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(4.3.0) Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) 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: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) 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)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:definition 0..* Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition) STU3: Protocol or definition (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.definition
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)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) STU3: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) STU3: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension: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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
.... 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: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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 R4B(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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
.... 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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
.... 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..1 Reference(Resource) STU3: Condition or Observation that supports why the prescription is being written additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
.... 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: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Information about the prescription
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..* 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 | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction 0..* Dosage How the medication should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:dosageInstruction 0..* Dosage STU3: dosageInstruction 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)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... 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(4.3.0) First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:validityPeriod 0..1 Period 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(4.3.0) Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
..... 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: performer additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... 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) (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): SubstanceAdminSubstitutionReason
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:priorPrescription 0..1 Reference(Resource) STU3: priorPrescription additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
.... 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:detectedIssue 0..1 Reference(Resource) STU3: detectedIssue additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... 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")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 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 SecurityLabels 📍4.3.0 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationRequest.text.​status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.status Base required medicationrequest Status 📍4.3.0 FHIR Std.
MedicationRequest.statusReason Base example medicationRequest Status Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.intent Base required medicationRequest Intent 📍4.3.0 FHIR Std.
MedicationRequest.category Base example medicationRequest Category Codes 📍4.3.0 FHIR Std.
MedicationRequest.priority Base required RequestPriority 📍4.3.0 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.encounter.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.supportingInformation.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.3.0 FHIR Std.
MedicationRequest.recorder.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationRequest.reasonReference.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.basedOn.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.groupIdentifier.​use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationRequest.groupIdentifier.​type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationRequest.courseOfTherapyType Base example medicationRequest Course of Therapy Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.
MedicationRequest.dispenseRequest.​performer.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.1
MedicationRequest.priorPrescription.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.detectedIssue.​type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationRequest.eventHistory.​type Base extensible ResourceType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning MedicationRequest.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationRequest.meta, MedicationRequest.meta.extension, MedicationRequest.meta.extension:meta, MedicationRequest.meta.versionId, MedicationRequest.meta.lastUpdated, MedicationRequest.meta.source, MedicationRequest.meta.profile, MedicationRequest.meta.security, MedicationRequest.meta.tag, MedicationRequest.implicitRules, MedicationRequest.language, MedicationRequest.text, MedicationRequest.text.extension, MedicationRequest.text.extension:text, MedicationRequest.text.status, MedicationRequest.text.div, MedicationRequest.extension, MedicationRequest.extension:definition, MedicationRequest.modifierExtension, MedicationRequest.identifier, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.identifier.use, MedicationRequest.identifier.type, MedicationRequest.identifier.system, MedicationRequest.identifier.value, MedicationRequest.identifier.period, MedicationRequest.identifier.assigner, MedicationRequest.status, MedicationRequest.statusReason, MedicationRequest.intent, MedicationRequest.category, MedicationRequest.priority, MedicationRequest.doNotPerform, MedicationRequest.reported[x], MedicationRequest.medication[x], MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, MedicationRequest.subject, MedicationRequest.subject.extension, MedicationRequest.subject.extension:subject, MedicationRequest.subject.reference, MedicationRequest.subject.type, MedicationRequest.subject.identifier, MedicationRequest.subject.display, 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.performer, MedicationRequest.performerType, MedicationRequest.recorder, MedicationRequest.recorder.extension, MedicationRequest.recorder.extension:recorder, MedicationRequest.recorder.reference, MedicationRequest.recorder.type, MedicationRequest.recorder.identifier, MedicationRequest.recorder.display, MedicationRequest.reasonCode, MedicationRequest.reasonReference, MedicationRequest.reasonReference.extension, MedicationRequest.reasonReference.extension:reasonReference, MedicationRequest.reasonReference.reference, MedicationRequest.reasonReference.type, MedicationRequest.reasonReference.identifier, MedicationRequest.reasonReference.display, MedicationRequest.instantiatesCanonical, MedicationRequest.instantiatesUri, MedicationRequest.basedOn, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.basedOn.reference, MedicationRequest.basedOn.type, MedicationRequest.basedOn.identifier, MedicationRequest.basedOn.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.courseOfTherapyType, MedicationRequest.insurance, MedicationRequest.note, MedicationRequest.note.extension, MedicationRequest.note.extension:note, MedicationRequest.note.author[x], MedicationRequest.note.time, MedicationRequest.note.text, MedicationRequest.dosageInstruction, MedicationRequest.dosageInstruction.extension, MedicationRequest.dosageInstruction.extension:dosageInstruction, MedicationRequest.dosageInstruction.modifierExtension, MedicationRequest.dosageInstruction.sequence, MedicationRequest.dosageInstruction.text, MedicationRequest.dosageInstruction.additionalInstruction, MedicationRequest.dosageInstruction.patientInstruction, MedicationRequest.dosageInstruction.timing, MedicationRequest.dosageInstruction.asNeeded[x], MedicationRequest.dosageInstruction.site, MedicationRequest.dosageInstruction.route, MedicationRequest.dosageInstruction.method, MedicationRequest.dosageInstruction.doseAndRate, MedicationRequest.dosageInstruction.doseAndRate.extension, MedicationRequest.dosageInstruction.doseAndRate.type, MedicationRequest.dosageInstruction.doseAndRate.dose[x], MedicationRequest.dosageInstruction.doseAndRate.rate[x], MedicationRequest.dosageInstruction.maxDosePerPeriod, MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest, MedicationRequest.dispenseRequest.extension, MedicationRequest.dispenseRequest.modifierExtension, MedicationRequest.dispenseRequest.initialFill, MedicationRequest.dispenseRequest.initialFill.extension, MedicationRequest.dispenseRequest.initialFill.modifierExtension, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.extension, MedicationRequest.dispenseRequest.validityPeriod.extension:validityPeriod, MedicationRequest.dispenseRequest.validityPeriod.start, MedicationRequest.dispenseRequest.validityPeriod.end, MedicationRequest.dispenseRequest.numberOfRepeatsAllowed, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration, MedicationRequest.dispenseRequest.performer, MedicationRequest.dispenseRequest.performer.extension, MedicationRequest.dispenseRequest.performer.extension:performer, MedicationRequest.dispenseRequest.performer.reference, MedicationRequest.dispenseRequest.performer.type, MedicationRequest.dispenseRequest.performer.identifier, MedicationRequest.dispenseRequest.performer.display, MedicationRequest.substitution, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.substitution.allowed[x], MedicationRequest.substitution.reason, MedicationRequest.priorPrescription, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.priorPrescription.reference, MedicationRequest.priorPrescription.type, MedicationRequest.priorPrescription.identifier, MedicationRequest.priorPrescription.display, MedicationRequest.detectedIssue, MedicationRequest.detectedIssue.extension, MedicationRequest.detectedIssue.extension:detectedIssue, MedicationRequest.detectedIssue.reference, MedicationRequest.detectedIssue.type, MedicationRequest.detectedIssue.identifier, MedicationRequest.detectedIssue.display, 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.modifierExtension, MedicationRequest.identifier.extension, MedicationRequest.identifier.extension:identifier, MedicationRequest.medication[x].extension, MedicationRequest.medication[x].extension:alternateReference, 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.reasonReference.extension, MedicationRequest.reasonReference.extension:reasonReference, MedicationRequest.basedOn.extension, MedicationRequest.basedOn.extension:basedOn, MedicationRequest.groupIdentifier.extension, MedicationRequest.groupIdentifier.extension:groupIdentifier, 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.performer.extension, MedicationRequest.dispenseRequest.performer.extension:performer, MedicationRequest.substitution.extension, MedicationRequest.substitution.modifierExtension, MedicationRequest.priorPrescription.extension, MedicationRequest.priorPrescription.extension:priorPrescription, MedicationRequest.detectedIssue.extension, MedicationRequest.detectedIssue.extension:detectedIssue, 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