IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft)
IE Medication Events Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationstatement | Version: 0.1.0 | |||
| Draft as of 2026-09-28 | Computable Name: IEMpdMedicationStatement | |||
What a patient is taking, has taken or will take, as reported by the patient, a carer or a clinician (a medication use statement), derived from the HL7 Europe Base MedicationStatement (medicationStatement-eu-core). Traced to the HIQA draft Patient Summary Section 6.3 (Medication). Aligned with the Xt-EHR EHDSMedicationUse logical model v1.0.0; the R5 equivalent is MedicationUsage.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Type of adherence. Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "code" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of adherence Binding: R5MedicationStatementAdherenceForR4 (0.1.0) (example) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Details of the reason for the current use of the medication (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 0..* | Identifier | Medication Statement Identifier |
![]() ![]() |
?!SΣ | 1..1 | code | Status of the medication use statement (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. |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. |
![]() ![]() |
SΣ | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this Binding: Medications - IPS (example) | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication |
![]() ![]() |
SΣ | 0..1 | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period when the medication is/was or should be used. |
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement |
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. |
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement |
![]() ![]() ![]() |
Σ | 1..1 | markdown | Textual note about the statement |
![]() ![]() |
S | 1..* | Dosage | Details of how medication is/was taken or should be taken. |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | string | Human-readable dosage instructions |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Element | When the event is to occur Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | positiveInt | Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Event occurs frequency times per period |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
![]() ![]() ![]() |
SΣ | 0..* | Element | Amount of medication administered |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Amount of medication per dose | |
![]() ![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.extension:adherence.extension:code.value[x] | Base | example | Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR R4 | 📍0.1.0 | Extensions for Using Data Elements from FHIR R5 in FHIR R4 v0.1 |
| 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.medication[x] | Base | example |
Medications - IPS
|
⏿2.0.1 | tx.ontoserver.csiro.au |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.route | Base | example | SNOMED CT Route Codes | 📍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 | MedicationStatement.implicitRules, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.value[x], MedicationStatement.extension:adherence.extension:reason, MedicationStatement.modifierExtension, MedicationStatement.identifier, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.medication[x], MedicationStatement.medication[x]:medicationCodeableConcept, MedicationStatement.subject, MedicationStatement.effective[x], MedicationStatement.effective[x]:effectivePeriod, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonCode, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.repeat, MedicationStatement.dosage.timing.repeat.frequency, MedicationStatement.dosage.timing.repeat.period, MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.dose[x] | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:reason, MedicationStatement.modifierExtension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.timing.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | MedicationStatement.dosage.timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | MedicationStatement.dosage.timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | MedicationStatement.dosage.timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | MedicationStatement.dosage.timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | MedicationStatement.dosage.timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | MedicationStatement.dosage.timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | MedicationStatement.dosage.timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | MedicationStatement.dosage.timing.repeat | If there's an offset, there must be a when (and not C, CM, CD, CV) |
offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
|
| tim-10 | error | MedicationStatement.dosage.timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
This structure is derived from MedicationStatementEuCore
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |
![]() ![]() |
S | 0..* | Identifier | Medication Statement Identifier |
![]() ![]() |
S | 1..1 | code | Status of the medication use statement (active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication |
![]() ![]() |
S | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) | |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication |
![]() ![]() |
S | 0..1 | dateTime, Period | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) |
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement |
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) |
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement |
![]() ![]() |
S | 1..* | Dosage | Details of how medication is/was taken or should be taken. |
![]() ![]() ![]() |
S | 1..1 | string | Human-readable dosage instructions |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" |
![]() ![]() ![]() |
S | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Event occurs frequency times per period |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Body site to administer to |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How drug should enter body |
![]() ![]() ![]() |
S | 0..* | Element | Amount of medication administered |
![]() ![]() ![]() ![]() |
S | 0..1 | Range, SimpleQuantity(4.0.1) | Amount of medication per dose |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |||||
![]() ![]() |
Σ | 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 statement Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Type of adherence. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of adherence Binding: R5MedicationStatementAdherenceForR4 (0.1.0) (example) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Details of the reason for the current use of the medication (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Details of the reason for the current use of the medication | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence" | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Medication Statement Identifier | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status of the medication use statement (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. | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of intended use Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
| ||||
![]() ![]() |
SΣ | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this Binding: Medications - IPS (example) | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() |
SΣ | 0..1 | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period when the medication is/was or should be used. | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement | ||||
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | ||||
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | ||||
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Textual note about the statement | ||||
![]() ![]() |
S | 1..* | Dosage | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Human-readable dosage instructions | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | dateTime | When the event occurs | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Element | When the event is to occur Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Length/Range of lengths, or (Start and/or end) limits | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Maximum number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | How long when it happens | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | How long when it happens (Max) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | positiveInt | Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Upper limit of period (3-4 hours) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | time | Time of day for action | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | Code for time period of occurrence Binding: EventTiming (required): Real world event relating to the schedule. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Minutes from event (before or after) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
SΣ | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 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.extension:adherence.extension:code.value[x] | Base | example | Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR R4 | 📍0.1.0 | Extensions for Using Data Elements from FHIR R5 in FHIR R4 v0.1 |
| 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 |
Medications - IPS
|
⏿2.0.1 | tx.ontoserver.csiro.au |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.code | Base | preferred | TimingAbbreviation | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.asNeeded[x] | Base | example | SNOMED CT Medication As Needed Reason Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.route | Base | example | SNOMED CT Route Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.method | Base | example | 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 | MedicationStatement.meta, MedicationStatement.implicitRules, MedicationStatement.language, MedicationStatement.text, MedicationStatement.extension, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.extension, MedicationStatement.extension:adherence.extension:code.value[x], MedicationStatement.extension:adherence.extension:reason, MedicationStatement.extension:adherence.extension:reason.extension, MedicationStatement.extension:adherence.extension:reason.value[x], MedicationStatement.modifierExtension, MedicationStatement.identifier, MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.category, MedicationStatement.medication[x], MedicationStatement.medication[x]:medicationCodeableConcept, MedicationStatement.subject, MedicationStatement.context, MedicationStatement.effective[x], MedicationStatement.effective[x]:effectivePeriod, MedicationStatement.dateAsserted, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonCode, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.extension, MedicationStatement.note.author[x], MedicationStatement.note.time, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.extension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.sequence, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.patientInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.timing.extension, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.event, MedicationStatement.dosage.timing.repeat, MedicationStatement.dosage.timing.repeat.extension, MedicationStatement.dosage.timing.repeat.bounds[x], MedicationStatement.dosage.timing.repeat.count, MedicationStatement.dosage.timing.repeat.countMax, MedicationStatement.dosage.timing.repeat.duration, MedicationStatement.dosage.timing.repeat.durationMax, MedicationStatement.dosage.timing.repeat.durationUnit, MedicationStatement.dosage.timing.repeat.frequency, MedicationStatement.dosage.timing.repeat.frequencyMax, MedicationStatement.dosage.timing.repeat.period, MedicationStatement.dosage.timing.repeat.periodMax, MedicationStatement.dosage.timing.repeat.periodUnit, MedicationStatement.dosage.timing.repeat.dayOfWeek, MedicationStatement.dosage.timing.repeat.timeOfDay, MedicationStatement.dosage.timing.repeat.when, MedicationStatement.dosage.timing.repeat.offset, MedicationStatement.dosage.timing.code, MedicationStatement.dosage.asNeeded[x], MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.method, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.extension, MedicationStatement.dosage.doseAndRate.type, MedicationStatement.dosage.doseAndRate.dose[x], MedicationStatement.dosage.doseAndRate.rate[x], MedicationStatement.dosage.maxDosePerPeriod, MedicationStatement.dosage.maxDosePerAdministration, MedicationStatement.dosage.maxDosePerLifetime | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MedicationStatement.extension, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.extension, MedicationStatement.extension:adherence.extension:reason, MedicationStatement.extension:adherence.extension:reason.extension, MedicationStatement.modifierExtension, MedicationStatement.note.extension, MedicationStatement.dosage.extension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.timing.extension, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.repeat.extension, MedicationStatement.dosage.doseAndRate.extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | MedicationStatement.dosage.timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | MedicationStatement.dosage.timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | MedicationStatement.dosage.timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | MedicationStatement.dosage.timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | MedicationStatement.dosage.timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | MedicationStatement.dosage.timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | MedicationStatement.dosage.timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | MedicationStatement.dosage.timing.repeat | If there's an offset, there must be a when (and not C, CM, CD, CV) |
offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
|
| tim-10 | error | MedicationStatement.dosage.timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
This structure is derived from MedicationStatementEuCore
Summary
Mandatory: 2 elements
Must-Support: 21 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..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Type of adherence. Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "code" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of adherence Binding: R5MedicationStatementAdherenceForR4 (0.1.0) (example) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Details of the reason for the current use of the medication (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 0..* | Identifier | Medication Statement Identifier |
![]() ![]() |
?!SΣ | 1..1 | code | Status of the medication use statement (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. |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. |
![]() ![]() |
SΣ | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this Binding: Medications - IPS (example) | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication |
![]() ![]() |
SΣ | 0..1 | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period when the medication is/was or should be used. |
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement |
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. |
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement |
![]() ![]() ![]() |
Σ | 1..1 | markdown | Textual note about the statement |
![]() ![]() |
S | 1..* | Dosage | Details of how medication is/was taken or should be taken. |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | string | Human-readable dosage instructions |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Element | When the event is to occur Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | positiveInt | Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Event occurs frequency times per period |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
![]() ![]() ![]() |
SΣ | 0..* | Element | Amount of medication administered |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Amount of medication per dose | |
![]() ![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.extension:adherence.extension:code.value[x] | Base | example | Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR R4 | 📍0.1.0 | Extensions for Using Data Elements from FHIR R5 in FHIR R4 v0.1 |
| 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.medication[x] | Base | example |
Medications - IPS
|
⏿2.0.1 | tx.ontoserver.csiro.au |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.route | Base | example | SNOMED CT Route Codes | 📍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 | MedicationStatement.implicitRules, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.value[x], MedicationStatement.extension:adherence.extension:reason, MedicationStatement.modifierExtension, MedicationStatement.identifier, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.medication[x], MedicationStatement.medication[x]:medicationCodeableConcept, MedicationStatement.subject, MedicationStatement.effective[x], MedicationStatement.effective[x]:effectivePeriod, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonCode, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.repeat, MedicationStatement.dosage.timing.repeat.frequency, MedicationStatement.dosage.timing.repeat.period, MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.dose[x] | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:reason, MedicationStatement.modifierExtension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.timing.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | MedicationStatement.dosage.timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | MedicationStatement.dosage.timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | MedicationStatement.dosage.timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | MedicationStatement.dosage.timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | MedicationStatement.dosage.timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | MedicationStatement.dosage.timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | MedicationStatement.dosage.timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | MedicationStatement.dosage.timing.repeat | If there's an offset, there must be a when (and not C, CM, CD, CV) |
offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
|
| tim-10 | error | MedicationStatement.dosage.timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
Differential View
This structure is derived from MedicationStatementEuCore
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |
![]() ![]() |
S | 0..* | Identifier | Medication Statement Identifier |
![]() ![]() |
S | 1..1 | code | Status of the medication use statement (active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication |
![]() ![]() |
S | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) | |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication |
![]() ![]() |
S | 0..1 | dateTime, Period | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) |
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement |
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) |
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) |
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement |
![]() ![]() |
S | 1..* | Dosage | Details of how medication is/was taken or should be taken. |
![]() ![]() ![]() |
S | 1..1 | string | Human-readable dosage instructions |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" |
![]() ![]() ![]() |
S | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | decimal | Event occurs frequency times per period |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Body site to administer to |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How drug should enter body |
![]() ![]() ![]() |
S | 0..* | Element | Amount of medication administered |
![]() ![]() ![]() ![]() |
S | 0..1 | Range, SimpleQuantity(4.0.1) | Amount of medication per dose |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationStatementEuCore(2.0.0) | Record of medication being taken by a patient | |||||
![]() ![]() |
Σ | 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 statement Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Type of adherence. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of adherence Binding: R5MedicationStatementAdherenceForR4 (0.1.0) (example) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Details of the reason for the current use of the medication (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Details of the reason for the current use of the medication | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence" | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Medication Statement Identifier | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status of the medication use statement (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. | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Reason for the 'exception' statuses of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of intended use Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
| ||||
![]() ![]() |
SΣ | 1..1 | Medication (NMPC preferred; SNOMED CT Irish Edition and ATC as secondary codes) Slice: Unordered, Open by type:$this Binding: Medications - IPS (example) | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(IE MPD Medication (ePrescription/eDispensation)(0.1.0)) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What medication was taken Binding: IEMpdMedicationCodes (0.1.0) (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(IE MPD Patient(0.1.0)) | Who is/was taking the medication | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() |
SΣ | 0..1 | Period when the patient took or is taking the medication (EHDSMedicationUse.periodOfUse) Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period when the medication is/was or should be used. | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
S | 0..1 | Reference(IE MPD Patient(0.1.0) | IE MPD Practitioner(0.1.0) | IE MPD PractitionerRole(0.1.0) | IE MPD RelatedPerson(0.1.0) | IE MPD Organization(0.1.0)) | Author of the medication statement | ||||
![]() ![]() |
S | 0..* | Reference(Resource) | Prescription, dispense, or administration that is the basis for this statement (EHDSMedicationUse.derivedFrom) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Reason for taking the medication — diagnosis or procedure (ICD-10, SNOMED CT) Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | ||||
![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | ||||
![]() ![]() |
S | 0..* | Annotation | Additional information about the medication use statement | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Textual note about the statement | ||||
![]() ![]() |
S | 1..* | Dosage | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Human-readable dosage instructions | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | dateTime | When the event occurs | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Element | When the event is to occur Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Length/Range of lengths, or (Start and/or end) limits | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Maximum number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | How long when it happens | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | How long when it happens (Max) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | positiveInt | Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | decimal | Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Upper limit of period (3-4 hours) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | time | Time of day for action | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | Code for time period of occurrence Binding: EventTiming (required): Real world event relating to the schedule. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Minutes from event (before or after) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
SΣ | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 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.extension:adherence.extension:code.value[x] | Base | example | Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR R4 | 📍0.1.0 | Extensions for Using Data Elements from FHIR R5 in FHIR R4 v0.1 |
| 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 |
Medications - IPS
|
⏿2.0.1 | tx.ontoserver.csiro.au |
| MedicationStatement.medication[x]:medicationCodeableConcept | Base | extensible | IE MPD Medication Codes | 📍0.1.0 | This IG |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.timing.code | Base | preferred | TimingAbbreviation | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.asNeeded[x] | Base | example | SNOMED CT Medication As Needed Reason Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.route | Base | example | SNOMED CT Route Codes | 📍4.0.1 | FHIR Std. |
| MedicationStatement.dosage.method | Base | example | 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 | MedicationStatement.meta, MedicationStatement.implicitRules, MedicationStatement.language, MedicationStatement.text, MedicationStatement.extension, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.extension, MedicationStatement.extension:adherence.extension:code.value[x], MedicationStatement.extension:adherence.extension:reason, MedicationStatement.extension:adherence.extension:reason.extension, MedicationStatement.extension:adherence.extension:reason.value[x], MedicationStatement.modifierExtension, MedicationStatement.identifier, MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.category, MedicationStatement.medication[x], MedicationStatement.medication[x]:medicationCodeableConcept, MedicationStatement.subject, MedicationStatement.context, MedicationStatement.effective[x], MedicationStatement.effective[x]:effectivePeriod, MedicationStatement.dateAsserted, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonCode, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.extension, MedicationStatement.note.author[x], MedicationStatement.note.time, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.extension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.sequence, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.patientInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.timing.extension, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.event, MedicationStatement.dosage.timing.repeat, MedicationStatement.dosage.timing.repeat.extension, MedicationStatement.dosage.timing.repeat.bounds[x], MedicationStatement.dosage.timing.repeat.count, MedicationStatement.dosage.timing.repeat.countMax, MedicationStatement.dosage.timing.repeat.duration, MedicationStatement.dosage.timing.repeat.durationMax, MedicationStatement.dosage.timing.repeat.durationUnit, MedicationStatement.dosage.timing.repeat.frequency, MedicationStatement.dosage.timing.repeat.frequencyMax, MedicationStatement.dosage.timing.repeat.period, MedicationStatement.dosage.timing.repeat.periodMax, MedicationStatement.dosage.timing.repeat.periodUnit, MedicationStatement.dosage.timing.repeat.dayOfWeek, MedicationStatement.dosage.timing.repeat.timeOfDay, MedicationStatement.dosage.timing.repeat.when, MedicationStatement.dosage.timing.repeat.offset, MedicationStatement.dosage.timing.code, MedicationStatement.dosage.asNeeded[x], MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.method, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.extension, MedicationStatement.dosage.doseAndRate.type, MedicationStatement.dosage.doseAndRate.dose[x], MedicationStatement.dosage.doseAndRate.rate[x], MedicationStatement.dosage.maxDosePerPeriod, MedicationStatement.dosage.maxDosePerAdministration, MedicationStatement.dosage.maxDosePerLifetime | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MedicationStatement.extension, MedicationStatement.extension:adherence, MedicationStatement.extension:adherence.extension, MedicationStatement.extension:adherence.extension:code, MedicationStatement.extension:adherence.extension:code.extension, MedicationStatement.extension:adherence.extension:reason, MedicationStatement.extension:adherence.extension:reason.extension, MedicationStatement.modifierExtension, MedicationStatement.note.extension, MedicationStatement.dosage.extension, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.timing.extension, MedicationStatement.dosage.timing.modifierExtension, MedicationStatement.dosage.timing.repeat.extension, MedicationStatement.dosage.doseAndRate.extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | MedicationStatement.dosage.timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | MedicationStatement.dosage.timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | MedicationStatement.dosage.timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | MedicationStatement.dosage.timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | MedicationStatement.dosage.timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | MedicationStatement.dosage.timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | MedicationStatement.dosage.timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | MedicationStatement.dosage.timing.repeat | If there's an offset, there must be a when (and not C, CM, CD, CV) |
offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
|
| tim-10 | error | MedicationStatement.dosage.timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
This structure is derived from MedicationStatementEuCore
Summary
Mandatory: 2 elements
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron