This page is part of the Quality Improvement Core Framework (v2.0.0: STU 2) 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

This profile builds on US Core Medication Request Profile.

This profile was published on Fri Feb 27 18:00:00 AEDT 2015 as a draft by Health Level Seven International (Clinical Quality Information - QICore).

Description of Profiles, Differentials, and Snapshots.

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest
... status S1..1
... medication[x] SCodeableConcept, Reference(QICore-Medication)Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject SReference(QICore-Patient), Reference(Group)
... context SReference(QICore-Encounter), Reference(Group)
... authoredOn S1..1
... requester S1..1
.... agent SReference(QICore-Practitioner)
.... onBehalfOf Reference(QICore-Organization)
... reasonCode Binding: Problem Value Set (preferred)
... dosageInstruction S
.... site S
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
.... 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
... dispenseRequest S

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*Ordering of medication for patient or group
... 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)
... 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), Reference(PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan), Reference(MedicationRequest), Reference(ProcedureRequest), Reference(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), Reference(Group)Who or group medication request is for
... context S0..1Reference(QICore-Encounter), Reference(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), Reference(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)
.... pharmacy-core-doseType 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
..... valueCodeableConcept 0..1CodeableConceptValue of extension
.... pharmacy-core-infuseOver 0..1DurationExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateIncrement 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-rateIncrementInterval 0..1DurationExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateGoal 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-minDosePerPeriod 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryRate 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryVolume 0..1QuantityExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
..... id 0..1stringxml:id (or equivalent in JSON)
..... 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
... status S1..1
... medication[x] SCodeableConcept, Reference(QICore-Medication)Binding: Medication Clinical Drug (RxNorm) (preferred)
... subject SReference(QICore-Patient), Reference(Group)
... context SReference(QICore-Encounter), Reference(Group)
... authoredOn S1..1
... requester S1..1
.... agent SReference(QICore-Practitioner)
.... onBehalfOf Reference(QICore-Organization)
... reasonCode Binding: Problem Value Set (preferred)
... dosageInstruction S
.... site S
.... pharmacy-core-doseType 0..1CodeableConceptThe type of dose, e.g., loading.
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
.... 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
... dispenseRequest S

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*Ordering of medication for patient or group
... 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)
... 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), Reference(PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan), Reference(MedicationRequest), Reference(ProcedureRequest), Reference(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), Reference(Group)Who or group medication request is for
... context S0..1Reference(QICore-Encounter), Reference(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), Reference(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)
.... pharmacy-core-doseType 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
..... valueCodeableConcept 0..1CodeableConceptValue of extension
.... pharmacy-core-infuseOver 0..1DurationExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateIncrement 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-rateIncrementInterval 0..1DurationExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
..... valueDuration 0..1DurationValue of extension
.... pharmacy-core-rateGoal 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-minDosePerPeriod 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryRate 0..1RatioExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
..... valueRatio 0..1RatioValue of extension
.... pharmacy-core-maxDeliveryVolume 0..1QuantityExtension
URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume
..... id 0..1stringxml:id (or equivalent in JSON)
..... 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

PathNameConformanceValueSet
MedicationRequest.languageCommon LanguagesextensibleCommon Languages
MedicationRequest.statusMedicationRequestStatusrequiredMedicationRequestStatus
MedicationRequest.intentMedicationRequestIntentrequiredMedicationRequestIntent
MedicationRequest.categoryMedicationRequestCategorypreferredMedicationRequestCategory
MedicationRequest.priorityMedicationRequestPriorityrequiredMedicationRequestPriority
MedicationRequest.medication[x]Medication Clinical Drug (RxNorm)preferredMedication Clinical Drug (RxNorm)
MedicationRequest.reasonCodeProblem Value SetpreferredProblem Value Set
MedicationRequest.dosageInstruction.additionalInstructionSNOMED CT Additional Dosage InstructionsexampleSNOMED CT Additional Dosage Instructions
MedicationRequest.dosageInstruction.asNeeded[x]SNOMED CT Medication As Needed Reason CodesexampleSNOMED CT Medication As Needed Reason Codes
MedicationRequest.dosageInstruction.siteSNOMED CT Anatomical Structure for Administration Site CodesexampleSNOMED CT Anatomical Structure for Administration Site Codes
MedicationRequest.dosageInstruction.routeSNOMED CT Route CodesexampleSNOMED CT Route Codes
MedicationRequest.dosageInstruction.methodSNOMED CT Administration Method CodesexampleSNOMED CT Administration Method Codes
MedicationRequest.substitution.reasonSubstanceAdminSubstitutionReasonexampleSubstanceAdminSubstitutionReason

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())