EHDSMedicationDispense
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSMedicationDispense
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSMedicationDispense Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSMedicationDispense 0..* EHDSDataSet Medication dispense model Elements defined in Ancestors:header #xD; header #xD; subject 1..1 EHDSPatient The person for whom the medication is prescribed. [Used for searching] #xD; identifier 0..* Identifier Business identifier(s) for the dispense record. [Used for searching] #xD; author[x] 1..* EHDSHealthProfessional, EHDSOrganisation, EHDSDevice The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information. #xD; date 1..1 dateTime Date and time of issuing the dispense record. [Used for searching] #xD; status 1..1 CodeableConcept The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching] Binding Description: (preferred): HL7 MedicationDispense Status Codes #xD; source 0..0 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. #xD; dispenseLocation 0..1 EHDSLocation Location of dispense #xD; receiver[x] 0..1 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. #xD; receiverEHDSPatient EHDSPatient #xD; receiverEHDSHealthProfessional EHDSHealthProfessional #xD; receiverEHDSRelatedPerson EHDSRelatedPerson #xD; relatedRequest 0..* Identifier Identifier of the prescription item the dispense is related to. [Used for searching] #xD; medication 1..1 EHDSMedication Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created. #xD; dispensedQuantity 1..1 Quantity Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. …
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
  l: EHDSMedicationDispense
version:
  v: 0.4.0
name:
  v: EHDSMedicationDispense
title:
  v: Medication dispense model
status:
  v: draft
date:
  v: 2026-03-03T22:34:02+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.
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/EHDSMedicationDispense
  l: EHDSMedicationDispense
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
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: EHDSMedicationDispense
    path:
      v: EHDSMedicationDispense
    short:
      v: Medication dispense model
    definition:
      v: Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.
    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: EHDSMedicationDispense.header
    path:
      v: EHDSMedicationDispense.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: EHDSMedicationDispense.header.subject
    path:
      v: EHDSMedicationDispense.header.subject
    short:
      v: The person for whom the medication is prescribed. [Used for searching]
    definition:
      v: The person for whom the medication is prescribed. [Used for searching]
    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: EHDSMedicationDispense.header.identifier
    path:
      v: EHDSMedicationDispense.header.identifier
    short:
      v: Business identifier(s) for the dispense record. [Used for searching]
    definition:
      v: Business identifier(s) for the dispense record. [Used for searching]
    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: EHDSMedicationDispense.header.author[x]
    path:
      v: EHDSMedicationDispense.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: *
    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/EHDSOrganisation
        l: EHDSOrganisation
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
        l: EHDSDevice
  element:
    id:
      v: EHDSMedicationDispense.header.date
    path:
      v: EHDSMedicationDispense.header.date
    short:
      v: Date and time of issuing the dispense record. [Used for searching]
    definition:
      v: Date and time of issuing the dispense record. [Used for searching]

v: 1

v: 1

path:
  v: EHDSDataSet.header.date
min:
  v: 0
max:
  v: 1

code:
  v: dateTime
  l: dateTime

id:
  v: EHDSMedicationDispense.header.status
path:
  v: EHDSMedicationDispense.header.status
short:
  v: The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]
definition:
  v: The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]
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: EHDSMedicationDispense.header.source
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.header.language
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.dispenseLocation
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.receiver[x]
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.relatedRequest
path:
  v: EHDSMedicationDispense.relatedRequest
short:
  v: Identifier of the prescription item the dispense is related to. [Used for searching]
definition:
  v: Identifier of the prescription item the dispense is related to. [Used for searching]
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationDispense.relatedRequest
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: EHDSMedicationDispense.medication
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.dispensedQuantity
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.timeOfDispensation
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.substitutionOccurred
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.dosageInstructions
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense.note
path:
  v: EHDSMedicationDispense.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: EHDSMedicationDispense
  path:
    v: EHDSMedicationDispense
  short:
    v: Medication dispense model
  definition:
    v: Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.
element:
  id:
    v: EHDSMedicationDispense.header.subject
  path:
    v: EHDSMedicationDispense.header.subject
  short:
    v: The person for whom the medication is prescribed. [Used for searching]
  definition:
    v: The person for whom the medication is prescribed. [Used for searching]
element:
  id:
    v: EHDSMedicationDispense.header.identifier
  path:
    v: EHDSMedicationDispense.header.identifier
  short:
    v: Business identifier(s) for the dispense record. [Used for searching]
  definition:
    v: Business identifier(s) for the dispense record. [Used for searching]
element:
  id:
    v: EHDSMedicationDispense.header.author[x]
  path:
    v: EHDSMedicationDispense.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
element:
  id:
    v: EHDSMedicationDispense.header.date
  path:
    v: EHDSMedicationDispense.header.date
  short:
    v: Date and time of issuing the dispense record. [Used for searching]
  definition:
    v: Date and time of issuing the dispense record. [Used for searching]
  min:
    v: 1
element:
  id:
    v: EHDSMedicationDispense.header.status
  path:
    v: EHDSMedicationDispense.header.status
  short:
    v: The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]
  definition:
    v: The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]
  binding:
    strength:
      v: preferred
    description:
      v: HL7 MedicationDispense Status Codes
element:
  id:
    v: EHDSMedicationDispense.header.source
  path:
    v: EHDSMedicationDispense.header.source
  max:
    v: 0
element:
  id:
    v: EHDSMedicationDispense.dispenseLocation
  path:
    v: EHDSMedicationDispense.dispenseLocation
  short:
    v: Location of dispense
  definition:
    v: Location of dispense
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
      l: EHDSLocation
element:
  id:
    v: EHDSMedicationDispense.receiver[x]
  path:
    v: EHDSMedicationDispense.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
  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
element:
  id:
    v: EHDSMedicationDispense.relatedRequest
  path:
    v: EHDSMedicationDispense.relatedRequest
  short:
    v: Identifier of the prescription item the dispense is related to. [Used for searching]
  definition:
    v: Identifier of the prescription item the dispense is related to. [Used for searching]
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: EHDSMedicationDispense.medication
  path:
    v: EHDSMedicationDispense.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
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
      l: EHDSMedication
element:
  id:
    v: EHDSMedicationDispense.dispensedQuantity
  path:
    v: EHDSMedicationDispense.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
  type:
    code:
      v: Quantity
      l: Quantity
  binding:
    strength:
      v: preferred
    description:
      v: UCUM, EDQM Standard Terms
element:
  id:
    v: EHDSMedicationDispense.timeOfDispensation
  path:
    v: EHDSMedicationDispense.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
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: EHDSMedicationDispense.substitutionOccurred
  path:
    v: EHDSMedicationDispense.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
  type:
    code:
      v: boolean
      l: boolean

id:
  v: EHDSMedicationDispense.dosageInstructions
path:
  v: EHDSMedicationDispense.dosageInstructions
short:
  v: Dosage and administration instructions
definition:
  v: Dosage and administration instructions
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
    l: EHDSDosage

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