QI-Core Implementation Guide
            
            4.1.1 - STU 4.1.1
  US
            
          
This page is part of the Quality Improvement Core Framework (v4.1.1: STU 4) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 7.0.1. For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationstatement | Version: 4.1.1 | |||
| Draft as of 2018-08-22 | Computable Name: QICoreMedicationStatement | |||
Profile of MedicationStatement for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
| Penicillin MedicationStatement Example | 
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationStatement
Summary
Mandatory: 1 element
 Must-Support: 11 elements
Structures
This structure refers to these other structures:
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
|    status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken | 
|    medication[x] | S | 1..1 | What medication was taken Binding: US Core Medication Codes (RxNorm) (preferred): The set of RxNorm codes to represent medications | |
|     medicationCodeableConcept | CodeableConcept | |||
|     medicationReference | Reference(QICoreMedication) | |||
|    subject | S | 1..1 | Reference(QICorePatient) | Who is/was taking the medication | 
|    effective[x] | S | 0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken | 
|    dateAsserted | S | 1..1 | dateTime | When the statement was asserted? | 
|    informationSource | S | 0..1 | Reference(QICorePatient | QICorePractitioner | QICoreRelatedPerson) | Person or organization that provided the information about the taking of this medication | 
|    derivedFrom | S | 0..* | Reference(Resource) | Additional supporting information | 
|    reasonCode | 0..* | CodeableConcept | Reason for why the medication is being/was taken | |
|    dosage | 0..* | Dosage | Details of how medication is/was taken or should be taken | |
|     modifierExtension | ?! | 0..* | Extension | Extension | 
|     timing | S | 0..1 | Timing | When medication should be administered | 
|     site | 0..1 | CodeableConcept | Body site to administer to | |
|     route | S | 0..1 | CodeableConcept | How drug should enter body | 
|     doseAndRate | S | 0..* | Element | Amount of medication administered | 
|      dose[x] | S | 0..1 | Range, SimpleQuantity | Amount of medication per dose | 
|  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
|    id | Σ | 0..1 | string | Logical id of this artifact | 
|    meta | Σ | 0..1 | Meta | Metadata about the resource | 
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ | 0..* | Identifier | External identifier | 
|    basedOn | Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | 
|    partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | 
|    status | ?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. | 
|    statusReason | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |
|    category | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | 
|    medication[x] | SΣ | 1..1 | What medication was taken Binding: US Core Medication Codes (RxNorm) (preferred): The set of RxNorm codes to represent medications | |
|     medicationCodeableConcept | CodeableConcept | |||
|     medicationReference | Reference(QICoreMedication) | |||
|    subject | SΣ | 1..1 | Reference(QICorePatient) | Who is/was taking the medication | 
|    context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | 
|    effective[x] | SΣ | 0..1 | The date/time or interval when the medication is/was/will be taken | |
|     effectiveDateTime | dateTime | |||
|     effectivePeriod | Period | |||
|    dateAsserted | SΣ | 1..1 | dateTime | When the statement was asserted? | 
|    informationSource | S | 0..1 | Reference(QICorePatient | QICorePractitioner | QICoreRelatedPerson) | Person or organization that provided the information about the taking of this medication | 
|    derivedFrom | S | 0..* | Reference(Resource) | Additional supporting information | 
|    reasonCode | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | |
|    reasonReference | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |
|    note | 0..* | Annotation | Further information about the statement | |
|    dosage | 0..* | Dosage | Details of how medication is/was taken or should be taken | |
|     id | 0..1 | string | Unique id for inter-element referencing | |
|     Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
|     modifierExtension | ?!Σ | 0..* | Extension | Extension | 
|     sequence | Σ | 0..1 | integer | The order of the dosage instructions | 
|     text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG | 
|     additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | 
|     patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions | 
|     timing | SΣ | 0..1 | Timing | When medication should be administered | 
|     asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |
|      asNeededBoolean | boolean | |||
|      asNeededCodeableConcept | CodeableConcept | |||
|     site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. | 
|     route | SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | 
|     method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | 
|     doseAndRate | SΣ | 0..* | Element | Amount of medication administered | 
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
|      type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | 
|      dose[x] | SΣ | 0..1 | Amount of medication per dose | |
|       doseRange | Range | |||
|       doseQuantity | Quantity(SimpleQuantity) | |||
|      rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
|       rateRatio | Ratio | |||
|       rateRange | Range | |||
|       rateQuantity | Quantity(SimpleQuantity) | |||
|     maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time | 
|     maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration | 
|     maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | 
|  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
|    status | ?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. | 
|    medication[x] | Σ | 1..1 | What medication was taken Binding: US Core Medication Codes (RxNorm) (preferred): The set of RxNorm codes to represent medications | |
|     medicationCodeableConcept | CodeableConcept | |||
|     medicationReference | Reference(QICoreMedication) | |||
|    subject | Σ | 1..1 | Reference(QICorePatient) | Who is/was taking the medication | 
|    effective[x] | Σ | 0..1 | The date/time or interval when the medication is/was/will be taken | |
|     effectiveDateTime | dateTime | |||
|     effectivePeriod | Period | |||
|    dateAsserted | Σ | 1..1 | dateTime | When the statement was asserted? | 
|    informationSource | 0..1 | Reference(QICorePatient | QICorePractitioner | QICoreRelatedPerson) | Person or organization that provided the information about the taking of this medication | |
|    derivedFrom | 0..* | Reference(Resource) | Additional supporting information | |
|    dosage | 0..* | Dosage | Details of how medication is/was taken or should be taken | |
|     timing | Σ | 0..1 | Timing | When medication should be administered | 
|     route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | 
|     doseAndRate | Σ | 0..* | Element | Amount of medication administered | 
|      dose[x] | Σ | 0..1 | Amount of medication per dose | |
|       doseRange | Range | |||
|       doseQuantity | Quantity(SimpleQuantity) | |||
|  Documentation for this format | ||||
This structure is derived from MedicationStatement
Summary
Mandatory: 1 element
 Must-Support: 11 elements
