QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions
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'
Penicillin MedicationRequest Example |
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.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | I | 0..* | Identifier | External ids for this request |
status | ?!SΣI | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | I | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) |
intent | ?!ΣI | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required) |
category | SI | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (preferred) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣI | 0..1 | boolean | True if request is prohibiting action Fixed Value: false |
reported[x] | SΣI | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson) | |||
medication[x] | SΣI | 1..1 | Medication to be taken Binding: US Core Medication Codes (RxNorm) (preferred) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(QICoreMedication) | |||
subject | SΣI | 1..1 | Reference(QICorePatient) | Who or group medication request is for |
encounter | SI | 0..1 | Reference(QICoreEncounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | I | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | SΣI | 1..1 | dateTime | When request was initially authored |
requester | SΣI | 1..1 | Reference(QICorePractitioner | QICorePractitionerRole | QICorePatient | QICoreRelatedPerson | QICoreOrganization) | Who/What requested the Request |
performer | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | ΣI | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | I | 0..1 | Reference(QICorePractitioner | QICorePractitionerRole) | Person who entered the request |
reasonCode | I | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | I | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | ΣI | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | ΣI | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | I | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | I | 0..* | Annotation | Information about the prescription |
dosageInstruction | SI | 0..* | Dosage | How the medication should be taken |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | ΣI | 0..1 | integer | The order of the dosage instructions |
text | SΣI | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | ΣI | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | ΣI | 0..1 | string | Patient or consumer oriented instructions |
timing | ΣI | 0..1 | Timing | When medication should be administered |
asNeeded[x] | ΣI | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | SΣI | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | ΣI | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | ΣI | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | ΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
type | ΣI | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) |
dose[x] | ΣI | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | ΣI | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | ΣI | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | I | 0..1 | SimpleQuantity | First fill quantity |
duration | I | 0..1 | Duration | First fill duration |
dispenseInterval | I | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod | I | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed | I | 0..1 | unsignedInt | Number of refills authorized |
quantity | I | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
expectedSupplyDuration | I | 0..1 | Duration | Number of days supply per dispense |
performer | I | 0..1 | Reference(Organization) | Intended dispenser |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | I | 1..1 | Whether substitution is allowed or not Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | |
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | I | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) |
priorPrescription | I | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue | I | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory | I | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format |
Differential View
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | I | 0..* | Identifier | External ids for this request |
status | ?!SΣI | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | I | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) |
intent | ?!ΣI | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required) |
category | SI | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (preferred) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣI | 0..1 | boolean | True if request is prohibiting action Fixed Value: false |
reported[x] | SΣI | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson) | |||
medication[x] | SΣI | 1..1 | Medication to be taken Binding: US Core Medication Codes (RxNorm) (preferred) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(QICoreMedication) | |||
subject | SΣI | 1..1 | Reference(QICorePatient) | Who or group medication request is for |
encounter | SI | 0..1 | Reference(QICoreEncounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | I | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | SΣI | 1..1 | dateTime | When request was initially authored |
requester | SΣI | 1..1 | Reference(QICorePractitioner | QICorePractitionerRole | QICorePatient | QICoreRelatedPerson | QICoreOrganization) | Who/What requested the Request |
performer | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | ΣI | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | I | 0..1 | Reference(QICorePractitioner | QICorePractitionerRole) | Person who entered the request |
reasonCode | I | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | I | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | ΣI | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | ΣI | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | I | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | I | 0..* | Annotation | Information about the prescription |
dosageInstruction | SI | 0..* | Dosage | How the medication should be taken |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | ΣI | 0..1 | integer | The order of the dosage instructions |
text | SΣI | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | ΣI | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | ΣI | 0..1 | string | Patient or consumer oriented instructions |
timing | ΣI | 0..1 | Timing | When medication should be administered |
asNeeded[x] | ΣI | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | SΣI | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | ΣI | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | ΣI | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | ΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
type | ΣI | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) |
dose[x] | ΣI | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | ΣI | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | ΣI | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | I | 0..1 | SimpleQuantity | First fill quantity |
duration | I | 0..1 | Duration | First fill duration |
dispenseInterval | I | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod | I | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed | I | 0..1 | unsignedInt | Number of refills authorized |
quantity | I | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
expectedSupplyDuration | I | 0..1 | Duration | Number of days supply per dispense |
performer | I | 0..1 | Reference(Organization) | Intended dispenser |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | I | 1..1 | Whether substitution is allowed or not Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | |
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | I | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) |
priorPrescription | I | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue | I | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory | I | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format |
Id | Path | Details | Requirements |
dom-2 | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id 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-4 | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | MedicationRequest.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.intent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.doNotPerform | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reported[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.supportingInformation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.authoredOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.requester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.performerType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.recorder | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.instantiatesCanonical | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.instantiatesUri | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.groupIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.courseOfTherapyType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.insurance | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.sequence | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.additionalInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.patientInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.timing | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.asNeeded[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.site | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.route | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.doseAndRate.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.dose[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.rate[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerAdministration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerLifetime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.initialFill.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.initialFill.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.dispenseInterval | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.validityPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.expectedSupplyDuration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.substitution.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.substitution.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.substitution.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.substitution.allowed[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution.reason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.priorPrescription | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.detectedIssue | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.eventHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |