IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft) Ireland flag

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

Resource Profile: IE MPD Medication (ePrescription/eDispensation)

Official URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription Version: 0.1.0
Draft as of 2026-09-28 Computable Name: IEMpdMedicationEPrescription

The medicinal product in an Irish ePrescription or eDispensation (HIQA EP Section 4), derived from the HL7 Europe MPD Medication. Many elements are expected to be auto-populated from the National Medicinal Product Catalogue (NMPC).

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MedicationEuMpd(1.0.0) Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
Constraints: ext-1
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
.... extension:classification S 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
Constraints: ext-1
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
Constraints: ext-1
.... extension:characteristic 0..* (Complex) Medication - Characteristic
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Constraints: ext-1
.... extension:unitOfPresentation 0..1 CodeableConcept Medication - Unit of presentation
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
Constraints: ext-1
.... extension:packageType 0..1 CodeableConcept Medication: Package type
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
Constraints: ext-1
.... extension:device 0..* (Complex) Medication - Device
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
Constraints: ext-1
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
Constraints: ext-1
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "device"
...... extension:quantity 1..1 Extension Number of defined devices in te package
Constraints: ext-1
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "quantity"
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
Constraints: ext-1
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... form SO 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
... amount SΣ 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... Slices for item[x] SO 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS . (example)
Additional BindingsPurpose
eHDSI Substance . Preferred
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... item[x]:itemReference 0..1 Reference(Medication (EU core)(2.0.0)) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength SO 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... Slices for extension Content/Rules for all slices
...... extension:basisOfStrengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: SNOMEDCTSubstanceCodes (example)
Constraints: ext-1
... batch S 0..1 BackboneElement Details about packaged medications
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base example eHDSI Dose Form . ⏿0.2.0 tx.hl7europe.eu
Medication.ingredient.​item[x]:itemCodeableConcept Base example Medicine Active Substances - IPS . ⏿2.0.1 tx.ontoserver.csiro.au

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication 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 Medication 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 Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.implicitRules, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.code, Medication.status, Medication.manufacturer, Medication.form, Medication.amount, Medication.ingredient, Medication.ingredient.modifierExtension, Medication.ingredient.item[x], Medication.ingredient.item[x]:itemCodeableConcept, Medication.ingredient.item[x]:itemReference, Medication.ingredient.isActive, Medication.ingredient.strength, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.ingredient.modifierExtension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationEuMpd

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication MedicationEuMpd(1.0.0)
... Slices for extension Content/Rules for all slices
.... extension:productName 0..1 MedicationProductName(1.0.0-comment-2) Medication - Product Name
.... extension:classification S 0..* MedicationClassification(1.0.0-comment-2) Medication - Classification
.... extension:characteristic 0..* MedicationCharacteristic(1.0.0-comment-2) Medication - Characteristic
.... extension:unitOfPresentation 0..1 MedicationUnitOfPresentation(1.0.0-comment-2) Medication - Unit of presentation
.... extension:packageType 0..1 MedicationPackageType(1.3.0) Medication: Package type
.... extension:device 0..* MedicationDevice(1.0.0-comment-2) Medication - Device
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
... code S 1..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: IEMpdMedicationCodes (0.1.0) (extensible)
... manufacturer 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... amount S 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... item[x] S 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength S 0..1 Ratio Amount of substance in product (presentation or concentration strength)
... batch S 0..1 BackboneElement Details about packaged medications
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MedicationEuMpd(1.0.0) Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:productName O 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
Constraints: ext-1
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
.... extension:classification S 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
Constraints: ext-1
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
Constraints: ext-1
.... extension:characteristic 0..* (Complex) Medication - Characteristic
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Constraints: ext-1
.... extension:unitOfPresentation 0..1 CodeableConcept Medication - Unit of presentation
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
Constraints: ext-1
.... extension:packageType 0..1 CodeableConcept Medication: Package type
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
Constraints: ext-1
.... extension:device 0..* (Complex) Medication - Device
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
Constraints: ext-1
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "device"
....... value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package . (example)
...... extension:quantity 1..1 Extension Number of defined devices in te package
Constraints: ext-1
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "quantity"
....... value[x] 0..1 Quantity Value of extension
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
Constraints: ext-1
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier OΣ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActorSource
SHALL:able-to-populate Producer from Medication: MPD
... code SOΣ 1..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: IEMpdMedicationCodes (0.1.0) (extensible)
ObligationsActorSource
SHALL:able-to-populate Producer from Medication: MPD
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... form SO 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
... amount SΣ 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... Slices for item[x] SO 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS . (example)
Additional BindingsPurpose
eHDSI Substance . Preferred
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... item[x]:itemReference 0..1 Reference(Medication (EU core)(2.0.0)) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength SO 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:basisOfStrengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: SNOMEDCTSubstanceCodes (example)
Constraints: ext-1
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch S 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Medication.extension:device.​extension:device.value[x] Base example eHDSI Package . ⏿0.2.0 tx.hl7europe.eu
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base example eHDSI Dose Form . ⏿0.2.0 tx.hl7europe.eu
Medication.ingredient.​item[x]:itemCodeableConcept Base example Medicine Active Substances - IPS . ⏿2.0.1 tx.ontoserver.csiro.au

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication 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 Medication 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 Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.meta, Medication.implicitRules, Medication.language, Medication.text, Medication.extension, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:device.value[x], Medication.extension:device.extension:quantity, Medication.extension:device.extension:quantity.value[x], Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.identifier, Medication.code, Medication.status, Medication.manufacturer, Medication.form, Medication.amount, Medication.ingredient, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.item[x], Medication.ingredient.item[x]:itemCodeableConcept, Medication.ingredient.item[x]:itemReference, Medication.ingredient.isActive, Medication.ingredient.strength, Medication.ingredient.strength.extension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator, Medication.batch, Medication.batch.extension, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.strength.extension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch.extension, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MedicationEuMpd(1.0.0) Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
Constraints: ext-1
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
.... extension:classification S 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
Constraints: ext-1
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
Constraints: ext-1
.... extension:characteristic 0..* (Complex) Medication - Characteristic
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Constraints: ext-1
.... extension:unitOfPresentation 0..1 CodeableConcept Medication - Unit of presentation
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
Constraints: ext-1
.... extension:packageType 0..1 CodeableConcept Medication: Package type
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
Constraints: ext-1
.... extension:device 0..* (Complex) Medication - Device
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
Constraints: ext-1
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
Constraints: ext-1
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "device"
...... extension:quantity 1..1 Extension Number of defined devices in te package
Constraints: ext-1
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "quantity"
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
Constraints: ext-1
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... form SO 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
... amount SΣ 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... Slices for item[x] SO 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS . (example)
Additional BindingsPurpose
eHDSI Substance . Preferred
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... item[x]:itemReference 0..1 Reference(Medication (EU core)(2.0.0)) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength SO 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... Slices for extension Content/Rules for all slices
...... extension:basisOfStrengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: SNOMEDCTSubstanceCodes (example)
Constraints: ext-1
... batch S 0..1 BackboneElement Details about packaged medications
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base example eHDSI Dose Form . ⏿0.2.0 tx.hl7europe.eu
Medication.ingredient.​item[x]:itemCodeableConcept Base example Medicine Active Substances - IPS . ⏿2.0.1 tx.ontoserver.csiro.au

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication 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 Medication 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 Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.implicitRules, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.code, Medication.status, Medication.manufacturer, Medication.form, Medication.amount, Medication.ingredient, Medication.ingredient.modifierExtension, Medication.ingredient.item[x], Medication.ingredient.item[x]:itemCodeableConcept, Medication.ingredient.item[x]:itemReference, Medication.ingredient.isActive, Medication.ingredient.strength, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.ingredient.modifierExtension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MedicationEuMpd

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication MedicationEuMpd(1.0.0)
... Slices for extension Content/Rules for all slices
.... extension:productName 0..1 MedicationProductName(1.0.0-comment-2) Medication - Product Name
.... extension:classification S 0..* MedicationClassification(1.0.0-comment-2) Medication - Classification
.... extension:characteristic 0..* MedicationCharacteristic(1.0.0-comment-2) Medication - Characteristic
.... extension:unitOfPresentation 0..1 MedicationUnitOfPresentation(1.0.0-comment-2) Medication - Unit of presentation
.... extension:packageType 0..1 MedicationPackageType(1.3.0) Medication: Package type
.... extension:device 0..* MedicationDevice(1.0.0-comment-2) Medication - Device
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
... code S 1..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: IEMpdMedicationCodes (0.1.0) (extensible)
... manufacturer 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... amount S 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... item[x] S 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength S 0..1 Ratio Amount of substance in product (presentation or concentration strength)
... batch S 0..1 BackboneElement Details about packaged medications
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MedicationEuMpd(1.0.0) Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:productName O 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
Constraints: ext-1
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
.... extension:classification S 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
Constraints: ext-1
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
Constraints: ext-1
.... extension:characteristic 0..* (Complex) Medication - Characteristic
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Constraints: ext-1
.... extension:unitOfPresentation 0..1 CodeableConcept Medication - Unit of presentation
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
Constraints: ext-1
.... extension:packageType 0..1 CodeableConcept Medication: Package type
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
Constraints: ext-1
.... extension:device 0..* (Complex) Medication - Device
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
Constraints: ext-1
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "device"
....... value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package . (example)
...... extension:quantity 1..1 Extension Number of defined devices in te package
Constraints: ext-1
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
....... url 1..1 uri "quantity"
....... value[x] 0..1 Quantity Value of extension
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
.... extension:interchangeable S 0..1 boolean IE MPD Medicinal Product Is Interchangeable
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-interchangeable
Constraints: ext-1
.... extension:exemptMedicationItem S 0..1 boolean IE MPD Exempt Medication Item (Requires Clarification)
URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-exempt-medication-item
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier OΣ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActorSource
SHALL:able-to-populate Producer from Medication: MPD
... code SOΣ 1..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: IEMpdMedicationCodes (0.1.0) (extensible)
ObligationsActorSource
SHALL:able-to-populate Producer from Medication: MPD
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Marketing authorisation holder of the medicinal product. If the product does not have a marketing authorisation, the manufactured information may be used. It is sufficient to populate only name and optionally an identifier of the organisation.
... form SO 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
... amount SΣ 0..1 Ratio Amount of the medication (for example, in a package or a vial)
... ingredient S 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... Slices for item[x] SO 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS . (example)
Additional BindingsPurpose
eHDSI Substance . Preferred
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... item[x]:itemReference 0..1 Reference(Medication (EU core)(2.0.0)) The actual ingredient or content
.... isActive S 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
.... strength SO 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActorSource
SHOULD:able-to-populate Producer from Medication: MPD
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:basisOfStrengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: SNOMEDCTSubstanceCodes (example)
Constraints: ext-1
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch S 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber S 0..1 string Lot Number
.... expirationDate S 0..1 dateTime Expiration Date

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Medication.extension:device.​extension:device.value[x] Base example eHDSI Package . ⏿0.2.0 tx.hl7europe.eu
Medication.code Base extensible IE MPD Medication Codes 📍0.1.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base example eHDSI Dose Form . ⏿0.2.0 tx.hl7europe.eu
Medication.ingredient.​item[x]:itemCodeableConcept Base example Medicine Active Substances - IPS . ⏿2.0.1 tx.ontoserver.csiro.au

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication 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 Medication 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 Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.meta, Medication.implicitRules, Medication.language, Medication.text, Medication.extension, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:device.value[x], Medication.extension:device.extension:quantity, Medication.extension:device.extension:quantity.value[x], Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.identifier, Medication.code, Medication.status, Medication.manufacturer, Medication.form, Medication.amount, Medication.ingredient, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.item[x], Medication.ingredient.item[x]:itemCodeableConcept, Medication.ingredient.item[x]:itemReference, Medication.ingredient.isActive, Medication.ingredient.strength, Medication.ingredient.strength.extension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator, Medication.batch, Medication.batch.extension, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension, Medication.extension:productName, Medication.extension:classification, Medication.extension:sizeOfItem, Medication.extension:characteristic, Medication.extension:unitOfPresentation, Medication.extension:packageType, Medication.extension:device, Medication.extension:device.extension, Medication.extension:device.extension:device, Medication.extension:device.extension:quantity, Medication.extension:interchangeable, Medication.extension:exemptMedicationItem, Medication.modifierExtension, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.strength.extension, Medication.ingredient.strength.extension:basisOfStrengthSubstance, Medication.batch.extension, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron