QI-Core Implementation Guide: STU 3.2 (v3.2.0 for FHIR 3.0.1)

This page is part of the Quality Improvement Core Framework (v3.2.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

D.4.1 StructureDefinition-qicore-medicationrequest

Examples:

Penicillin MedicationRequest Example

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest

Profile of MedicationRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.

This profile builds on US Core Medication Request Profile.

This profile was published on Wed Aug 22 00:00:00 AEST 2018 as a draft by Health Level Seven, Inc. - CQI WG.

Description of Profiles, Differentials, and Snapshots.

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*
... id 0..1id
... status S1..1code
... intent 1..1code
... category 0..1CodeableConcept
... medication[x] S1..1CodeableConcept, Reference(QICore-Medication)Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject S1..1Reference(QICore-Patient)
... context S0..1Reference(QICore-Encounter | Group)
... authoredOn S1..1dateTime
... requester S1..1BackboneElement
.... agent S1..1Reference(QICore-Practitioner)
.... onBehalfOf 0..1Reference(QICore-Organization)
... recorder 0..1Reference(Practitioner)
... reasonCode 0..*CodeableConceptBinding: Problem Value Set (preferred)
... dosageInstruction S0..*Dosage
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
Binding: SNOMED CT Dosages Codes (preferred)
.... pharmacy-core-infuseOver 0..1DurationThe length of the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
.... pharmacy-core-rateIncrement 0..1RatioChange in dosing rate per interval
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
.... pharmacy-core-rateIncrementInterval 0..1DurationThe period of time between rate increments
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
.... pharmacy-core-rateGoal 0..1RatioThe target rate for the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
.... pharmacy-core-minDosePerPeriod 0..1RatioThe minimum quantity of substance per period
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
.... pharmacy-core-maxDeliveryRate 0..1RatioThe maximum rate of substance administration
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
.... pharmacy-core-maxDeliveryVolume 0..1QuantityThe maximum amount of fluid to infuse
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
.... timing 0..1Timing
.... site S0..1CodeableConcept
.... route 0..1CodeableConcept
.... method 0..1CodeableConcept
.... dose[x] 0..1Range, SimpleQuantity
... dispenseRequest S0..1BackboneElement
.... validityPeriod 0..1Period
.... quantity 0..1SimpleQuantity
.... expectedSupplyDuration 0..1Duration

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*US Core Medication Request Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal ids for this request
... definition Σ0..*Reference(ActivityDefinition | PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... status ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | instance-order
Binding: MedicationRequestIntent (required)
... category 0..1CodeableConceptType of medication usage
Binding: MedicationRequestCategory (preferred)
... priority Σ0..1coderoutine | urgent | stat | asap
Binding: MedicationRequestPriority (required)
... medication[x] SΣ1..1CodeableConcept, Reference(QICore-Medication)Medication to be taken
Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject SΣ1..1Reference(QICore-Patient)Who or group medication request is for
... context S0..1Reference(QICore-Encounter | Group)Created during encounter/admission/stay
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTimeWhen request was initially authored
... requester SΣI1..1BackboneElementWho/What requested the Request
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(QICore-Practitioner)Who ordered the initial medication(s)
.... onBehalfOf ΣI0..1Reference(QICore-Organization)Organization agent is acting for
... recorder 0..1Reference(Practitioner)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for writing the prescription
Binding: Problem Value Set (preferred)
... reasonReference 0..*Reference(Condition | Observation)Condition or Observation that supports why the prescription is being written
... note 0..*AnnotationInformation about the prescription
... dosageInstruction S0..*DosageHow the medication should be taken
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
..... valueCodeableConcept 0..1CodeableConceptValue of extension
.... pharmacy-core-infuseOver 0..1DurationThe length of the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateIncrement 0..1RatioChange in dosing rate per interval
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-rateIncrementInterval 0..1DurationThe period of time between rate increments
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateGoal 0..1RatioThe target rate for the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-minDosePerPeriod 0..1RatioThe minimum quantity of substance per period
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryRate 0..1RatioThe maximum rate of substance administration
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryVolume 0..1QuantityThe maximum amount of fluid to infuse
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
..... valueQuantity 0..1QuantityValue of extension
.... sequence Σ0..1integerThe order of the dosage instructions
.... text Σ0..1stringFree text dosage instructions e.g. SIG
.... additionalInstruction Σ0..*CodeableConceptSupplemental instruction - e.g. "with meals"
Binding: SNOMED CT Additional Dosage Instructions (example)
.... patientInstruction Σ0..1stringPatient or consumer oriented instructions
.... timing Σ0..1TimingWhen medication should be administered
.... asNeeded[x] Σ0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: SNOMED CT Medication As Needed Reason Codes (example)
.... site SΣ0..1CodeableConceptBody site to administer to
Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example)
.... route Σ0..1CodeableConceptHow drug should enter body
Binding: SNOMED CT Route Codes (example)
.... method Σ0..1CodeableConceptTechnique for administering medication
Binding: SNOMED CT Administration Method Codes (example)
.... dose[x] Σ0..1Range, SimpleQuantityAmount of medication per dose
.... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration Σ0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime Σ0..1SimpleQuantityUpper limit on medication per lifetime of the patient
.... rate[x] Σ0..1Ratio, Range, SimpleQuantityAmount of medication per unit of time
... dispenseRequest SI0..1BackboneElementMedication supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1positiveIntNumber of refills authorized
.... quantity 0..1SimpleQuantityAmount of medication to supply per dispense
.... expectedSupplyDuration 0..1DurationNumber of days supply per dispense
.... performer 0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... allowed ?!1..1booleanWhether substitution is allowed or not
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example)
... priorPrescription 0..1Reference(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

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*
... id 0..1id
... status S1..1code
... intent 1..1code
... category 0..1CodeableConcept
... medication[x] S1..1CodeableConcept, Reference(QICore-Medication)Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject S1..1Reference(QICore-Patient)
... context S0..1Reference(QICore-Encounter | Group)
... authoredOn S1..1dateTime
... requester S1..1BackboneElement
.... agent S1..1Reference(QICore-Practitioner)
.... onBehalfOf 0..1Reference(QICore-Organization)
... recorder 0..1Reference(Practitioner)
... reasonCode 0..*CodeableConceptBinding: Problem Value Set (preferred)
... dosageInstruction S0..*Dosage
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
Binding: SNOMED CT Dosages Codes (preferred)
.... pharmacy-core-infuseOver 0..1DurationThe length of the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
.... pharmacy-core-rateIncrement 0..1RatioChange in dosing rate per interval
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
.... pharmacy-core-rateIncrementInterval 0..1DurationThe period of time between rate increments
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
.... pharmacy-core-rateGoal 0..1RatioThe target rate for the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
.... pharmacy-core-minDosePerPeriod 0..1RatioThe minimum quantity of substance per period
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
.... pharmacy-core-maxDeliveryRate 0..1RatioThe maximum rate of substance administration
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
.... pharmacy-core-maxDeliveryVolume 0..1QuantityThe maximum amount of fluid to infuse
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
.... timing 0..1Timing
.... site S0..1CodeableConcept
.... route 0..1CodeableConcept
.... method 0..1CodeableConcept
.... dose[x] 0..1Range, SimpleQuantity
... dispenseRequest S0..1BackboneElement
.... validityPeriod 0..1Period
.... quantity 0..1SimpleQuantity
.... expectedSupplyDuration 0..1Duration

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*US Core Medication Request Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal ids for this request
... definition Σ0..*Reference(ActivityDefinition | PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... status ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | instance-order
Binding: MedicationRequestIntent (required)
... category 0..1CodeableConceptType of medication usage
Binding: MedicationRequestCategory (preferred)
... priority Σ0..1coderoutine | urgent | stat | asap
Binding: MedicationRequestPriority (required)
... medication[x] SΣ1..1CodeableConcept, Reference(QICore-Medication)Medication to be taken
Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject SΣ1..1Reference(QICore-Patient)Who or group medication request is for
... context S0..1Reference(QICore-Encounter | Group)Created during encounter/admission/stay
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTimeWhen request was initially authored
... requester SΣI1..1BackboneElementWho/What requested the Request
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(QICore-Practitioner)Who ordered the initial medication(s)
.... onBehalfOf ΣI0..1Reference(QICore-Organization)Organization agent is acting for
... recorder 0..1Reference(Practitioner)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for writing the prescription
Binding: Problem Value Set (preferred)
... reasonReference 0..*Reference(Condition | Observation)Condition or Observation that supports why the prescription is being written
... note 0..*AnnotationInformation about the prescription
... dosageInstruction S0..*DosageHow the medication should be taken
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
..... valueCodeableConcept 0..1CodeableConceptValue of extension
.... pharmacy-core-infuseOver 0..1DurationThe length of the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateIncrement 0..1RatioChange in dosing rate per interval
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-rateIncrementInterval 0..1DurationThe period of time between rate increments
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateGoal 0..1RatioThe target rate for the infusion
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-minDosePerPeriod 0..1RatioThe minimum quantity of substance per period
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryRate 0..1RatioThe maximum rate of substance administration
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryVolume 0..1QuantityThe maximum amount of fluid to infuse
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
..... valueQuantity 0..1QuantityValue of extension
.... sequence Σ0..1integerThe order of the dosage instructions
.... text Σ0..1stringFree text dosage instructions e.g. SIG
.... additionalInstruction Σ0..*CodeableConceptSupplemental instruction - e.g. "with meals"
Binding: SNOMED CT Additional Dosage Instructions (example)
.... patientInstruction Σ0..1stringPatient or consumer oriented instructions
.... timing Σ0..1TimingWhen medication should be administered
.... asNeeded[x] Σ0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: SNOMED CT Medication As Needed Reason Codes (example)
.... site SΣ0..1CodeableConceptBody site to administer to
Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example)
.... route Σ0..1CodeableConceptHow drug should enter body
Binding: SNOMED CT Route Codes (example)
.... method Σ0..1CodeableConceptTechnique for administering medication
Binding: SNOMED CT Administration Method Codes (example)
.... dose[x] Σ0..1Range, SimpleQuantityAmount of medication per dose
.... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration Σ0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime Σ0..1SimpleQuantityUpper limit on medication per lifetime of the patient
.... rate[x] Σ0..1Ratio, Range, SimpleQuantityAmount of medication per unit of time
... dispenseRequest SI0..1BackboneElementMedication supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1positiveIntNumber of refills authorized
.... quantity 0..1SimpleQuantityAmount of medication to supply per dispense
.... expectedSupplyDuration 0..1DurationNumber of days supply per dispense
.... performer 0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... allowed ?!1..1booleanWhether substitution is allowed or not
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example)
... priorPrescription 0..1Reference(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

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathConformanceValueSet
MedicationRequest.statusrequiredMedicationRequestStatus
MedicationRequest.medication[x]preferredMedication Clinical Drug (RxNorm)
MedicationRequest.dosageInstruction.siteexampleSNOMED CT Anatomical Structure for Administration Site Codes

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2MedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1MedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4MedicationRequestIf 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-3MedicationRequestIf 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()
ele-1MedicationRequest.requesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
mps-1MedicationRequest.requesteronBehalfOf 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()
ele-1MedicationRequest.dispenseRequestAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1MedicationRequest.substitutionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())