MediRecords FHIR Implementation Guide
1.4.2 - release


Resource Profile: MR MedicationAdministration Admission (Draft)

Defining URL:https://fhir.medirecords.com/StructureDefinition/mr-medication-administration-admission
Version:1.4.2
Name:MRMedicationAdministrationAdmission
Title:MR MedicationAdministration Admission (Draft)
Status:Active as of 2025-04-15 05:35:16+0000
Definition:

MediRecords MedicationAdministration profile to record details about a patient receiving a medication.

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://fhir.medirecords.com/StructureDefinition/mr-medication-administration-admission

Formal Views of Profile Content

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

This structure is derived from AUBaseMedicationAdministration

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationAdministration 0..* AUBaseMedicationAdministration A record of medication administered to a patient in an Australian healthcare context
... meta S 0..1 MRMeta Metadata about a resource
... status S 1..1 code Indicates if the medication was given (completed) or not given (not-done).
Binding: MediRecords Medication Administration Status ValueSet (required)
... statusReason S 0..1 CodeableConcept Reason administration not performed
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference S 1..1 Reference(MR Medication Admission (Draft)) The medication that was administered
... subject S 1..1 Reference(MR Patient) The patient who received the medication
... context S 0..1 Reference(MR Encounter Admission) The encounter that the medication administration is associated with
... Slices for effective[x] 1..1 dateTime Start and end time of administration
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 1..1 dateTime When the medication was administered represented as dateTime with timezone offset
... performer S 0..1 BackboneElement The medication that was administered.
.... actor S 1..1 Reference(MR Practitioner) Who performed the medication administration
... request S 1..1 Reference(MR MedicationRequest Admission (Draft)) The medication request that this administration is fulfilling
... dosage S 0..1 BackboneElement Details of how the medication was administered
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... doseQuantityText S 0..1 string Dose Quantity Text
URL: https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn
.... route S 0..1 CodeableConcept Path of substance into body

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationAdministration 0..* AUBaseMedicationAdministration A record of medication administered to a patient in an Australian healthcare context
... id Σ 0..1 id Logical id of this artifact
... meta S 0..1 MRMeta Metadata about a 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): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... 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 Indicates if the medication was given (completed) or not given (not-done).
Binding: MediRecords Medication Administration Status ValueSet (required)
... statusReason S 0..1 CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.


... category S 0..1 CodeableConcept Context category of the medication administration.
Binding: MediRecords MedicationAdministration Category ValueSet Admission (required)
... Slices for medication[x] Σ 1..1 Reference(Medication) Medication Detail
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.

.... medication[x]:medicationReference SΣ 1..1 Reference(MR Medication Admission (Draft)) The medication that was administered
.... medication[x]:medicationCodeableConcept Σ 0..1 CodeableConcept Coded Medication
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.

