HL7 Europe Medication Prescription and Dispense
0.1.0-ballot - ballot 150

HL7 Europe Medication Prescription and Dispense, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.1.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/mpd/ and changes regularly. See the Directory of published versions

Resource Profile: Medication: MPD

Official URL: http://hl7.eu/fhir/mpd/StructureDefinition/Medication-eu-mpd Version: 0.1.0-ballot
Draft as of 2025-07-25 Computable Name: MedicationEuMpd

Copyright/Legal: Used by permission of HL7 Europe, all rights reserved Creative Commons License

This profile defines how to represent MedicationRequest in HL7 FHIR for the purpose of this guide.

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..* Medication Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:device 1..1 Extension Extension
....... extension 0..0
....... 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
....... extension 0..0
....... url 1..1 uri "quantity"
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 0..1 CodeableConcept A terminology-based code for the product
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... 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.
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
... ingredient 0..* 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
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips

Constraints

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

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
....... value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package . (example)
... identifier 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code 0..1 CodeableConcept A terminology-based code for the product
... ingredient 0..* 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
.... Slices for item[x] 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
Slice: Unordered, Open by type:$this
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication 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
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:device 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... 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
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... 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"
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code Σ 0..1 CodeableConcept A terminology-based code for the product
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... 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) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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
...... 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)
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips

Constraints

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

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:device 1..1 Extension Extension
....... extension 0..0
....... 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
....... extension 0..0
....... url 1..1 uri "quantity"
..... url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 0..1 CodeableConcept A terminology-based code for the product
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... 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.
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
... ingredient 0..* 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
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips

Constraints

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

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... Slices for extension Content/Rules for all slices
...... extension:device 1..1 Extension Extension
....... value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package . (example)
... identifier 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code 0..1 CodeableConcept A terminology-based code for the product
... ingredient 0..* 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
.... Slices for item[x] 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
Slice: Unordered, Open by type:$this
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication 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
.... extension:productName 0..1 string Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
.... extension:classification 0..* CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
.... 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
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: UnitOfPresentation (example)
.... extension:packageType 0..1 CodeableConcept Type of container. This information is more relevant in cases when the packaging has an impact on administration of the product (e.g. pre-filled syringe)
URL: http://hl7.eu/fhir/StructureDefinition/medication-package-type
Binding: eHDSI Package . (example)
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:device 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... 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
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... 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"
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code Σ 0..1 CodeableConcept A terminology-based code for the product
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... 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) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form . (example)
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Medication: MPD) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance . candidate
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... 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
...... 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)
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:device.extension:device.value[x]exampleeHDSIPackage .
http://terminology.ehdsi.eu/ValueSet/eHDSIPackage
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleeHDSIDoseForm .
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
Medication.ingredient.item[x]:itemCodeableConceptexampleMedicineActiveSubstancesUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips

Constraints

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

 

Other representations of profile: CSV, Excel, Schematron