HL7 Europe Base and Core FHIR IG, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.2.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/base/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core | Version: 0.2.0-ci-build | |||
| Standards status: Draft | Maturity Level: 1 | Computable Name: MedicationEuCore | ||
Copyright/Legal: Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). |
||||
This profile sets minimum expectations for the Medication resource common to most of the use cases. This profile is adapted from the MPD work.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "device" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Number of defined devices in te package | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "quantity" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.extension:device.extension:device.value[x] | Base | example |
eHDSI Package
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example |
eHDSI Dose Form
|
⏿8.1.0 | tx.hl7europe.eu |
| 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 Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |||||
![]() ![]() |
||||||||
![]() ![]() ![]() |
1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Medication (EU core) [WIP]) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The actual ingredient or content Binding: Medicine Active Substances - IPS (example)
| |||||
![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.extension:device.extension:device.value[x] | Base | example |
eHDSI Package
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.form | Base | example |
eHDSI Dose Form
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.ingredient.item[x]:itemCodeableConcept | Base | example | Medicine Active Substances - IPS | 📦2.0.0 | International Patient Summary Implementation Guide vnull |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "device" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Number of defined devices in te package | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "quantity" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Quantity | Value of extension | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device" | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |||||
![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Medication (EU core) [WIP]) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The actual ingredient or content Binding: Medicine Active Substances - IPS (example)
| |||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | 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) | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | ||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
Documentation for this format | ||||||||
| 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
|
⏿8.1.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
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.ingredient.item[x]:itemCodeableConcept | Base | example | Medicine Active Substances - IPS | 📦2.0.0 | International Patient Summary Implementation Guide vnull |
| 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 Medication
Summary
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 1
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "device" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Number of defined devices in te package | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "quantity" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.extension:device.extension:device.value[x] | Base | example |
eHDSI Package
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example |
eHDSI Dose Form
|
⏿8.1.0 | tx.hl7europe.eu |
| 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 Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |||||
![]() ![]() |
||||||||
![]() ![]() ![]() |
1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Medication (EU core) [WIP]) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The actual ingredient or content Binding: Medicine Active Substances - IPS (example)
| |||||
![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.extension:device.extension:device.value[x] | Base | example |
eHDSI Package
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.form | Base | example |
eHDSI Dose Form
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.ingredient.item[x]:itemCodeableConcept | Base | example | Medicine Active Substances - IPS | 📦2.0.0 | International Patient Summary Implementation Guide vnull |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "device" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Package (example) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Number of defined devices in te package | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "quantity" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Quantity | Value of extension | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device" | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: eHDSI Dose Form (example) | |||||
![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Medication (EU core) [WIP]) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The actual ingredient or content Binding: Medicine Active Substances - IPS (example)
| |||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | 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) | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | ||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
Documentation for this format | ||||||||
| 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
|
⏿8.1.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
|
⏿8.1.0 | tx.hl7europe.eu |
| Medication.ingredient.item[x]:itemCodeableConcept | Base | example | Medicine Active Substances - IPS | 📦2.0.0 | International Patient Summary Implementation Guide vnull |
| 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 Medication
Summary
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 1
Other representations of profile: CSV, Excel, Schematron