MyHealth@Eu Hospital Discharge Report
9.1.1 - qa-preview 150

MyHealth@Eu Hospital Discharge Report - Local Development build (v9.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Medication: HDR

Official URL: http://fhir.ehdsi.eu/hdr/StructureDefinition/medication-hdr-myhealtheu | Version: 9.1.1
Standards status: Draft | Maturity Level: 1 | Computable Name: MedicationHdrMyHealthEu

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

Usages:

- Use this Profile: Bundle: HDR
- Refer to this Profile: Medication: HDR, MedicationAdministration: HDR, MedicationDispense: HDR and MedicationRequest: HDR
- Examples for this Profile: Medication/1234567890

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  | 0..* | MedicationEuHdr | Definition of a Medication
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:productName |  | 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..* | (Complex) | Medication - Classification URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
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:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
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 | (Complex) | Medication - Unit of presentation URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
code | Σ | 0..1 | CodeableConcept | National product code 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 |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] |  | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemReference |  |  | Reference(Any) |
itemCodeableConcept |  |  | CodeableConcept |
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
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 | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.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 MedicationEuHdr

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  |  | MedicationEuHdr |
Slices for extension |  |  |  | Content/Rules for all slices
extension:classification |  | 0..* | MedicationClassification | Medication - Classification
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
extension:unitOfPresentation |  | 0..1 | MedicationUnitOfPresentation | Medication - Unit of presentation
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
code |  | 0..1 | CodeableConcept | National product code
form |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
Slices for item[x] |  |  |  | Content/Rules for all slices
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
Medication.form | Base | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.0

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  | 0..* | MedicationEuHdr | 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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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..* | (Complex) | Medication - Classification URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
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:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
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 | (Complex) | Medication - Unit of presentation URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
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 | National product code 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 |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
amount | Σ | 0..1 | Ratio | Amount of drug in package
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
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
itemReference |  |  | Reference(Any) |
itemCodeableConcept |  |  | CodeableConcept |
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
isActive |  | 0..1 | boolean | Active ingredient flag
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:strengthSubstance |  | 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
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:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
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 | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.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 MedicationEuHdr

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

- Medication: HDR (http://fhir.ehdsi.eu/hdr/StructureDefinition/medication-hdr-myhealtheu)

Maturity: 1

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  | 0..* | MedicationEuHdr | Definition of a Medication
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:productName |  | 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..* | (Complex) | Medication - Classification URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
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:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
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 | (Complex) | Medication - Unit of presentation URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
code | Σ | 0..1 | CodeableConcept | National product code 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 |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] |  | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemReference |  |  | Reference(Any) |
itemCodeableConcept |  |  | CodeableConcept |
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
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 | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.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()`

Differential View

This structure is derived from MedicationEuHdr

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  |  | MedicationEuHdr |
Slices for extension |  |  |  | Content/Rules for all slices
extension:classification |  | 0..* | MedicationClassification | Medication - Classification
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
extension:unitOfPresentation |  | 0..1 | MedicationUnitOfPresentation | Medication - Unit of presentation
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
code |  | 0..1 | CodeableConcept | National product code
form |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
Slices for item[x] |  |  |  | Content/Rules for all slices
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
Medication.form | Base | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.0

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication |  | 0..* | MedicationEuHdr | 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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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..* | (Complex) | Medication - Classification URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required)
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:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
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 | (Complex) | Medication - Unit of presentation URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: eHDSI Quantity Unit (extensible)
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 | National product code 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 |  | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
amount | Σ | 0..1 | Ratio | Amount of drug in package
ingredient |  | 1..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
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
itemReference |  |  | Reference(Any) |
itemCodeableConcept |  |  | CodeableConcept |
item[x]:itemReference |  | 0..1 | Reference(Medication: HDR) | The actual ingredient or content
item[x]:itemCodeableConcept |  | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance With Exceptions (required)
isActive |  | 0..1 | boolean | Active ingredient flag
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:strengthSubstance |  | 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
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:classification.​value[x] | Base | required | eHDSI Active Ingredient | 📦9.1.0 | This IG
Medication.extension:unitOfPresentation.​value[x] | Base | extensible | eHDSI Quantity Unit | 📦9.1.0 | This IG
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 | extensible | eHDSI Dose Form | 📦9.1.0 | This IG
Medication.ingredient.​item[x]:itemCodeableConcept | Base | required | eHDSI Substance With Exceptions | 📦1.0.0 | MyHealth@EU Core v1.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 MedicationEuHdr

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

- Medication: HDR (http://fhir.ehdsi.eu/hdr/StructureDefinition/medication-hdr-myhealtheu)

Maturity: 1

Other representations of profile: CSV, Excel, Schematron