..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Medication Codes
Slice: Unordered, Open by value:system
...... coding:pbs Σ 0..* Coding PBS Item Code
Binding: PBS Item Codes (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://pbs.gov.au/code/item
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:gtin Σ 0..* Coding Medication Package Global Trade Item Number (GTIN)
Binding: GTIN (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.gs1.org/gtin
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:amt Σ 0..* Coding AMT Medicines
Binding: Australian Medication . (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
........ medicationClass 0..1 Coding Medication type
URL: http://hl7.org.au/fhir/StructureDefinition/medication-type
Binding: Medication Type (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:mimsPackage Σ 0..1 Coding MIMS Package
Binding: MIMS (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.mims.com.au/codes
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(MR Patient) The patient who received the medication
... context S 0..1 Reference(MR Encounter Admission) The encounter that the medication administration is associated with
... supportingInformation 0..* Reference(Resource) Additional information to support administration
... Slices for effective[x] Σ 1..1 dateTime Start and end time of administration
Slice: Unordered, Closed by type:$this
.... effective[x]:effectiveDateTime SΣ 1..1 dateTime When the medication was administered represented as dateTime with timezone offset
... performer SΣ 0..1 BackboneElement The medication that was administered.
.... 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 SΣ 1..1 Reference(MR Practitioner) Who performed the medication administration
... reasonCode 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 S 1..1 Reference(MR MedicationRequest Admission (Draft)) The medication request that this administration is fulfilling
... device 0..* Reference(Device) Device used to administer
... note 0..* Annotation Information about the administration
... dosage SC 0..1 BackboneElement Details of how the medication was administered
mad-1: SHALL have at least one of dosage.dose or dosage.rate[x]
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... doseQuantityText S 0..1 string Dose Quantity Text
URL: https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn
.... 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: Body Site . (preferred)
.... route S 0..1 CodeableConcept Path of substance into body
Binding: Route of Administration . (preferred)
.... method 0..1 CodeableConcept How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (preferred)
.... dose 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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationAdministration 0..* AUBaseMedicationAdministration A record of medication administered to a patient in an Australian healthcare context
... meta 0..1 MRMeta Metadata about a resource
... status ?!Σ 1..1 code Indicates if the medication was given (completed) or not given (not-done).
Binding: MediRecords Medication Administration Status ValueSet (required)
... statusReason 0..1 CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.


... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference Σ 1..1 Reference(MR Medication Admission (Draft)) The medication that was administered
... subject Σ 1..1 Reference(MR Patient) The patient who received the medication
... context 0..1 Reference(MR Encounter Admission) The encounter that the medication administration is associated with
... Slices for effective[x] Content/Rules for all slices
.... effective[x]:effectiveDateTime Σ 1..1 dateTime When the medication was administered represented as dateTime with timezone offset
... performer Σ 0..1 BackboneElement The medication that was administered.
.... actor Σ 1..1 Reference(MR Practitioner) Who performed the medication administration
... request 1..1 Reference(MR MedicationRequest Admission (Draft)) The medication request that this administration is fulfilling
... dosage C 0..1 BackboneElement Details of how the medication was administered
mad-1: SHALL have at least one of dosage.dose or dosage.rate[x]
.... Slices for extension Content/Rules for all slices
..... doseQuantityText 0..1 string Dose Quantity Text
URL: https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn
.... route 0..1 CodeableConcept Path of substance into body
Binding: Route of Administration . (preferred)

doco Documentation for this format

Differential View

This structure is derived from AUBaseMedicationAdministration

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationAdministration 0..* AUBaseMedicationAdministration A record of medication administered to a patient in an Australian healthcare context
... meta S 0..1 MRMeta Metadata about a resource
... status S 1..1 code Indicates if the medication was given (completed) or not given (not-done).
Binding: MediRecords Medication Administration Status ValueSet (required)
... statusReason S 0..1 CodeableConcept Reason administration not performed
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference S 1..1 Reference(MR Medication Admission (Draft)) The medication that was administered
... subject S 1..1 Reference(MR Patient) The patient who received the medication
... context S 0..1 Reference(MR Encounter Admission) The encounter that the medication administration is associated with
... Slices for effective[x] 1..1 dateTime Start and end time of administration
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 1..1 dateTime When the medication was administered represented as dateTime with timezone offset
... performer S 0..1 BackboneElement The medication that was administered.
.... actor S 1..1 Reference(MR Practitioner) Who performed the medication administration
... request S 1..1 Reference(MR MedicationRequest Admission (Draft)) The medication request that this administration is fulfilling
... dosage S 0..1 BackboneElement Details of how the medication was administered
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... doseQuantityText S 0..1 string Dose Quantity Text
URL: https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn
.... route S 0..1 CodeableConcept Path of substance into body

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationAdministration 0..* AUBaseMedicationAdministration A record of medication administered to a patient in an Australian healthcare context
... id Σ 0..1 id Logical id of this artifact
... meta S 0..1 MRMeta Metadata about a 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): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... 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 Indicates if the medication was given (completed) or not given (not-done).
Binding: MediRecords Medication Administration Status ValueSet (required)
... statusReason S 0..1 CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.


... category S 0..1 CodeableConcept Context category of the medication administration.
Binding: MediRecords MedicationAdministration Category ValueSet Admission (required)
... Slices for medication[x] Σ 1..1 Reference(Medication) Medication Detail
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.

.... medication[x]:medicationReference SΣ 1..1 Reference(MR Medication Admission (Draft)) The medication that was administered
.... medication[x]:medicationCodeableConcept Σ 0..1 CodeableConcept Coded Medication
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.

..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Medication Codes
Slice: Unordered, Open by value:system
...... coding:pbs Σ 0..* Coding PBS Item Code
Binding: PBS Item Codes (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://pbs.gov.au/code/item
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:gtin Σ 0..* Coding Medication Package Global Trade Item Number (GTIN)
Binding: GTIN (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.gs1.org/gtin
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:amt Σ 0..* Coding AMT Medicines
Binding: Australian Medication . (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
........ medicationClass 0..1 Coding Medication type
URL: http://hl7.org.au/fhir/StructureDefinition/medication-type
Binding: Medication Type (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:mimsPackage Σ 0..1 Coding MIMS Package
Binding: MIMS (preferred)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.mims.com.au/codes
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(MR Patient) The patient who received the medication
... context S 0..1 Reference(MR Encounter Admission) The encounter that the medication administration is associated with
... supportingInformation 0..* Reference(Resource) Additional information to support administration
... Slices for effective[x] Σ 1..1 dateTime Start and end time of administration
Slice: Unordered, Closed by type:$this
.... effective[x]:effectiveDateTime SΣ 1..1 dateTime When the medication was administered represented as dateTime with timezone offset
... performer SΣ 0..1 BackboneElement The medication that was administered.
.... 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 SΣ 1..1 Reference(MR Practitioner) Who performed the medication administration
... reasonCode 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 S 1..1 Reference(MR MedicationRequest Admission (Draft)) The medication request that this administration is fulfilling
... device 0..* Reference(Device) Device used to administer
... note 0..* Annotation Information about the administration
... dosage SC 0..1 BackboneElement Details of how the medication was administered
mad-1: SHALL have at least one of dosage.dose or dosage.rate[x]
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... doseQuantityText S 0..1 string Dose Quantity Text
URL: https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn
.... 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: Body Site . (preferred)
.... route S 0..1 CodeableConcept Path of substance into body
Binding: Route of Administration . (preferred)
.... method 0..1 CodeableConcept How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (preferred)
.... dose 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

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
MedicationAdministration.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationAdministration.statusrequiredMRMedicationAdministrationStatus
https://fhir.medirecords.com/ValueSet/mr-medication-admin-status
from this IG
MedicationAdministration.statusReasonexampleSNOMEDCTReasonMedicationNotGivenCodes
http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes
from the FHIR Standard
MedicationAdministration.categoryrequiredMRMedicationAdministrationCategoryAdmission
https://fhir.medirecords.com/ValueSet/mr-medicationadministration-category-admission
from this IG
MedicationAdministration.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationAdministration.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationAdministration.medication[x]:medicationCodeableConcept.coding:pbspreferredPBSItemCodes
http://terminology.hl7.org.au/ValueSet/pbs-item
MedicationAdministration.medication[x]:medicationCodeableConcept.coding:gtinpreferredGTIN
http://terminology.hl7.org/ValueSet/v3-GTIN
MedicationAdministration.medication[x]:medicationCodeableConcept.coding:amtpreferredAustralianMedication .
https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1
MedicationAdministration.medication[x]:medicationCodeableConcept.coding:mimsPackagepreferredMIMS
http://terminology.hl7.org.au/ValueSet/mims
MedicationAdministration.performer.functionexampleMedicationAdministration Performer Function Codes
http://hl7.org/fhir/ValueSet/med-admin-perform-function
from the FHIR Standard
MedicationAdministration.reasonCodeexampleReasonMedicationGivenCodes
http://hl7.org/fhir/ValueSet/reason-medication-given-codes
from the FHIR Standard
MedicationAdministration.dosage.sitepreferredBodySite .
https://healthterminologies.gov.au/fhir/ValueSet/body-site-1
MedicationAdministration.dosage.routepreferredRouteOfAdministration .
https://healthterminologies.gov.au/fhir/ValueSet/route-of-administration-1
MedicationAdministration.dosage.methodpreferredSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationAdministrationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationAdministrationIf 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-4errorMedicationAdministrationIf 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-5errorMedicationAdministrationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationAdministrationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
mad-1errorMedicationAdministration.dosageSHALL have at least one of dosage.dose or dosage.rate[x]
: dose.exists() or rate.exists()