QI-Core Implementation Guide: STU 4 (v4.0.0 for FHIR 4.0.1)

QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions

D.4.1 StructureDefinition-qicore-medicationrequest

Introduction:

See the patterns page for implementation and usage patterns.

To create an expression specifically requesting information that a MedicationRequest intentionally did not occur for a medical, patient or system reason, use the profile QICore-Medicationnotrequested.


define "Antithrombotic Therapy at Discharge":
  ["MedicationRequest": medication in "Antithrombotic Therapy"] Antithrombotic
    where exists (Antithrombotic.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })
      and Antithrombotic.status in { 'active', 'completed' }
      and Antithrombotic.intent.value = 'order'

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 USCoreMedicationRequestProfile.

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

Description of Profiles, Differentials, and Snapshots.

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*USCoreMedicationRequestProfileOrdering of medication for patient or group
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier I0..*IdentifierExternal ids for this request
... status ?!SΣI1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required)
... statusReason I0..1CodeableConceptReason for current status
Binding: medicationRequest Status Reason Codes (example)
... intent ?!ΣI1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required)
... category SI0..*CodeableConceptType of medication usage
Binding: medicationRequest Category Codes (preferred)
... priority ΣI0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required)
... doNotPerform ?!SΣI0..1booleanTrue if request is prohibiting action
Fixed Value: false
... reported[x] SΣI0..1Reported rather than primary record
.... reportedBooleanboolean
.... reportedReferenceReference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson)
... medication[x] SΣI1..1Medication to be taken
Binding: US Core Medication Codes (RxNorm) (preferred)
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(QICoreMedication)
... subject SΣI1..1Reference(QICorePatient)Who or group medication request is for
... encounter SI0..1Reference(QICoreEncounter)Encounter created as part of encounter/admission/stay
... supportingInformation I0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣI1..1dateTimeWhen request was initially authored
... requester SΣI1..1Reference(QICorePractitioner | QICorePractitionerRole | QICorePatient | QICoreRelatedPerson | QICoreOrganization)Who/What requested the Request
... performer I0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
... performerType ΣI0..1CodeableConceptDesired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example)
... recorder I0..1Reference(QICorePractitioner | QICorePractitionerRole)Person who entered the request
... reasonCode I0..*CodeableConceptReason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example)
... reasonReference I0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
... instantiatesCanonical ΣI0..*canonical()Instantiates FHIR protocol or definition
... instantiatesUri ΣI0..*uriInstantiates external protocol or definition
... basedOn ΣI0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
... groupIdentifier ΣI0..1IdentifierComposite request this is part of
... courseOfTherapyType I0..1CodeableConceptOverall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example)
... insurance I0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note I0..*AnnotationInformation about the prescription
... dosageInstruction SI0..*DosageHow the medication should be taken
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence ΣI0..1integerThe order of the dosage instructions
.... text SΣI0..1stringFree text dosage instructions e.g. SIG
.... additionalInstruction ΣI0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction ΣI0..1stringPatient or consumer oriented instructions
.... timing ΣI0..1TimingWhen medication should be administered
.... asNeeded[x] ΣI0..1Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site SΣI0..1CodeableConceptBody site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route ΣI0..1CodeableConceptHow drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method ΣI0..1CodeableConceptTechnique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate ΣI0..*ElementAmount of medication administered
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... type ΣI0..1CodeableConceptThe kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] ΣI0..1Amount of medication per dose
...... doseRangeRange
...... doseQuantityQuantity(SimpleQuantity)
..... rate[x] ΣI0..1Amount of medication per unit of time
...... rateRatioRatio
...... rateRangeRange
...... rateQuantityQuantity(SimpleQuantity)
.... maxDosePerPeriod ΣI0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration ΣI0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime ΣI0..1SimpleQuantityUpper limit on medication per lifetime of the patient
... dispenseRequest SI0..1BackboneElementMedication supply authorization
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... initialFill I0..1BackboneElementFirst fill details
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... quantity I0..1SimpleQuantityFirst fill quantity
..... duration I0..1DurationFirst fill duration
.... dispenseInterval I0..1DurationMinimum period of time between dispenses
.... validityPeriod I0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed I0..1unsignedIntNumber of refills authorized
.... quantity I0..1SimpleQuantityAmount of medication to supply per dispense
.... expectedSupplyDuration I0..1DurationNumber of days supply per dispense
.... performer I0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... allowed[x] I1..1Whether substitution is allowed or not
Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example)
..... allowedBooleanboolean
..... allowedCodeableConceptCodeableConcept
.... reason I0..1CodeableConceptWhy should (not) substitution be made
Binding: V3 Value SetSubstanceAdminSubstitutionReason (example)
... priorPrescription I0..1Reference(MedicationRequest)An order/prescription that is being replaced
... detectedIssue I0..*Reference(DetectedIssue)Clinical Issue with action
... eventHistory I0..*Reference(Provenance)A list of events of interest in the lifecycle

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*USCoreMedicationRequestProfileOrdering of medication for patient or group
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier I0..*IdentifierExternal ids for this request
... status ?!SΣI1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required)
... statusReason I0..1CodeableConceptReason for current status
Binding: medicationRequest Status Reason Codes (example)
... intent ?!ΣI1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required)
... category SI0..*CodeableConceptType of medication usage
Binding: medicationRequest Category Codes (preferred)
... priority ΣI0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required)
... doNotPerform ?!SΣI0..1booleanTrue if request is prohibiting action
Fixed Value: false
... reported[x] SΣI0..1Reported rather than primary record
.... reportedBooleanboolean
.... reportedReferenceReference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson)
... medication[x] SΣI1..1Medication to be taken
Binding: US Core Medication Codes (RxNorm) (preferred)
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(QICoreMedication)
... subject SΣI1..1Reference(QICorePatient)Who or group medication request is for
... encounter SI0..1Reference(QICoreEncounter)Encounter created as part of encounter/admission/stay
... supportingInformation I0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣI1..1dateTimeWhen request was initially authored
... requester SΣI1..1Reference(QICorePractitioner | QICorePractitionerRole | QICorePatient | QICoreRelatedPerson | QICoreOrganization)Who/What requested the Request
... performer I0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
... performerType ΣI0..1CodeableConceptDesired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example)
... recorder I0..1Reference(QICorePractitioner | QICorePractitionerRole)Person who entered the request
... reasonCode I0..*CodeableConceptReason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example)
... reasonReference I0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
... instantiatesCanonical ΣI0..*canonical()Instantiates FHIR protocol or definition
... instantiatesUri ΣI0..*uriInstantiates external protocol or definition
... basedOn ΣI0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
... groupIdentifier ΣI0..1IdentifierComposite request this is part of
... courseOfTherapyType I0..1CodeableConceptOverall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example)
... insurance I0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note I0..*AnnotationInformation about the prescription
... dosageInstruction SI0..*DosageHow the medication should be taken
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence ΣI0..1integerThe order of the dosage instructions
.... text SΣI0..1stringFree text dosage instructions e.g. SIG
.... additionalInstruction ΣI0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction ΣI0..1stringPatient or consumer oriented instructions
.... timing ΣI0..1TimingWhen medication should be administered
.... asNeeded[x] ΣI0..1Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site SΣI0..1CodeableConceptBody site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route ΣI0..1CodeableConceptHow drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method ΣI0..1CodeableConceptTechnique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate ΣI0..*ElementAmount of medication administered
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... type ΣI0..1CodeableConceptThe kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] ΣI0..1Amount of medication per dose
...... doseRangeRange
...... doseQuantityQuantity(SimpleQuantity)
..... rate[x] ΣI0..1Amount of medication per unit of time
...... rateRatioRatio
...... rateRangeRange
...... rateQuantityQuantity(SimpleQuantity)
.... maxDosePerPeriod ΣI0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration ΣI0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime ΣI0..1SimpleQuantityUpper limit on medication per lifetime of the patient
... dispenseRequest SI0..1BackboneElementMedication supply authorization
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... initialFill I0..1BackboneElementFirst fill details
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... quantity I0..1SimpleQuantityFirst fill quantity
..... duration I0..1DurationFirst fill duration
.... dispenseInterval I0..1DurationMinimum period of time between dispenses
.... validityPeriod I0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed I0..1unsignedIntNumber of refills authorized
.... quantity I0..1SimpleQuantityAmount of medication to supply per dispense
.... expectedSupplyDuration I0..1DurationNumber of days supply per dispense
.... performer I0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... allowed[x] I1..1Whether substitution is allowed or not
Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example)
..... allowedBooleanboolean
..... allowedCodeableConceptCodeableConcept
.... reason I0..1CodeableConceptWhy should (not) substitution be made
Binding: V3 Value SetSubstanceAdminSubstitutionReason (example)
... priorPrescription I0..1Reference(MedicationRequest)An order/prescription that is being replaced
... detectedIssue I0..*Reference(DetectedIssue)Clinical Issue with action
... eventHistory I0..*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.languagepreferredCommonLanguages
Max Binding: AllLanguages
MedicationRequest.statusrequiredmedicationrequest Status
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
MedicationRequest.intentrequiredmedicationRequest Intent
MedicationRequest.categorypreferredmedicationRequest Category Codes
MedicationRequest.priorityrequiredRequestPriority
MedicationRequest.medication[x]preferredUSCoreMedicationCodes
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
MedicationRequest.dosageInstruction.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
MedicationRequest.dosageInstruction.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
MedicationRequest.dosageInstruction.siteexampleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.methodexampleSNOMEDCTAdministrationMethodCodes
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
MedicationRequest.substitution.allowed[x]examplev3.ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexamplev3.SubstanceAdminSubstitutionReason

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-3MedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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-5MedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6MedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1MedicationRequest.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.intentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.priorityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.doNotPerformAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.reported[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.medication[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.supportingInformationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.authoredOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.requesterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.performerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.performerTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.recorderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.instantiatesCanonicalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.instantiatesUriAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.groupIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.courseOfTherapyTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.insuranceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstructionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dosageInstruction.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dosageInstruction.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dosageInstruction.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dosageInstruction.sequenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.additionalInstructionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.patientInstructionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.timingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.asNeeded[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.siteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.routeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.methodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.doseAndRateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.doseAndRate.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dosageInstruction.doseAndRate.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dosageInstruction.doseAndRate.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.doseAndRate.dose[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.doseAndRate.rate[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.maxDosePerPeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.maxDosePerAdministrationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dosageInstruction.maxDosePerLifetimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequestAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dispenseRequest.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dispenseRequest.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dispenseRequest.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dispenseRequest.initialFillAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.initialFill.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dispenseRequest.initialFill.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dispenseRequest.initialFill.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.dispenseRequest.initialFill.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.dispenseRequest.initialFill.quantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.initialFill.durationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.dispenseIntervalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.validityPeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.numberOfRepeatsAllowedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.quantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.expectedSupplyDurationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.dispenseRequest.performerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.substitutionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.substitution.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.substitution.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.substitution.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationRequest.substitution.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationRequest.substitution.allowed[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.substitution.reasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.priorPrescriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.detectedIssueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationRequest.eventHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())