Magentus Practice Management FHIR® Implementation Guide
1.3.2 - Release
Australia
Magentus Practice Management FHIR® Implementation Guide - Downloaded Version 1.3.2 See the Directory of published versions
| Official URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-medicationstatement | Version: 1.3.2 | ||||
| Active as of 2026-10-02 | Computable Name: EOrdersMedicationStatement | ||||
Genie Solutions EOrders Medication Statement describing medications relevant to supporting clinical information for diagnostic requests. This is typically current medications.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||
![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Medication Long Term Indicator URL: http://hl7.org.au/fhir/StructureDefinition/medication-long-term | |||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||
![]() ![]() |
?!Σ | 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. Required Pattern: active | ||||||||||
![]() ![]() |
Σ | 1..1 | Medication Detail Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||||||||
![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Coded Medication Binding: SNOMEDCTMedicationCodes (example)
| ||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Medication type URL: http://hl7.org.au/fhir/StructureDefinition/medication-type Binding: Medication Type (required) | |||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Medication primary text | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Medication) | Medication Reference | ||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Genie Patient) | Who is/was taking the medication | ||||||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken | ||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Medication Reason Taken (preferred) | |||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||||||||
![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||||||||
![]() ![]() |
0..* | AUBaseDosage | Details of how medication is/was taken or should be taken | |||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
Documentation for this format | ||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.reasonCode | Base | preferred |
Medication Reason Taken
|
⏿1.1.0 | tx.hl7.org.au |
| Id | Grade | Path(s) | Description | Expression |
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() |
1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Required Pattern: active | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded Medication | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Medication primary text |
![]() ![]() |
S | 1..1 | Reference(Genie Patient) | Who is/was taking the medication |
![]() ![]() |
0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
S | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
S | 0..* | Annotation | Further information about the statement |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 0..1 | string | Free text dosage instructions e.g. SIG |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | Range, SimpleQuantity(4.0.1) | Amount of medication per dose Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() |
0..1 | Ratio, Range, SimpleQuantity(4.0.1) | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Numerical value (with implicit precision) |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
0..1 | boolean | Medication Long Term Indicator URL: http://hl7.org.au/fhir/StructureDefinition/medication-long-term | |||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||||||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||||||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||||||||
![]() ![]() |
?!Σ | 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. Required Pattern: active | ||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||||||||
![]() ![]() |
Σ | 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. | ||||||||||
![]() ![]() |
Σ | 1..1 | Medication Detail Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||||||||
![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Coded Medication Binding: SNOMEDCTMedicationCodes (example)
| ||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Medication type URL: http://hl7.org.au/fhir/StructureDefinition/medication-type Binding: Medication Type (required) | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Medication primary text | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Medication) | Medication Reference | ||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Genie Patient) | Who is/was taking the medication | ||||||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken | ||||||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||||||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||||||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Medication Reason Taken (preferred) | |||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||||||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |||||||||||
![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||||||||
![]() ![]() |
0..* | AUBaseDosage | Details of how medication is/was taken or should be taken | |||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: Clinical Finding (preferred) | |||||||||||
![]() ![]() ![]() ![]() |
boolean | |||||||||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: Body Site (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: Route of Administration (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Upper limit on medication per administration | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Upper limit on medication per lifetime of the patient | ||||||||||
Documentation for this format | ||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationStatement.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.statusReason | Base | example | SNOMED CT Drug Therapy Status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.category | Base | preferred | Medication usage category codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.reasonCode | Base | preferred |
Medication Reason Taken
|
⏿1.1.0 | tx.hl7.org.au |
| MedicationStatement.dosage.additionalInstruction | Base | preferred | SNOMED CT Additional Dosage Instructions | 📦4.0.1 | FHIR Std. |
| MedicationStatement.dosage.asNeeded[x] | Base | preferred |
Clinical Finding
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.site | Base | preferred |
Body Site
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.route | Base | preferred |
Route of Administration
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.method | Base | preferred | SNOMED CT Administration Method Codes | 📦4.0.1 | FHIR Std. |
| MedicationStatement.dosage.doseAndRate.type | Base | example | DoseAndRateType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Summary
Mandatory: 1 element
Must-Support: 9 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||
![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Medication Long Term Indicator URL: http://hl7.org.au/fhir/StructureDefinition/medication-long-term | |||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||
![]() ![]() |
?!Σ | 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. Required Pattern: active | ||||||||||
![]() ![]() |
Σ | 1..1 | Medication Detail Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||||||||
![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Coded Medication Binding: SNOMEDCTMedicationCodes (example)
| ||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Medication type URL: http://hl7.org.au/fhir/StructureDefinition/medication-type Binding: Medication Type (required) | |||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Medication primary text | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Medication) | Medication Reference | ||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Genie Patient) | Who is/was taking the medication | ||||||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken | ||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Medication Reason Taken (preferred) | |||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||||||||
![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||||||||
![]() ![]() |
0..* | AUBaseDosage | Details of how medication is/was taken or should be taken | |||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
Documentation for this format | ||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.reasonCode | Base | preferred |
Medication Reason Taken
|
⏿1.1.0 | tx.hl7.org.au |
| Id | Grade | Path(s) | Description | Expression |
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() |
1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Required Pattern: active | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded Medication | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Medication primary text |
![]() ![]() |
S | 1..1 | Reference(Genie Patient) | Who is/was taking the medication |
![]() ![]() |
0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
S | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
S | 0..* | Annotation | Further information about the statement |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 0..1 | string | Free text dosage instructions e.g. SIG |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | Range, SimpleQuantity(4.0.1) | Amount of medication per dose Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() |
0..1 | Ratio, Range, SimpleQuantity(4.0.1) | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Numerical value (with implicit precision) |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AUBaseMedicationStatement | A record of medication being taken by a patient in an Australian healthcare context | |||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||
![]() ![]() |
1..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
0..1 | boolean | Medication Long Term Indicator URL: http://hl7.org.au/fhir/StructureDefinition/medication-long-term | |||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||||||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||||||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||||||||
![]() ![]() |
?!Σ | 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. Required Pattern: active | ||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||||||||
![]() ![]() |
Σ | 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. | ||||||||||
![]() ![]() |
Σ | 1..1 | Medication Detail Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||||||||
![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Coded Medication Binding: SNOMEDCTMedicationCodes (example)
| ||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Medication type URL: http://hl7.org.au/fhir/StructureDefinition/medication-type Binding: Medication Type (required) | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Medication primary text | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Medication) | Medication Reference | ||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Genie Patient) | Who is/was taking the medication | ||||||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken | ||||||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||||||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||||||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||||||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Medication Reason Taken (preferred) | |||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||||||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |||||||||||
![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||||||||
![]() ![]() |
0..* | AUBaseDosage | Details of how medication is/was taken or should be taken | |||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||||||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: Clinical Finding (preferred) | |||||||||||
![]() ![]() ![]() ![]() |
boolean | |||||||||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: Body Site (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: Route of Administration (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (preferred) | ||||||||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per dose | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit | ||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time Slice: Unordered, Open by type:$this | |||||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Amount of medication per unit of time | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Numerical value (with implicit precision) | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Upper limit on medication per administration | ||||||||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.0.1) | Upper limit on medication per lifetime of the patient | ||||||||||
Documentation for this format | ||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationStatement.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.statusReason | Base | example | SNOMED CT Drug Therapy Status codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.category | Base | preferred | Medication usage category codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.reasonCode | Base | preferred |
Medication Reason Taken
|
⏿1.1.0 | tx.hl7.org.au |
| MedicationStatement.dosage.additionalInstruction | Base | preferred | SNOMED CT Additional Dosage Instructions | 📦4.0.1 | FHIR Std. |
| MedicationStatement.dosage.asNeeded[x] | Base | preferred |
Clinical Finding
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.site | Base | preferred |
Body Site
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.route | Base | preferred |
Route of Administration
|
⏿1.0.2 | tx.hl7.org.au |
| MedicationStatement.dosage.method | Base | preferred | SNOMED CT Administration Method Codes | 📦4.0.1 | FHIR Std. |
| MedicationStatement.dosage.doseAndRate.type | Base | example | DoseAndRateType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Summary
Mandatory: 1 element
Must-Support: 9 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron