EHDSMedicationDispenseObligations
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSMedicationDispenseObligations
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSMedicationDispenseObligations Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSMedicationDispenseObligations 0..* EHDSMedicationDispense Medication dispense model obligations Elements defined in Ancestors:header, dispenseLocation, receiver[x], relatedRequest, medication, dispensedQuantity, timeOfDispensation, substitutionOccurred, dosageInstructions, note #xD; header #xD; subject O 1..1 EHDSPatient Patient/subject information Obligations Actor SHALL:able-to-populate Producer #xD; author[x] O 1..* EHDSHealthProfessional, EHDSOrganisation, EHDSDevice The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information. Obligations Actor SHALL:able-to-populate Producer #xD; date O 1..1 dateTime Date and time of issuing the dispense record Obligations Actor SHALL:able-to-populate Producer #xD; status O 1..1 CodeableConcept The status of the dispense, e.g. completed, declined, entered-in-error Obligations Actor SHALL:able-to-populate Producer #xD; relatedRequest O 0..* Identifier Identifier of the prescription item the dispense is related to Obligations Actor SHALL:able-to-populate Producer #xD; medication O 1..1 EHDSMedication Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created. Obligations Actor SHALL:able-to-populate Producer #xD; dispensedQuantity O 1..1 Quantity 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. Obligations Actor SHALL:able-to-populate Producer #xD; dosageInstructions O 0..1 EHDSDosage Dosage and administration instructions Obligations Actor SHOULD:able-to-populate Producer #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  l: EHDSMedicationDispenseObligations
version:
  v: 0.4.0
name:
  v: EHDSMedicationDispenseObligations
title:
  v: Medication dispense model obligations
status:
  v: draft
date:
  v: 2026-02-23T14:01:37+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: Obligations for the logical model for medication dispense for dispensing/pharmacy systems.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  l: EHDSMedicationDispenseObligations
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
  l: EHDSMedicationDispense
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.4.0
  element:
    id:
      v: EHDSMedicationDispenseObligations
    path:
      v: EHDSMedicationDispenseObligations
    short:
      v: Medication dispense model obligations
    definition:
      v: Obligations for the logical model for medication dispense for dispensing/pharmacy systems.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: EHDSMedicationDispenseObligations.header
    path:
      v: EHDSMedicationDispenseObligations.header
    short:
      v: Basic metadata for this information
    definition:
      v: Basic metadata for this information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Base
        l: Base
  element:
    id:
      v: EHDSMedicationDispenseObligations.header.subject
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    path:
      v: EHDSMedicationDispenseObligations.header.subject
    short:
      v: Patient/subject information
    definition:
      v: Patient/subject information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
        l: EHDSPatient
  element:
    id:
      v: EHDSMedicationDispenseObligations.header.identifier
    path:
      v: EHDSMedicationDispenseObligations.header.identifier
    short:
      v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    definition:
      v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
        l: Identifier
  element:
    id:
      v: EHDSMedicationDispenseObligations.header.author[x]
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    path:
      v: EHDSMedicationDispenseObligations.header.author[x]
    short:
      v: The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
    definition:
      v: The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.author[x]
      min:
        v: 0
      max:
        v: *

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: documentation
l: documentation

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

id:
  v: EHDSMedicationDispenseObligations.header.date
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.header.date
short:
  v: Date and time of issuing the dispense record
definition:
  v: Date and time of issuing the dispense record
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationDispenseObligations.header.status
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.header.status
short:
  v: The status of the dispense, e.g. completed, declined, entered-in-error
definition:
  v: The status of the dispense, e.g. completed, declined, entered-in-error
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 MedicationDispense Status Codes

id:
  v: EHDSMedicationDispenseObligations.header.source
path:
  v: EHDSMedicationDispenseObligations.header.source
short:
  v: 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.
definition:
  v: 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.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: EHDSDataSet.header.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationDispenseObligations.header.language
path:
  v: EHDSMedicationDispenseObligations.header.language
short:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
definition:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSMedicationDispenseObligations.dispenseLocation
path:
  v: EHDSMedicationDispenseObligations.dispenseLocation
short:
  v: Location of dispense
definition:
  v: Location of dispense
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.dispenseLocation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation

id:
  v: EHDSMedicationDispenseObligations.receiver[x]
path:
  v: EHDSMedicationDispenseObligations.receiver[x]
short:
  v: 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.
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.receiver[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
    l: EHDSPatient
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson
    l: EHDSRelatedPerson

id:
  v: EHDSMedicationDispenseObligations.relatedRequest
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.relatedRequest
short:
  v: Identifier of the prescription item the dispense is related to
definition:
  v: Identifier of the prescription item the dispense is related to
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationDispense.relatedRequest
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: EHDSMedicationDispenseObligations.medication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.medication
short:
  v: Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
definition:
  v: Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.medication
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
    l: EHDSMedication

id:
  v: EHDSMedicationDispenseObligations.dispensedQuantity
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.dispensedQuantity
short:
  v: 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.
definition:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.dispensedQuantity
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM Standard Terms

id:
  v: EHDSMedicationDispenseObligations.timeOfDispensation
path:
  v: EHDSMedicationDispenseObligations.timeOfDispensation
short:
  v: 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.
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.timeOfDispensation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationDispenseObligations.substitutionOccurred
path:
  v: EHDSMedicationDispenseObligations.substitutionOccurred
short:
  v: Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
definition:
  v: Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.substitutionOccurred
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: EHDSMedicationDispenseObligations.dosageInstructions
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationDispenseObligations.dosageInstructions
short:
  v: Dosage and administration instructions
definition:
  v: Dosage and administration instructions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.dosageInstructions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
    l: EHDSDosage

id:
  v: EHDSMedicationDispenseObligations.note
path:
  v: EHDSMedicationDispenseObligations.note
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: EHDSMedicationDispenseObligations
  path:
    v: EHDSMedicationDispenseObligations
  short:
    v: Medication dispense model obligations
  definition:
    v: Obligations for the logical model for medication dispense for dispensing/pharmacy systems.
element:
  id:
    v: EHDSMedicationDispenseObligations.header.subject
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.header.subject
element:
  id:
    v: EHDSMedicationDispenseObligations.header.author[x]
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: System SHALL support at least EHDSHealthProfessional data type for the element.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.header.author[x]
element:
  id:
    v: EHDSMedicationDispenseObligations.header.date
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.header.date
element:
  id:
    v: EHDSMedicationDispenseObligations.header.status
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.header.status
element:
  id:
    v: EHDSMedicationDispenseObligations.relatedRequest
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.relatedRequest
element:
  id:
    v: EHDSMedicationDispenseObligations.medication
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.medication
element:
  id:
    v: EHDSMedicationDispenseObligations.dispensedQuantity
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.dispensedQuantity
element:
  id:
    v: EHDSMedicationDispenseObligations.dosageInstructions
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationDispenseObligations.dosageInstructions