Structures
This structure refers to these other structures:
Differential View
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
|    status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken | 
|    medication[x] | S | 1..1 | What medication was taken Binding: US Core Medication Codes (RxNorm) (preferred): The set of RxNorm codes to represent medications | |
|     medicationCodeableConcept | CodeableConcept | |||
|     medicationReference | Reference(QICoreMedication) | |||
|    subject | S | 1..1 | Reference(QICorePatient) | Who is/was taking the medication | 
|    effective[x] | S | 0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken | 
|    dateAsserted | S | 1..1 | dateTime | When the statement was asserted? | 
|    informationSource | S | 0..1 | Reference(QICorePatient | QICorePractitioner | QICoreRelatedPerson) | Person or organization that provided the information about the taking of this medication | 
|    derivedFrom | S | 0..* | Reference(Resource) | Additional supporting information | 
|    reasonCode | 0..* | CodeableConcept | Reason for why the medication is being/was taken | |
|    dosage | 0..* | Dosage | Details of how medication is/was taken or should be taken | |
|     modifierExtension | ?! | 0..* | Extension | Extension | 
|     timing | S | 0..1 | Timing | When medication should be administered | 
|     site | 0..1 | CodeableConcept | Body site to administer to | |
|     route | S | 0..1 | CodeableConcept | How drug should enter body | 
|     doseAndRate | S | 0..* | Element | Amount of medication administered | 
|      dose[x] | S | 0..1 | Range, SimpleQuantity | Amount of medication per dose | 
|  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
|    id | Σ | 0..1 | string | Logical id of this artifact | 
|    meta | Σ | 0..1 | Meta | Metadata about the resource | 
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ | 0..* | Identifier | External identifier | 
|    basedOn | Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | 
|    partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | 
|    status | ?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. | 
|    statusReason | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |
|    category | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | 
|    medication[x] | SΣ | 1..1 | What medication was taken Binding: US Core Medication Codes (RxNorm) (preferred): The set of RxNorm codes to represent medications | |
|     medicationCodeableConcept | CodeableConcept | |||
|     medicationReference | Reference(QICoreMedication) | |||
|    subject | SΣ | 1..1 | Reference(QICorePatient) | Who is/was taking the medication | 
|    context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | 
|    effective[x] | SΣ | 0..1 | The date/time or interval when the medication is/was/will be taken | |
|     effectiveDateTime | dateTime | |||
|     effectivePeriod | Period | |||
|    dateAsserted | SΣ | 1..1 | dateTime | When the statement was asserted? | 
|    informationSource | S | 0..1 | Reference(QICorePatient | QICorePractitioner | QICoreRelatedPerson) | Person or organization that provided the information about the taking of this medication | 
|    derivedFrom | S | 0..* | Reference(Resource) | Additional supporting information | 
|    reasonCode | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | |
|    reasonReference | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |
|    note | 0..* | Annotation | Further information about the statement | |
|    dosage | 0..* | Dosage | Details of how medication is/was taken or should be taken | |
|     id | 0..1 | string | Unique id for inter-element referencing | |
|     Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
|     modifierExtension | ?!Σ | 0..* | Extension | Extension | 
|     sequence | Σ | 0..1 | integer | The order of the dosage instructions | 
|     text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG | 
|     additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | 
|     patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions | 
|     timing | SΣ | 0..1 | Timing | When medication should be administered | 
|     asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |
|      asNeededBoolean | boolean | |||
|      asNeededCodeableConcept | CodeableConcept | |||
|     site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. | 
|     route | SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | 
|     method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | 
|     doseAndRate | SΣ | 0..* | Element | Amount of medication administered | 
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
|      type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | 
|      dose[x] | SΣ | 0..1 | Amount of medication per dose | |
|       doseRange | Range | |||
|       doseQuantity | Quantity(SimpleQuantity) | |||
|      rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
|       rateRatio | Ratio | |||
|       rateRange | Range | |||
|       rateQuantity | Quantity(SimpleQuantity) | |||
|     maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time | 
|     maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration | 
|     maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | 
|  Documentation for this format | ||||
Other representations of profile: CSV, Excel, Schematron
| Path | Conformance | ValueSet | 
| MedicationStatement.language | preferred | CommonLanguages Max Binding: AllLanguages | 
| MedicationStatement.status | required | Medication Status Codes | 
| MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodes | 
| MedicationStatement.category | preferred | Medication usage category codes | 
| MedicationStatement.medication[x] | preferred | USCoreMedicationCodes | 
| MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodes | 
| MedicationStatement.dosage.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructions | 
| MedicationStatement.dosage.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodes | 
| MedicationStatement.dosage.site | example | SNOMEDCTAnatomicalStructureForAdministrationSiteCodes | 
| MedicationStatement.dosage.route | example | SNOMEDCTRouteCodes | 
| MedicationStatement.dosage.method | example | SNOMEDCTAdministrationMethodCodes | 
| MedicationStatement.dosage.doseAndRate.type | example | DoseAndRateType | 
| Id | Grade | Path | Details | Requirements | 
| dom-2 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | MedicationStatement | 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 | error | MedicationStatement | 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 | error | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | Best Practice | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | MedicationStatement.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | MedicationStatement.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | MedicationStatement.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | MedicationStatement.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | MedicationStatement.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.effective[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dateAsserted | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.informationSource | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.derivedFrom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | MedicationStatement.dosage.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | MedicationStatement.dosage.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | MedicationStatement.dosage.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | MedicationStatement.dosage.sequence | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.additionalInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.patientInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.timing | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.asNeeded[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.site | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.route | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.doseAndRate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.doseAndRate.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | MedicationStatement.dosage.doseAndRate.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | MedicationStatement.dosage.doseAndRate.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.doseAndRate.dose[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.doseAndRate.rate[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.maxDosePerPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.maxDosePerAdministration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ele-1 | error | MedicationStatement.dosage.maxDosePerLifetime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |