HL7 Europe Discharge Report
1.0.0-ci-build - ci-build 150

HL7 Europe Discharge Report, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/discharge-report/ and changes regularly. See the Directory of published versions

Resource Profile: Medication: obligations

Official URL: http://hl7.eu/fhir/discharge-report/StructureDefinition/medication-obl-eu-dr Version: 1.0.0-ci-build
Standards status: Informative Maturity Level: 0 Computable Name: MedicationEuDrObligation

Copyright/Legal: Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0).

This profile defines obligations for the Medication resource for the purpose of this guide, adapted from the MPD work.

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: doco
Medication 0..* MedicationEuCore Definition of a Medication
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:productName This element has obligations. 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.Slices for extension.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
Medication.Slices for extension.extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Medication.Slices for extension.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)
Medication.Slices for extension.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)
Medication.Slices for extension.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
Medication.Slices for extension.extension:device.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:device.Slices for extension.extension:device 1..1 Extension Extension
Medication.Slices for extension.extension:device.Slices for extension.extension:device.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:device.url 1..1 uri "device"
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity 1..1 Extension Number of defined devices in te package
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.url 1..1 uri "quantity"
Medication.Slices for extension.extension:device.url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element has obligations. This element is included in summaries. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. This element is included in summaries. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationEuCore

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication MedicationEuCore
Medication.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:productName This element has obligations. 0..1 MedicationProductName Medication - Product Name
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* MedicationClassification Medication - Classification
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.identifier This element has obligations. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.ingredient.item[x] This element has obligations. 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.isActive This element has obligations. 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.strength This element has obligations. 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* MedicationEuCore Definition of a Medication
Medication.id This element is included in summaries. 0..1 id Logical id of this artifact
Medication.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Medication.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
Medication.contained 0..* Resource Contained, inline Resources
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:productName This element has obligations. 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.Slices for extension.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
Medication.Slices for extension.extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Medication.Slices for extension.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)
Medication.Slices for extension.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)
Medication.Slices for extension.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
Medication.Slices for extension.extension:device.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:device.Slices for extension.extension:device 1..1 Extension Extension
Medication.Slices for extension.extension:device.Slices for extension.extension:device.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension.extension:device.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:device.url 1..1 uri "device"
Medication.Slices for extension.extension:device.Slices for extension.extension:device.value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package (example)
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity 1..1 Extension Number of defined devices in te package
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.url 1..1 uri "quantity"
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.value[x] 0..1 Quantity Value of extension
Medication.Slices for extension.extension:device.url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element has obligations. This element is included in summaries. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. This element is included in summaries. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Medication.manufacturer This element is included in summaries. 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.
Medication.form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form (example)
Medication.amount This element is included in summaries. 0..1 Ratio Amount of the medication (for example, in a package or a vial)
Medication.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
Medication.ingredient.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.extension 0..* Extension Additional content defined by implementations
Medication.ingredient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.ingredient.Slices for item[x] This element has obligations. 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Medication.ingredient.Slices for item[x].itemCodeableConcept CodeableConcept
Medication.ingredient.Slices for item[x].itemReference Reference(Substance | Medication)
Medication.ingredient.Slices for item[x].item[x]:itemReference 0..1 Reference(Medication (EU core)) The actual ingredient or content
Medication.ingredient.Slices for item[x].item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance Preferred
Medication.ingredient.isActive This element has obligations. 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.strength This element has obligations. 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.ingredient.strength.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.strength.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Medication.ingredient.strength.Slices for extension.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)
Medication.ingredient.strength.numerator This element is included in summaries. 0..1 Quantity Numerator value
Medication.ingredient.strength.denominator This element is included in summaries. 0..1 Quantity Denominator value
Medication.batch 0..1 BackboneElement Details about packaged medications
Medication.batch.id 0..1 string Unique id for inter-element referencing
Medication.batch.extension 0..* Extension Additional content defined by implementations
Medication.batch.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.batch.lotNumber 0..1 string Lot Number
Medication.batch.expirationDate 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 example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
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 International Patient Summary Implementation Guide v2.0

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationEuCore

Summary

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* MedicationEuCore Definition of a Medication
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:productName This element has obligations. 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.Slices for extension.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
Medication.Slices for extension.extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Medication.Slices for extension.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)
Medication.Slices for extension.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)
Medication.Slices for extension.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
Medication.Slices for extension.extension:device.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:device.Slices for extension.extension:device 1..1 Extension Extension
Medication.Slices for extension.extension:device.Slices for extension.extension:device.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:device.url 1..1 uri "device"
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity 1..1 Extension Number of defined devices in te package
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.url 1..1 uri "quantity"
Medication.Slices for extension.extension:device.url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element has obligations. This element is included in summaries. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. This element is included in summaries. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MedicationEuCore

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication MedicationEuCore
Medication.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:productName This element has obligations. 0..1 MedicationProductName Medication - Product Name
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* MedicationClassification Medication - Classification
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.identifier This element has obligations. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.ingredient
Medication.ingredient.item[x] This element has obligations. 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.isActive This element has obligations. 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.strength This element has obligations. 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* MedicationEuCore Definition of a Medication
Medication.id This element is included in summaries. 0..1 id Logical id of this artifact
Medication.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Medication.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
Medication.contained 0..* Resource Contained, inline Resources
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:productName This element has obligations. 0..1 string Medication - Product Name
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.Slices for extension.extension:classification This element has obligations. 0..* CodeableConcept Medication - Classification
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
Binding: ProductClassification (example)
ObligationsActor
SHALL:able-to-populate Producer
SHOULD:display Consumer
SHALL:process Consumer
Medication.Slices for extension.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
Medication.Slices for extension.extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
Medication.Slices for extension.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)
Medication.Slices for extension.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)
Medication.Slices for extension.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
Medication.Slices for extension.extension:device.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension Content/Rules for all slices
Medication.Slices for extension.extension:device.Slices for extension.extension:device 1..1 Extension Extension
Medication.Slices for extension.extension:device.Slices for extension.extension:device.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension.extension:device.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:device.url 1..1 uri "device"
Medication.Slices for extension.extension:device.Slices for extension.extension:device.value[x] 0..1 CodeableConcept Value of extension
Binding: eHDSI Package (example)
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity 1..1 Extension Number of defined devices in te package
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.id 0..1 string Unique id for inter-element referencing
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.url 1..1 uri "quantity"
Medication.Slices for extension.extension:device.Slices for extension.extension:quantity.value[x] 0..1 Quantity Value of extension
Medication.Slices for extension.extension:device.url 1..1 uri "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device"
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element has obligations. This element is included in summaries. 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product (e.g. EMA PMS ID on product or package level)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.code This element has obligations. This element is included in summaries. 0..1 CodeableConcept A terminology-based code for the product (e.g. SNOMED CT code)
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Medication.manufacturer This element is included in summaries. 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.
Medication.form 0..1 CodeableConcept powder | tablets | capsule +
Binding: eHDSI Dose Form (example)
Medication.amount This element is included in summaries. 0..1 Ratio Amount of the medication (for example, in a package or a vial)
Medication.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
Medication.ingredient.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.extension 0..* Extension Additional content defined by implementations
Medication.ingredient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.ingredient.Slices for item[x] This element has obligations. 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Medication.ingredient.Slices for item[x].itemCodeableConcept CodeableConcept
Medication.ingredient.Slices for item[x].itemReference Reference(Substance | Medication)
Medication.ingredient.Slices for item[x].item[x]:itemReference 0..1 Reference(Medication (EU core)) The actual ingredient or content
Medication.ingredient.Slices for item[x].item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Medicine Active Substances - IPS (example)
Additional BindingsPurpose
eHDSI Substance Preferred
Medication.ingredient.isActive This element has obligations. 0..1 boolean Active ingredient indicator. By default, only active ingredients are expected - therefore, the default value is true.
ObligationsActor
SHALL:able-to-populate Producer
SHALL:process Consumer
Medication.ingredient.strength This element has obligations. 0..1 Ratio Amount of substance in product (presentation or concentration strength)
ObligationsActor
SHALL:able-to-populate Producer
SHALL:display Consumer
SHALL:process Consumer
Medication.ingredient.strength.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.strength.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Medication.ingredient.strength.Slices for extension.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)
Medication.ingredient.strength.numerator This element is included in summaries. 0..1 Quantity Numerator value
Medication.ingredient.strength.denominator This element is included in summaries. 0..1 Quantity Denominator value
Medication.batch 0..1 BackboneElement Details about packaged medications
Medication.batch.id 0..1 string Unique id for inter-element referencing
Medication.batch.extension 0..* Extension Additional content defined by implementations
Medication.batch.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.batch.lotNumber 0..1 string Lot Number
Medication.batch.expirationDate 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 example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
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 International Patient Summary Implementation Guide v2.0

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationEuCore

Summary

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron