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: EHDSMedicationDispense - Detailed Descriptions

Draft as of 2025-12-03

Definitions for the EHDSMedicationDispense logical model.

- Key Elements Table
- Differential Elements Table
- Snapshot Elements Table

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSMedicationDispense
Definition | Logical model for medication dispensation (based on request or independently) Base definition for all types defined in FHIR type system.
Short | Medication dispense modelBase for all types and resources
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSMedicationDispense.header
Definition | Common header for all patient-related data
Short | Common header for all patient-related data
Control | 1..1
Type | Base
4. EHDSMedicationDispense.header.subject
Definition | Patient/subject information
Short | Patient/subject information
Control | 1..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
6. EHDSMedicationDispense.header.identifier
Definition | Business identifier for the object
Short | Business identifier for the object
Note | This is a business identifier, not a resource identifier (see discussion)
Control | 0..*
Type | Identifier
8. EHDSMedicationDispense.header.authorship
Definition | Resource authoring details
Short | Resource authoring details
Control | 1..*
Type | Base
10. EHDSMedicationDispense.header.authorship.author[x]
Definition | Author(s) by whom the resource was/were authored. Multiple authors could be provided.
Short | Author(s) by whom the resource was/were authored. Multiple authors could be provided.
Control | 1..1
Type | Choice of: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
12. EHDSMedicationDispense.header.authorship.datetime
Definition | Date and time of authoring/issuing
Short | Date and time of issuing dispense record
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
14. EHDSMedicationDispense.header.lastUpdate
Definition | Date and time of the last update to the resource (may be used for technical corrections).
Short | Date and time of the last update to the resource (may be used for technical corrections).
Control | 0..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
16. EHDSMedicationDispense.header.status
Definition | Status of the resource or document
Short | Status of the resource or document
Control | 1..1
Type | CodeableConcept
18. EHDSMedicationDispense.header.statusReason[x]
Definition | Reason for the current status of the resource.
Short | Reason for the current status of the resource.
Control | 0..1
Type | Choice of: CodeableConcept, string
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
20. EHDSMedicationDispense.header.language
Definition | Language in which the resource is written. Language is expressed by the IETF language tag.
Short | Language in which the resource is written. Language is expressed by the IETF language tag.
Control | 0..1
Binding | BCP 47
Type | CodeableConcept
22. EHDSMedicationDispense.dispenseLocation
Definition | Location of dispense
Short | Location of dispense
Control | 0..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
24. EHDSMedicationDispense.receiver[x]
Definition | Identification of the person who received the dispensed medication, especially when it was not the patient
Short | Identification of the person who received the dispensed medication, especially when it was not the patient
Control | 0..1
Type | Choice of: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
26. EHDSMedicationDispense.relatedRequest
Definition | Identifier of the prescription or prescription item the dispense is related to
Short | Identifier of the prescription or prescription item the dispense is related to
Control | 0..*
Type | Identifier
28. EHDSMedicationDispense.medication
Definition | Exact dispensed product
Short | Exact dispensed product
Control | 1..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
30. EHDSMedicationDispense.dispensedQuantity
Definition | Number of dispensed packages if the pack size is known, or number of smaller items/units
Short | Number of dispensed packages if the pack size is known, or number of smaller items/units
Control | 1..1
Binding | UCUM, EDQM Standard Terms
Type | Quantity
32. EHDSMedicationDispense.timeOfDispensation
Definition | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Short | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
34. EHDSMedicationDispense.substitution
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 0..1
Type | Base
36. EHDSMedicationDispense.substitution.substitutionOccurred
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 1..1
Type | boolean
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
38. EHDSMedicationDispense.substitution.type
Definition | What kind of substitution was made by the dispenser
Short | What kind of substitution was made by the dispenser
Control | 0..1
Type | CodeableConcept
40. EHDSMedicationDispense.substitution.reason
Definition | Reason why the substitution was made or why the expected substitution was not made.
Short | Reason why the substitution was made or why the expected substitution was not made.
Control | 0..*
Type | CodeableConcept
42. EHDSMedicationDispense.dosageInstructions
Definition | Dosaging and administration instructions
Short | Dosaging and administration instructions
Control | 0..*
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging
44. EHDSMedicationDispense.comment
Definition | Additional information or comments
Short | Additional information or comments
Control | 0..*
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSMedicationDispense
Definition | Logical model for medication dispensation (based on request or independently)
Short | Medication dispense model
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSMedicationDispense.header
4. EHDSMedicationDispense.header.authorship
6. EHDSMedicationDispense.header.authorship.datetime
Short | Date and time of issuing dispense record
8. EHDSMedicationDispense.dispenseLocation
Definition | Location of dispense
Short | Location of dispense
Control | 0..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
10. EHDSMedicationDispense.receiver[x]
Definition | Identification of the person who received the dispensed medication, especially when it was not the patient
Short | Identification of the person who received the dispensed medication, especially when it was not the patient
Control | 0..1
Type | Choice of: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
12. EHDSMedicationDispense.relatedRequest
Definition | Identifier of the prescription or prescription item the dispense is related to
Short | Identifier of the prescription or prescription item the dispense is related to
Control | 0..*
Type | Identifier
14. EHDSMedicationDispense.medication
Definition | Exact dispensed product
Short | Exact dispensed product
Control | 1..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
16. EHDSMedicationDispense.dispensedQuantity
Definition | Number of dispensed packages if the pack size is known, or number of smaller items/units
Short | Number of dispensed packages if the pack size is known, or number of smaller items/units
Control | 1..1
Binding | UCUM, EDQM Standard Terms
Type | Quantity
18. EHDSMedicationDispense.timeOfDispensation
Definition | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Short | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
20. EHDSMedicationDispense.substitution
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 0..1
Type | Base
22. EHDSMedicationDispense.substitution.substitutionOccurred
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 1..1
Type | boolean
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
24. EHDSMedicationDispense.substitution.type
Definition | What kind of substitution was made by the dispenser
Short | What kind of substitution was made by the dispenser
Control | 0..1
Type | CodeableConcept
26. EHDSMedicationDispense.substitution.reason
Definition | Reason why the substitution was made or why the expected substitution was not made.
Short | Reason why the substitution was made or why the expected substitution was not made.
Control | 0..*
Type | CodeableConcept
28. EHDSMedicationDispense.dosageInstructions
Definition | Dosaging and administration instructions
Short | Dosaging and administration instructions
Control | 0..*
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging
30. EHDSMedicationDispense.comment
Definition | Additional information or comments
Short | Additional information or comments
Control | 0..*
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSMedicationDispense
Definition | Logical model for medication dispensation (based on request or independently)
Short | Medication dispense model
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSMedicationDispense.header
Definition | Common header for all patient-related data
Short | Common header for all patient-related data
Control | 1..1
Type | Base
4. EHDSMedicationDispense.header.subject
Definition | Patient/subject information
Short | Patient/subject information
Control | 1..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
6. EHDSMedicationDispense.header.identifier
Definition | Business identifier for the object
Short | Business identifier for the object
Note | This is a business identifier, not a resource identifier (see discussion)
Control | 0..*
Type | Identifier
8. EHDSMedicationDispense.header.authorship
Definition | Resource authoring details
Short | Resource authoring details
Control | 1..*
Type | Base
10. EHDSMedicationDispense.header.authorship.author[x]
Definition | Author(s) by whom the resource was/were authored. Multiple authors could be provided.
Short | Author(s) by whom the resource was/were authored. Multiple authors could be provided.
Control | 1..1
Type | Choice of: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
12. EHDSMedicationDispense.header.authorship.datetime
Definition | Date and time of authoring/issuing
Short | Date and time of issuing dispense record
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
14. EHDSMedicationDispense.header.lastUpdate
Definition | Date and time of the last update to the resource (may be used for technical corrections).
Short | Date and time of the last update to the resource (may be used for technical corrections).
Control | 0..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
16. EHDSMedicationDispense.header.status
Definition | Status of the resource or document
Short | Status of the resource or document
Control | 1..1
Type | CodeableConcept
18. EHDSMedicationDispense.header.statusReason[x]
Definition | Reason for the current status of the resource.
Short | Reason for the current status of the resource.
Control | 0..1
Type | Choice of: CodeableConcept, string
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
20. EHDSMedicationDispense.header.language
Definition | Language in which the resource is written. Language is expressed by the IETF language tag.
Short | Language in which the resource is written. Language is expressed by the IETF language tag.
Control | 0..1
Binding | BCP 47
Type | CodeableConcept
22. EHDSMedicationDispense.dispenseLocation
Definition | Location of dispense
Short | Location of dispense
Control | 0..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
24. EHDSMedicationDispense.receiver[x]
Definition | Identification of the person who received the dispensed medication, especially when it was not the patient
Short | Identification of the person who received the dispensed medication, especially when it was not the patient
Control | 0..1
Type | Choice of: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional, http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
26. EHDSMedicationDispense.relatedRequest
Definition | Identifier of the prescription or prescription item the dispense is related to
Short | Identifier of the prescription or prescription item the dispense is related to
Control | 0..*
Type | Identifier
28. EHDSMedicationDispense.medication
Definition | Exact dispensed product
Short | Exact dispensed product
Control | 1..1
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
30. EHDSMedicationDispense.dispensedQuantity
Definition | Number of dispensed packages if the pack size is known, or number of smaller items/units
Short | Number of dispensed packages if the pack size is known, or number of smaller items/units
Control | 1..1
Binding | UCUM, EDQM Standard Terms
Type | Quantity
32. EHDSMedicationDispense.timeOfDispensation
Definition | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Short | Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
34. EHDSMedicationDispense.substitution
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 0..1
Type | Base
36. EHDSMedicationDispense.substitution.substitutionOccurred
Definition | Indicated whether substitution was made by the dispenser
Short | Indicated whether substitution was made by the dispenser
Control | 1..1
Type | boolean
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
38. EHDSMedicationDispense.substitution.type
Definition | What kind of substitution was made by the dispenser
Short | What kind of substitution was made by the dispenser
Control | 0..1
Type | CodeableConcept
40. EHDSMedicationDispense.substitution.reason
Definition | Reason why the substitution was made or why the expected substitution was not made.
Short | Reason why the substitution was made or why the expected substitution was not made.
Control | 0..*
Type | CodeableConcept
42. EHDSMedicationDispense.dosageInstructions
Definition | Dosaging and administration instructions
Short | Dosaging and administration instructions
Control | 0..*
Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging
44. EHDSMedicationDispense.comment
Definition | Additional information or comments
Short | Additional information or comments
Control | 0..*
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension