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

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

Resource Profile: Profile_R4_MedicationRequest_R3

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

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

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

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 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
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform ?! 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required MedicationRequestStatus 📍3.0.2 FHIR Std.
MedicationRequest.intent Base required MedicationRequestIntent 📍3.0.2 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions 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 Ordering of medication for patient or group
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... definition
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:instantiatesCanonical 0..* uri R4: Instantiates FHIR protocol or definition additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... intent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
... requester
.... agent
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:requester 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: Who/What requested the Request
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... recorder
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... dispenseRequest
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:initialFill 0..1 (Complex) R4: First fill details (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill
..... extension:dispenseInterval 0..1 Duration R4: Minimum period of time between dispenses (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval
.... numberOfRepeatsAllowed
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:numberOfRepeatsAllowed 0..1 unsignedInt R4: numberOfRepeatsAllowed additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed
... substitution
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:allowed 0..1 CodeableConcept R4: Whether substitution is allowed or not additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed
Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: Common Languages (extensible): A human language.
Additional BindingsPurpose
All Languages 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform ?! 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... identifier 0..* Identifier External ids for this request
... definition Σ 0..* Reference(ActivityDefinition | PlanDefinition) Protocol or definition
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:instantiatesCanonical 0..* uri R4: Instantiates FHIR protocol or definition additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) What request fulfills
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... 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
... status ?!Σ 0..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
.... value 0..1 code Primitive value for code
... category 0..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered
... priority Σ 0..1 code routine | urgent | stat | asap
Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
... context 0..1 Reference(Encounter | EpisodeOfCare) Created during encounter/admission/stay
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester ΣC 0..1 BackboneElement Who/What requested the Request
Constraints: mps-1
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... agent Σ 1..1 Reference(Practitioner | Organization | Patient | RelatedPerson | Device) Who ordered the initial medication(s)
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:requester 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: Who/What requested the Request
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... onBehalfOf ΣC 0..1 Reference(Organization) Organization agent is acting for
... recorder 0..1 Reference(Practitioner) Person who entered the request
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... 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 writing the prescription
Binding: Condition/Problem/Diagnosis Codes (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
... note 0..* Annotation Information about the prescription
... dosageInstruction 0..* Dosage How the medication should be taken
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:initialFill 0..1 (Complex) R4: First fill details (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill
..... extension:dispenseInterval 0..1 Duration R4: Minimum period of time between dispenses (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 positiveInt Number of refills authorized
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:numberOfRepeatsAllowed 0..1 unsignedInt R4: numberOfRepeatsAllowed additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed
..... value 0..1 positiveInt Primitive value for positiveInt
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:allowed 0..1 CodeableConcept R4: Whether substitution is allowed or not additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed
Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... allowed ?! 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason|2014-03-26 (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base extensible Common Languages 📍3.0.2 FHIR Std.
MedicationRequest.status Base required MedicationRequestStatus 📍3.0.2 FHIR Std.
MedicationRequest.intent Base required MedicationRequestIntent 📍3.0.2 FHIR Std.
MedicationRequest.category Base preferred MedicationRequestCategory 📍3.0.2 FHIR Std.
MedicationRequest.priority Base required MedicationRequestPriority 📍3.0.2 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍3.0.2 FHIR Std.
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍2014-03-26 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mps-1 error MedicationRequest.requester onBehalfOf can only be specified if agent is practitioner or device (agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()

This structure is derived from MedicationRequest

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest 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
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform ?! 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required MedicationRequestStatus 📍3.0.2 FHIR Std.
MedicationRequest.intent Base required MedicationRequestIntent 📍3.0.2 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions 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 Ordering of medication for patient or group
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... definition
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:instantiatesCanonical 0..* uri R4: Instantiates FHIR protocol or definition additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... intent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
... requester
.... agent
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:requester 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: Who/What requested the Request
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... recorder
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... dispenseRequest
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:initialFill 0..1 (Complex) R4: First fill details (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill
..... extension:dispenseInterval 0..1 Duration R4: Minimum period of time between dispenses (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval
.... numberOfRepeatsAllowed
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:numberOfRepeatsAllowed 0..1 unsignedInt R4: numberOfRepeatsAllowed additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed
... substitution
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:allowed 0..1 CodeableConcept R4: Whether substitution is allowed or not additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed
Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: Common Languages (extensible): A human language.
Additional BindingsPurpose
All Languages 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..1 CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason
Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status.
.... extension:reported 0..1 boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) R4: Reported rather than primary record (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported
.... extension:performer 0..1 Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) R4: Intended performer of administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer
.... extension:performerType 0..1 CodeableConcept R4: Desired kind of performer of the medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType
.... extension:instantiatesUri 0..* uri R4: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri
.... extension:courseOfTherapyType 0..1 CodeableConcept R4: Overall pattern of medication administration (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType
Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio.
.... extension:insurance 0..* Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) R4: Associated insurance coverage (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:doNotPerform ?! 0..1 boolean R4: True if request is prohibiting action (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform
... identifier 0..* Identifier External ids for this request
... definition Σ 0..* Reference(ActivityDefinition | PlanDefinition) Protocol or definition
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:instantiatesCanonical 0..* uri R4: Instantiates FHIR protocol or definition additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) What request fulfills
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... 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
... status ?!Σ 0..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:intent 0..1 code R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent
Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order.
.... value 0..1 code Primitive value for code
... category 0..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered
... priority Σ 0..1 code routine | urgent | stat | asap
Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request
... medication[x] Σ 1..1 Medication to be taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who or group medication request is for
... context 0..1 Reference(Encounter | EpisodeOfCare) Created during encounter/admission/stay
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester ΣC 0..1 BackboneElement Who/What requested the Request
Constraints: mps-1
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... agent Σ 1..1 Reference(Practitioner | Organization | Patient | RelatedPerson | Device) Who ordered the initial medication(s)
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:requester 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: Who/What requested the Request
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... onBehalfOf ΣC 0..1 Reference(Organization) Organization agent is acting for
... recorder 0..1 Reference(Practitioner) Person who entered the request
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:recorder 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: recorder additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... 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 writing the prescription
Binding: Condition/Problem/Diagnosis Codes (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
... note 0..* Annotation Information about the prescription
... dosageInstruction 0..* Dosage How the medication should be taken
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:initialFill 0..1 (Complex) R4: First fill details (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill
..... extension:dispenseInterval 0..1 Duration R4: Minimum period of time between dispenses (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 positiveInt Number of refills authorized
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:numberOfRepeatsAllowed 0..1 unsignedInt R4: numberOfRepeatsAllowed additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed
..... value 0..1 positiveInt Primitive value for positiveInt
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:allowed 0..1 CodeableConcept R4: Whether substitution is allowed or not additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed
Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... allowed ?! 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason|2014-03-26 (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base extensible Common Languages 📍3.0.2 FHIR Std.
MedicationRequest.status Base required MedicationRequestStatus 📍3.0.2 FHIR Std.
MedicationRequest.intent Base required MedicationRequestIntent 📍3.0.2 FHIR Std.
MedicationRequest.category Base preferred MedicationRequestCategory 📍3.0.2 FHIR Std.
MedicationRequest.priority Base required MedicationRequestPriority 📍3.0.2 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍3.0.2 FHIR Std.
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍2014-03-26 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mps-1 error MedicationRequest.requester onBehalfOf can only be specified if agent is practitioner or device (agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()

This structure is derived from MedicationRequest

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron