EHDS Logical Information Models
0.4.0 - draft

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

Logical Model: EHDSMedicationDispenseObligations - Detailed Descriptions

Draft as of 2026-02-22

Definitions for the EHDSMedicationDispenseObligations logical model.

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

0. EHDSMedicationDispenseObligations
Definition

Obligations for the logical model for medication dispense for dispensing/pharmacy systems.


Base definition for all types defined in FHIR type system.

ShortMedication dispense model obligationsBase for all types and resources
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. EHDSMedicationDispenseObligations.header
Definition

Basic metadata for this information

ShortBasic metadata for this information
Control1..1
TypeBase
4. EHDSMedicationDispenseObligations.header.subject
Definition

Patient/subject information

ShortPatient/subject information
Control1..1
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
Obligations
    ObligationsActor
    SHALL:able-to-populateProducer
    6. EHDSMedicationDispenseObligations.header.identifier
    Definition

    Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).

    ShortBusiness identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control0..*
    TypeIdentifier
    8. EHDSMedicationDispenseObligations.header.author[x]
    Definition

    The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.

    ShortThe actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
    Control1..*
    TypeChoice 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] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Obligations
      ObligationsActorDocumentation
      SHALL:able-to-populateProducer

      System SHALL support at least EHDSHealthProfessional data type for the element.

      10. EHDSMedicationDispenseObligations.header.date
      Definition

      Date and time of issuing the dispense record

      ShortDate and time of issuing the dispense record
      Control1..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Obligations
        ObligationsActor
        SHALL:able-to-populateProducer
        12. EHDSMedicationDispenseObligations.header.status
        Definition

        The status of the dispense, e.g. completed, declined, entered-in-error

        ShortThe status of the dispense, e.g. completed, declined, entered-in-error
        Control1..1
        Binding

        HL7 MedicationDispense Status Codes

        TypeCodeableConcept
        Obligations
          ObligationsActor
          SHALL:able-to-populateProducer
          14. EHDSMedicationDispenseObligations.header.source
          Definition

          Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.

          ShortSource of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
          Control0..0
          TypeCodeableConcept
          16. EHDSMedicationDispenseObligations.header.language
          Definition

          Language in which the resource is written. Language is expressed by the IETF language tag.

          ShortLanguage in which the resource is written. Language is expressed by the IETF language tag.
          Control0..1
          Binding

          BCP 47

          TypeCodeableConcept
          18. EHDSMedicationDispenseObligations.dispenseLocation
          Definition

          Location of dispense

          ShortLocation of dispense
          Control0..1
          Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
          20. EHDSMedicationDispenseObligations.receiver[x]
          Definition

          Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.

          ShortIdentification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.
          Control0..1
          TypeChoice 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] NoteSeeChoice of Data Typesfor further information about how to use [x]
          22. EHDSMedicationDispenseObligations.relatedRequest
          Definition

          Identifier of the prescription item the dispense is related to

          ShortIdentifier of the prescription item the dispense is related to
          Control0..*
          TypeIdentifier
          Obligations
            ObligationsActor
            SHALL:able-to-populateProducer
            24. EHDSMedicationDispenseObligations.medication
            Definition

            Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.

            ShortExact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
            Control1..1
            Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
            Obligations
              ObligationsActor
              SHALL:able-to-populateProducer
              26. EHDSMedicationDispenseObligations.dispensedQuantity
              Definition

              Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.

              ShortNumber of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.
              Control1..1
              Binding

              UCUM, EDQM Standard Terms

              TypeQuantity
              Obligations
                ObligationsActor
                SHALL:able-to-populateProducer
                28. EHDSMedicationDispenseObligations.timeOfDispensation
                Definition

                Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.

                ShortDate and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
                Control0..1
                TypedateTime
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                30. EHDSMedicationDispenseObligations.substitutionOccurred
                Definition

                Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.

                ShortWhether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
                Control0..1
                Typeboolean
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                32. EHDSMedicationDispenseObligations.dosageInstructions
                Definition

                Dosage and administration instructions

                ShortDosage and administration instructions
                Control0..1
                Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
                Obligations
                  ObligationsActor
                  SHOULD:able-to-populateProducer
                  34. EHDSMedicationDispenseObligations.note
                  Definition

                  Additional information or comments

                  ShortAdditional information or comments
                  Control0..1
                  Typestring
                  Primitive ValueThis 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. EHDSMedicationDispenseObligations
                  Definition

                  Obligations for the logical model for medication dispense for dispensing/pharmacy systems.

                  ShortMedication dispense model obligations
                  Logical ModelInstances of this logical model are not marked to be the target of a Reference
                  2. EHDSMedicationDispenseObligations.header
                  4. EHDSMedicationDispenseObligations.header.subject
                  Obligations
                    ObligationsActor
                    SHALL:able-to-populateProducer
                    6. EHDSMedicationDispenseObligations.header.author[x]
                    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                    Obligations
                      ObligationsActorDocumentation
                      SHALL:able-to-populateProducer

                      System SHALL support at least EHDSHealthProfessional data type for the element.

                      8. EHDSMedicationDispenseObligations.header.date
                      Obligations
                        ObligationsActor
                        SHALL:able-to-populateProducer
                        10. EHDSMedicationDispenseObligations.header.status
                        Obligations
                          ObligationsActor
                          SHALL:able-to-populateProducer
                          12. EHDSMedicationDispenseObligations.relatedRequest
                          Obligations
                            ObligationsActor
                            SHALL:able-to-populateProducer
                            14. EHDSMedicationDispenseObligations.medication
                            Obligations
                              ObligationsActor
                              SHALL:able-to-populateProducer
                              16. EHDSMedicationDispenseObligations.dispensedQuantity
                              Obligations
                                ObligationsActor
                                SHALL:able-to-populateProducer
                                18. EHDSMedicationDispenseObligations.dosageInstructions
                                Obligations
                                  ObligationsActor
                                  SHOULD:able-to-populateProducer

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

                                  0. EHDSMedicationDispenseObligations
                                  Definition

                                  Obligations for the logical model for medication dispense for dispensing/pharmacy systems.

                                  ShortMedication dispense model obligations
                                  Control0..*
                                  Is Modifierfalse
                                  Logical ModelInstances of this logical model are not marked to be the target of a Reference
                                  2. EHDSMedicationDispenseObligations.header
                                  Definition

                                  Basic metadata for this information

                                  ShortBasic metadata for this information
                                  Control1..1
                                  TypeBase
                                  4. EHDSMedicationDispenseObligations.header.subject
                                  Definition

                                  Patient/subject information

                                  ShortPatient/subject information
                                  Control1..1
                                  Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
                                  Obligations
                                    ObligationsActor
                                    SHALL:able-to-populateProducer
                                    6. EHDSMedicationDispenseObligations.header.identifier
                                    Definition

                                    Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).

                                    ShortBusiness identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
                                    NoteThis is a business identifier, not a resource identifier (see discussion)
                                    Control0..*
                                    TypeIdentifier
                                    8. EHDSMedicationDispenseObligations.header.author[x]
                                    Definition

                                    The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.

                                    ShortThe actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
                                    Control1..*
                                    TypeChoice 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] NoteSeeChoice of Data Typesfor further information about how to use [x]
                                    Obligations
                                      ObligationsActorDocumentation
                                      SHALL:able-to-populateProducer

                                      System SHALL support at least EHDSHealthProfessional data type for the element.

                                      10. EHDSMedicationDispenseObligations.header.date
                                      Definition

                                      Date and time of issuing the dispense record

                                      ShortDate and time of issuing the dispense record
                                      Control1..1
                                      TypedateTime
                                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                      Obligations
                                        ObligationsActor
                                        SHALL:able-to-populateProducer
                                        12. EHDSMedicationDispenseObligations.header.status
                                        Definition

                                        The status of the dispense, e.g. completed, declined, entered-in-error

                                        ShortThe status of the dispense, e.g. completed, declined, entered-in-error
                                        Control1..1
                                        Binding

                                        HL7 MedicationDispense Status Codes

                                        TypeCodeableConcept
                                        Obligations
                                          ObligationsActor
                                          SHALL:able-to-populateProducer
                                          14. EHDSMedicationDispenseObligations.header.source
                                          Definition

                                          Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.

                                          ShortSource of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
                                          Control0..0
                                          TypeCodeableConcept
                                          16. EHDSMedicationDispenseObligations.header.language
                                          Definition

                                          Language in which the resource is written. Language is expressed by the IETF language tag.

                                          ShortLanguage in which the resource is written. Language is expressed by the IETF language tag.
                                          Control0..1
                                          Binding

                                          BCP 47

                                          TypeCodeableConcept
                                          18. EHDSMedicationDispenseObligations.dispenseLocation
                                          Definition

                                          Location of dispense

                                          ShortLocation of dispense
                                          Control0..1
                                          Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
                                          20. EHDSMedicationDispenseObligations.receiver[x]
                                          Definition

                                          Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.

                                          ShortIdentification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.
                                          Control0..1
                                          TypeChoice 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] NoteSeeChoice of Data Typesfor further information about how to use [x]
                                          22. EHDSMedicationDispenseObligations.relatedRequest
                                          Definition

                                          Identifier of the prescription item the dispense is related to

                                          ShortIdentifier of the prescription item the dispense is related to
                                          Control0..*
                                          TypeIdentifier
                                          Obligations
                                            ObligationsActor
                                            SHALL:able-to-populateProducer
                                            24. EHDSMedicationDispenseObligations.medication
                                            Definition

                                            Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.

                                            ShortExact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
                                            Control1..1
                                            Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
                                            Obligations
                                              ObligationsActor
                                              SHALL:able-to-populateProducer
                                              26. EHDSMedicationDispenseObligations.dispensedQuantity
                                              Definition

                                              Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.

                                              ShortNumber of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.
                                              Control1..1
                                              Binding

                                              UCUM, EDQM Standard Terms

                                              TypeQuantity
                                              Obligations
                                                ObligationsActor
                                                SHALL:able-to-populateProducer
                                                28. EHDSMedicationDispenseObligations.timeOfDispensation
                                                Definition

                                                Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.

                                                ShortDate and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
                                                Control0..1
                                                TypedateTime
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                30. EHDSMedicationDispenseObligations.substitutionOccurred
                                                Definition

                                                Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.

                                                ShortWhether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
                                                Control0..1
                                                Typeboolean
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                32. EHDSMedicationDispenseObligations.dosageInstructions
                                                Definition

                                                Dosage and administration instructions

                                                ShortDosage and administration instructions
                                                Control0..1
                                                Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
                                                Obligations
                                                  ObligationsActor
                                                  SHOULD:able-to-populateProducer
                                                  34. EHDSMedicationDispenseObligations.note
                                                  Definition

                                                  Additional information or comments

                                                  ShortAdditional information or comments
                                                  Control0..1
                                                  Typestring
                                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension