QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreMedicationAdministration

Defining URL: | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration
Version: | 4.1.0
Name: | QICoreMedicationAdministration
Status: | Draft as of 8/22/18
Definition: | Profile of MedicationAdministration for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
Publisher: | http://www.hl7.org/Special/committees/cqi/index.cfm
Source Resource: | XML / JSON / Turtle

The official URL for this profile is:

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

Usage

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

The MedicationAdministration and MedicationNotAdministered profiles represent the positive and negative statements for a medication administration. To ensure instances retrieved meet positive intent, applications should check the status element as illustrated in this example:

    // QICoreMedicationAdministration
    // @profile: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration
    define MedicationAdministration:
      [MedicationAdministration] M
        where M.status in { 'in-progress', 'on-hold', 'completed' }

The following example illustrates the accessing MedicationAdministration data:

    // connectathon/fhir4/cql/EXM108_FHIR4-8.2.000.cql
    define "Low Dose Unfractionated Heparin Administration":
      ["MedicationAdministration": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"] VTEMedication
        where VTEMedication.status = 'completed'
          and VTEMedication.category ~ "Inpatient"

See the patterns page for implementation and usage patterns.

### Examples

Inhalant Example

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from MedicationAdministration

Summary

Must-Support: 9 elements

Structures

This structure refers to these other structures:

- QICoreMedication (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication)
- QICorePatient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICoreEncounter (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter)
- QICorePractitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICoreRelatedPerson (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson)
- QICoreDevice (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device)
- QICoreMedicationRequest (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest)

This structure is derived from MedicationAdministration

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationAdministration |  | 0..* | MedicationAdministration | Administration of medication to a patient
status | S | 1..1 | code | in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
statusReason | S | 0..* | CodeableConcept | Reason administration not performed
medication[x] | S | 1..1 |  | What was administered 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 received medication
context | S | 0..1 | Reference(QICoreEncounter | EpisodeOfCare) | Encounter or Episode of Care administered as part of
effective[x] | S | 1..1 | dateTime, Period | Start and end time of administration
performer |  | 0..* | BackboneElement | Who performed the medication administration and what they did
actor |  | 1..1 | Reference(QICorePractitioner | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who performed the medication administration
reasonCode | S | 0..* | CodeableConcept | Reason administration performed
request |  | 0..1 | Reference(QICoreMedicationRequest) | Request administration performed against
device |  | 0..* | Reference(QICoreDevice) | Device used to administer
dosage |  | 0..1 | BackboneElement | Details of how medication was taken
route | S | 0..1 | CodeableConcept | Path of substance into body
dose | S | 0..1 | SimpleQuantity | Amount of medication per dose
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationAdministration |  | 0..* | MedicationAdministration | Administration of medication to 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
instantiates | Σ | 0..* | uri | Instantiates protocol or definition
partOf | Σ | 0..* | Reference(MedicationAdministration | Procedure) | Part of referenced event
status | ?!S Σ | 1..1 | code | in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
statusReason | S | 0..* | CodeableConcept | Reason administration not performed Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
category |  | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
medication[x] | S Σ | 1..1 |  | What was administered 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 received medication
context | S | 0..1 | Reference(QICoreEncounter | EpisodeOfCare) | Encounter or Episode of Care administered as part of
supportingInformation |  | 0..* | Reference(Resource) | Additional information to support administration
effective[x] | S Σ | 1..1 |  | Start and end time of administration
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
performer | Σ | 0..* | BackboneElement | Who performed the medication administration and what they did
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
function |  | 0..1 | CodeableConcept | Type of performance Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
actor | Σ | 1..1 | Reference(QICorePractitioner | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who performed the medication administration
reasonCode | S | 0..* | CodeableConcept | Reason administration performed Binding: ReasonMedicationGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration was made.
reasonReference |  | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication was administered
request |  | 0..1 | Reference(QICoreMedicationRequest) | Request administration performed against
device |  | 0..* | Reference(QICoreDevice) | Device used to administer
note |  | 0..* | Annotation | Information about the administration
dosage | I | 0..1 | BackboneElement | Details of how medication was taken
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text |  | 0..1 | string | Free text dosage instructions e.g. SIG
site |  | 0..1 | CodeableConcept | Body site administered to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
route | S | 0..1 | CodeableConcept | Path of substance into 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 | How drug was administered Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
dose | S | 0..1 | SimpleQuantity | Amount of medication per dose
rate[x] |  | 0..1 |  | Dose quantity per unit of time
rateRatio |  |  | Ratio |
rateQuantity |  |  | Quantity(SimpleQuantity) |
eventHistory |  | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationAdministration |  | 0..* | MedicationAdministration | Administration of medication to a patient
status | ?!Σ | 1..1 | code | in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
statusReason |  | 0..* | CodeableConcept | Reason administration not performed Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
medication[x] | Σ | 1..1 |  | What was administered 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 received medication
context |  | 0..1 | Reference(QICoreEncounter | EpisodeOfCare) | Encounter or Episode of Care administered as part of
effective[x] | Σ | 1..1 |  | Start and end time of administration
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
reasonCode |  | 0..* | CodeableConcept | Reason administration performed Binding: ReasonMedicationGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration was made.
dosage | I | 0..1 | BackboneElement | Details of how medication was taken
route |  | 0..1 | CodeableConcept | Path of substance into 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.
dose |  | 0..1 | SimpleQuantity | Amount of medication per dose
Documentation for this format

This structure is derived from MedicationAdministration

Summary

Must-Support: 9 elements

Structures

This structure refers to these other structures:

- QICoreMedication (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication)
- QICorePatient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICoreEncounter (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter)
- QICorePractitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICoreRelatedPerson (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson)
- QICoreDevice (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device)
- QICoreMedicationRequest (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest)

Differential View

This structure is derived from MedicationAdministration

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationAdministration |  | 0..* | MedicationAdministration | Administration of medication to a patient
status | S | 1..1 | code | in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
statusReason | S | 0..* | CodeableConcept | Reason administration not performed
medication[x] | S | 1..1 |  | What was administered 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 received medication
context | S | 0..1 | Reference(QICoreEncounter | EpisodeOfCare) | Encounter or Episode of Care administered as part of
effective[x] | S | 1..1 | dateTime, Period | Start and end time of administration
performer |  | 0..* | BackboneElement | Who performed the medication administration and what they did
actor |  | 1..1 | Reference(QICorePractitioner | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who performed the medication administration
reasonCode | S | 0..* | CodeableConcept | Reason administration performed
request |  | 0..1 | Reference(QICoreMedicationRequest) | Request administration performed against
device |  | 0..* | Reference(QICoreDevice) | Device used to administer
dosage |  | 0..1 | BackboneElement | Details of how medication was taken
route | S | 0..1 | CodeableConcept | Path of substance into body
dose | S | 0..1 | SimpleQuantity | Amount of medication per dose
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationAdministration |  | 0..* | MedicationAdministration | Administration of medication to 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
instantiates | Σ | 0..* | uri | Instantiates protocol or definition
partOf | Σ | 0..* | Reference(MedicationAdministration | Procedure) | Part of referenced event
status | ?!S Σ | 1..1 | code | in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
statusReason | S | 0..* | CodeableConcept | Reason administration not performed Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
category |  | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
medication[x] | S Σ | 1..1 |  | What was administered 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 received medication
context | S | 0..1 | Reference(QICoreEncounter | EpisodeOfCare) | Encounter or Episode of Care administered as part of
supportingInformation |  | 0..* | Reference(Resource) | Additional information to support administration
effective[x] | S Σ | 1..1 |  | Start and end time of administration
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
performer | Σ | 0..* | BackboneElement | Who performed the medication administration and what they did
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
function |  | 0..1 | CodeableConcept | Type of performance Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
actor | Σ | 1..1 | Reference(QICorePractitioner | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who performed the medication administration
reasonCode | S | 0..* | CodeableConcept | Reason administration performed Binding: ReasonMedicationGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration was made.
reasonReference |  | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication was administered
request |  | 0..1 | Reference(QICoreMedicationRequest) | Request administration performed against
device |  | 0..* | Reference(QICoreDevice) | Device used to administer
note |  | 0..* | Annotation | Information about the administration
dosage | I | 0..1 | BackboneElement | Details of how medication was taken
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text |  | 0..1 | string | Free text dosage instructions e.g. SIG
site |  | 0..1 | CodeableConcept | Body site administered to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
route | S | 0..1 | CodeableConcept | Path of substance into 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 | How drug was administered Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
dose | S | 0..1 | SimpleQuantity | Amount of medication per dose
rate[x] |  | 0..1 |  | Dose quantity per unit of time
rateRatio |  |  | Ratio |
rateQuantity |  |  | Quantity(SimpleQuantity) |
eventHistory |  | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
MedicationAdministration.language | preferred | CommonLanguages Max Binding: AllLanguages
MedicationAdministration.status | required | MedicationAdministration Status Codes
MedicationAdministration.statusReason | example | SNOMEDCTReasonMedicationNotGivenCodes
MedicationAdministration.category | preferred | MedicationAdministration Category Codes
MedicationAdministration.medication[x] | preferred | USCoreMedicationCodes
MedicationAdministration.performer.function | example | MedicationAdministration Performer Function Codes
MedicationAdministration.reasonCode | example | ReasonMedicationGivenCodes
MedicationAdministration.dosage.site | example | SNOMEDCTAnatomicalStructureForAdministrationSiteCodes
MedicationAdministration.dosage.route | example | SNOMEDCTRouteCodes
MedicationAdministration.dosage.method | example | SNOMEDCTAdministrationMethodCodes

#### Constraints

Id | Grade | Path | Details | Requirements
dom-2 | error | MedicationAdministration | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | MedicationAdministration | 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 | MedicationAdministration | 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 | MedicationAdministration | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | Best Practice | MedicationAdministration | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | MedicationAdministration.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.instantiates | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.supportingInformation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.effective[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.performer.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.performer.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.performer.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.performer.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.performer.function | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.performer.actor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.request | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.device | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
mad-1 | error | MedicationAdministration.dosage | SHALL have at least one of dosage.dose or dosage.rate[x] : dose.exists() or rate.exists() |
ele-1 | error | MedicationAdministration.dosage.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.dosage.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.dosage.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | MedicationAdministration.dosage.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | MedicationAdministration.dosage.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage.site | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage.route | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage.dose | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.dosage.rate[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | MedicationAdministration.eventHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |