EHDS Logical Information Models
0.2.1 - qa-preview

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/xt-ehr-common/ and changes regularly. See the Directory of published versions

## Logical Model: Medication model

Official URL: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication | Version: 0.2.1
Active as of 2025-12-03 | Computable Name: EHDSMedication

Logical model for prescribed/dispensed medication. The model is shared by statements, requests, dispensations, and treatment lines. Each of those may have different restrictions in FHIR profile. Model is suitable for generic/virtual medications as well as branded/real products.

Usages:

- Use this Logical Model: Medication administration model, Medication dispense model, Medication prescription model, Medication statement model and Service request model

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
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
identifyingCode[x] |  | 0..* |  | Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.
identifyingCodeCodeableConcept |  |  | CodeableConcept |
identifyingCodeIdentifier |  |  | Identifier |
classification |  | 0..* | CodeableConcept | Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.) Binding Description: (preferred): WHO ATC
productName |  | 0..1 | string | Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.
doseForm |  | 0..1 | CodeableConcept | Dose form(s) on a product level. Dose form for a single package item is defined below. Binding Description: (preferred): EDQM Standard Terms
packSize |  | 0..* | Quantity | Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
item |  | 0..* | Base | A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined
doseForm |  | 0..1 | CodeableConcept | Dose form Binding Description: (preferred): EDQM Standard Terms
ingredient |  | 1..* | Base | Ingredients
isActive |  | 0..1 | boolean | Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.
substance |  | 1..1 | CodeableConcept | Substance Binding Description: (preferred): EMA SPOR SMS
strengthInfo |  | 0..1 | Base | Strength of the product - amount of substance per unit
strength |  | 1..1 | Ratio | Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet
basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance that the strength refers to, in case it's different from the main substance Binding Description: (preferred): EMA SPOR SMS
unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package. Binding Description: (preferred): EDQM Standard Terms
containedQuantity |  | 0..1 | Ratio | Manufactured item quantity for liquids (3ml / 1 vial)
amount |  | 0..1 | Quantity | Number of such manufactured items in this product (5 vials) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
characteristic |  | 0..* | Base | Other features of the product
type |  | 1..1 | CodeableConcept | A code expressing the type of characteristic
value[x] |  | 0..1 |  | Description of the characteristic
valueBoolean |  |  | boolean |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueQuantity |  |  | Quantity |
valueDateTime |  |  | dateTime |
valueInteger |  |  | integer |
valueDecimal |  |  | decimal |
valueRatio |  |  | Ratio |
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
EHDSMedication.classification | Base | preferred |  | Not State | Unknown
EHDSMedication.doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.packSize | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.substance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.strengthInfo.​basisOfStrengthSubstance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​unitOfPresentation | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​amount | Base | preferred |  | Not State | Unknown

This structure is derived from EHDSMedicationCore

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
identifyingCode[x] |  | 0..* |  | Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.
identifyingCodeCodeableConcept |  |  | CodeableConcept |
identifyingCodeIdentifier |  |  | Identifier |
classification |  | 0..* | CodeableConcept | Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.) Binding Description: (preferred): WHO ATC
productName |  | 0..1 | string | Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.
doseForm |  | 0..1 | CodeableConcept | Dose form(s) on a product level. Dose form for a single package item is defined below. Binding Description: (preferred): EDQM Standard Terms
packSize |  | 0..* | Quantity | Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
item |  | 0..* | Base | A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined
doseForm |  | 0..1 | CodeableConcept | Dose form Binding Description: (preferred): EDQM Standard Terms
ingredient |  | 1..* | Base | Ingredients
isActive |  | 0..1 | boolean | Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.
substance |  | 1..1 | CodeableConcept | Substance Binding Description: (preferred): EMA SPOR SMS
strengthInfo |  | 0..1 | Base | Strength of the product - amount of substance per unit
strength |  | 1..1 | Ratio | Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet
basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance that the strength refers to, in case it's different from the main substance Binding Description: (preferred): EMA SPOR SMS
unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package. Binding Description: (preferred): EDQM Standard Terms
containedQuantity |  | 0..1 | Ratio | Manufactured item quantity for liquids (3ml / 1 vial)
amount |  | 0..1 | Quantity | Number of such manufactured items in this product (5 vials) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
characteristic |  | 0..* | Base | Other features of the product
type |  | 1..1 | CodeableConcept | A code expressing the type of characteristic
value[x] |  | 0..1 |  | Description of the characteristic
valueBoolean |  |  | boolean |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueQuantity |  |  | Quantity |
valueDateTime |  |  | dateTime |
valueInteger |  |  | integer |
valueDecimal |  |  | decimal |
valueRatio |  |  | Ratio |
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
EHDSMedication.classification | Base | preferred |  | Not State | Unknown
EHDSMedication.doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.packSize | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.substance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.strengthInfo.​basisOfStrengthSubstance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​unitOfPresentation | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​amount | Base | preferred |  | Not State | Unknown

This structure is derived from EHDSMedicationCore

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

- Device model (http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
identifyingCode[x] |  | 0..* |  | Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.
identifyingCodeCodeableConcept |  |  | CodeableConcept |
identifyingCodeIdentifier |  |  | Identifier |
classification |  | 0..* | CodeableConcept | Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.) Binding Description: (preferred): WHO ATC
productName |  | 0..1 | string | Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.
doseForm |  | 0..1 | CodeableConcept | Dose form(s) on a product level. Dose form for a single package item is defined below. Binding Description: (preferred): EDQM Standard Terms
packSize |  | 0..* | Quantity | Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
item |  | 0..* | Base | A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined
doseForm |  | 0..1 | CodeableConcept | Dose form Binding Description: (preferred): EDQM Standard Terms
ingredient |  | 1..* | Base | Ingredients
isActive |  | 0..1 | boolean | Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.
substance |  | 1..1 | CodeableConcept | Substance Binding Description: (preferred): EMA SPOR SMS
strengthInfo |  | 0..1 | Base | Strength of the product - amount of substance per unit
strength |  | 1..1 | Ratio | Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet
basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance that the strength refers to, in case it's different from the main substance Binding Description: (preferred): EMA SPOR SMS
unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package. Binding Description: (preferred): EDQM Standard Terms
containedQuantity |  | 0..1 | Ratio | Manufactured item quantity for liquids (3ml / 1 vial)
amount |  | 0..1 | Quantity | Number of such manufactured items in this product (5 vials) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
characteristic |  | 0..* | Base | Other features of the product
type |  | 1..1 | CodeableConcept | A code expressing the type of characteristic
value[x] |  | 0..1 |  | Description of the characteristic
valueBoolean |  |  | boolean |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueQuantity |  |  | Quantity |
valueDateTime |  |  | dateTime |
valueInteger |  |  | integer |
valueDecimal |  |  | decimal |
valueRatio |  |  | Ratio |
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
EHDSMedication.classification | Base | preferred |  | Not State | Unknown
EHDSMedication.doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.packSize | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.substance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.strengthInfo.​basisOfStrengthSubstance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​unitOfPresentation | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​amount | Base | preferred |  | Not State | Unknown

Differential View

This structure is derived from EHDSMedicationCore

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSMedication |  | 0..* | EHDSMedicationCore | Medication model Elements defined in Ancestors:identifyingCode[x], classification, productName, doseForm, packSize, item, characteristic Instances of this logical model can be the target of a Reference
identifyingCode[x] |  | 0..* |  | Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.
identifyingCodeCodeableConcept |  |  | CodeableConcept |
identifyingCodeIdentifier |  |  | Identifier |
classification |  | 0..* | CodeableConcept | Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.) Binding Description: (preferred): WHO ATC
productName |  | 0..1 | string | Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.
doseForm |  | 0..1 | CodeableConcept | Dose form(s) on a product level. Dose form for a single package item is defined below. Binding Description: (preferred): EDQM Standard Terms
packSize |  | 0..* | Quantity | Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
item |  | 0..* | Base | A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined
doseForm |  | 0..1 | CodeableConcept | Dose form Binding Description: (preferred): EDQM Standard Terms
ingredient |  | 1..* | Base | Ingredients
isActive |  | 0..1 | boolean | Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.
substance |  | 1..1 | CodeableConcept | Substance Binding Description: (preferred): EMA SPOR SMS
strengthInfo |  | 0..1 | Base | Strength of the product - amount of substance per unit
strength |  | 1..1 | Ratio | Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet
basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance that the strength refers to, in case it's different from the main substance Binding Description: (preferred): EMA SPOR SMS
unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package. Binding Description: (preferred): EDQM Standard Terms
containedQuantity |  | 0..1 | Ratio | Manufactured item quantity for liquids (3ml / 1 vial)
amount |  | 0..1 | Quantity | Number of such manufactured items in this product (5 vials) Binding Description: (preferred): UCUM for units of measure. EDQM Standard Terms for units of presentation.
characteristic |  | 0..* | Base | Other features of the product
type |  | 1..1 | CodeableConcept | A code expressing the type of characteristic
value[x] |  | 0..1 |  | Description of the characteristic
valueBoolean |  |  | boolean |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueQuantity |  |  | Quantity |
valueDateTime |  |  | dateTime |
valueInteger |  |  | integer |
valueDecimal |  |  | decimal |
valueRatio |  |  | Ratio |
marketingAuthorisationHolder |  | 0..1 | Base | Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.
organisationName |  | 0..1 | string | Name of the organisation holding the authorisation for marketing/mahufacturing
organisationIdentifier |  | 0..* | Identifier | Identifier of the organisation and/or its physical location
device |  | 0..* | Base | Administration device included in the product
deviceQuantity |  | 1..1 | Quantity | Number of such devices
device[x] |  | 1..1 |  | Device coded
deviceCodeableConcept |  |  | CodeableConcept |
deviceReference |  |  | Reference(Device model) |
batch |  | 0..1 | Base | Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.
lotNumber |  | 0..1 | string | Batch identifier of the medicinal product
expirationDate |  | 0..1 | dateTime | Batch expiration date of the medicinal product.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
EHDSMedication.classification | Base | preferred |  | Not State | Unknown
EHDSMedication.doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.packSize | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​doseForm | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.substance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​ingredient.strengthInfo.​basisOfStrengthSubstance | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​unitOfPresentation | Base | preferred |  | Not State | Unknown
EHDSMedication.item.​amount | Base | preferred |  | Not State | Unknown

This structure is derived from EHDSMedicationCore

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

- Device model (http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice)

Other representations of profile: CSV, Excel