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 Instances of this logical model can be the target of a Reference #xD; header #xD; authorship #xD; datetime 1..1 dateTime Date and time of issuing dispense record #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 #xD; receiverEHDSPatient EHDSPatient #xD; receiverEHDSHealthProfessional EHDSHealthProfessional #xD; receiverEHDSRelatedPerson EHDSRelatedPerson #xD; relatedRequest 0..* Identifier Identifier of the prescription or prescription item the dispense is related to #xD; medication 1..1 EHDSMedication Exact dispensed product #xD; dispensedQuantity 1..1 Quantity Number of dispensed packages if the pack size is known, or number of smaller items/units Binding Description: (preferred): UCUM, EDQM Standard Terms #xD; timeOfDispensation 1..1 dateTime Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record. #xD; substitution 0..1 Base Indicated whether substitution was made by the dispenser #xD; substitutionOccurred 1..1 boolean Indicated whether substitution was made by the dispenser #xD; type 0..1 CodeableConcept What kind of substitution was made by the dispenser #xD; reason 0..* CodeableConcept Reason why the substitution was made or why the expected substitution was not made. #xD; dosageInstructions 0..* EHDSDosaging Dosaging and administration instructions #xD; comment 0..* string Additional information or comments #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
    l: structuredefinition-type-characteristics
  value: Code
    v: can-be-target
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
    l: structuredefinition-type-characteristics
  value: Code
    v: can-be-target
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
  l: EHDSMedicationDispense
version:
  v: 0.2.1
name:
  v: EHDSMedicationDispense
title:
  v: Medication dispense model
status:
  v: draft
date:
  v: 2025-12-03T08:01:45+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 request or independently)
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.2.1
  element:
    id:
      v: EHDSMedicationDispense
    path:
      v: EHDSMedicationDispense
    short:
      v: Medication dispense model
    definition:
      v: Logical model for medication dispensation (based on request or independently)
    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: Common header for all patient-related data
    definition:
      v: Common header for all patient-related data
    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: 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: EHDSMedicationDispense.header.identifier
    path:
      v: EHDSMedicationDispense.header.identifier
    short:
      v: Business identifier for the object
    definition:
      v: Business identifier for the object
    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.authorship
    path:
      v: EHDSMedicationDispense.header.authorship
    short:
      v: Resource authoring details
    definition:
      v: Resource authoring details
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.authorship
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: Base
        l: Base
  element:
    id:
      v: EHDSMedicationDispense.header.authorship.author[x]
    path:
      v: EHDSMedicationDispense.header.authorship.author[x]

v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.

v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.

v: 1

v: 1

path:
  v: EHDSDataSet.header.authorship.author[x]
min:
  v: 1
max:
  v: 1

id:
  v: EHDSMedicationDispense.header.authorship.datetime
path:
  v: EHDSMedicationDispense.header.authorship.datetime
short:
  v: Date and time of issuing dispense record
definition:
  v: Date and time of authoring/issuing
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationDispense.header.lastUpdate
path:
  v: EHDSMedicationDispense.header.lastUpdate
short:
  v: Date and time of the last update to the resource (may be used for technical corrections).
definition:
  v: Date and time of the last update to the resource (may be used for technical corrections).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.lastUpdate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationDispense.header.status
path:
  v: EHDSMedicationDispense.header.status
short:
  v: Status of the resource or document
definition:
  v: Status of the resource or document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationDispense.header.statusReason[x]
path:
  v: EHDSMedicationDispense.header.statusReason[x]
short:
  v: Reason for the current status of the resource.
definition:
  v: Reason for the current status of the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.statusReason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

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
definition:
  v: Identification of the person who received the dispensed medication, especially when it was not the patient
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 or prescription item the dispense is related to
definition:
  v: Identifier of the prescription or 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: EHDSMedicationDispense.medication
path:
  v: EHDSMedicationDispense.medication
short:
  v: Exact dispensed product
definition:
  v: Exact dispensed product
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 pack size is known, or number of smaller items/units
definition:
  v: Number of dispensed packages if the pack size is known, or number of smaller items/units
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 of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
definition:
  v: Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.timeOfDispensation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationDispense.substitution
path:
  v: EHDSMedicationDispense.substitution
short:
  v: Indicated whether substitution was made by the dispenser
definition:
  v: Indicated whether substitution was made by the dispenser
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.substitution
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationDispense.substitution.substitutionOccurred
path:
  v: EHDSMedicationDispense.substitution.substitutionOccurred
short:
  v: Indicated whether substitution was made by the dispenser
definition:
  v: Indicated whether substitution was made by the dispenser
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.substitution.substitutionOccurred
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: EHDSMedicationDispense.substitution.type
path:
  v: EHDSMedicationDispense.substitution.type
short:
  v: What kind of substitution was made by the dispenser
definition:
  v: What kind of substitution was made by the dispenser
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationDispense.substitution.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationDispense.substitution.reason
path:
  v: EHDSMedicationDispense.substitution.reason
short:
  v: Reason why the substitution was made or why the expected substitution was not made.
definition:
  v: Reason why the substitution was made or why the expected substitution was not made.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationDispense.substitution.reason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

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

id:
  v: EHDSMedicationDispense.comment
path:
  v: EHDSMedicationDispense.comment
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationDispense.comment
  min:
    v: 0
  max:
    v: *
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 request or independently)
element:
  id:
    v: EHDSMedicationDispense.header.authorship.datetime
  path:
    v: EHDSMedicationDispense.header.authorship.datetime
  short:
    v: Date and time of issuing dispense record
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
  definition:
    v: Identification of the person who received the dispensed medication, especially when it was not the patient
  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 or prescription item the dispense is related to
  definition:
    v: Identifier of the prescription or prescription item the dispense is related to
  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
  definition:
    v: Exact dispensed product
  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 pack size is known, or number of smaller items/units
  definition:
    v: Number of dispensed packages if the pack size is known, or number of smaller items/units
  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 of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
  definition:
    v: Date and time of dispensation. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: EHDSMedicationDispense.substitution
  path:
    v: EHDSMedicationDispense.substitution
  short:
    v: Indicated whether substitution was made by the dispenser
  definition:
    v: Indicated whether substitution was made by the dispenser
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Base
      l: Base
element:
  id:
    v: EHDSMedicationDispense.substitution.substitutionOccurred
  path:
    v: EHDSMedicationDispense.substitution.substitutionOccurred
  short:
    v: Indicated whether substitution was made by the dispenser
  definition:
    v: Indicated whether substitution was made by the dispenser
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: boolean
      l: boolean
element:
  id:
    v: EHDSMedicationDispense.substitution.type
  path:
    v: EHDSMedicationDispense.substitution.type
  short:
    v: What kind of substitution was made by the dispenser
  definition:
    v: What kind of substitution was made by the dispenser
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: EHDSMedicationDispense.substitution.reason
  path:
    v: EHDSMedicationDispense.substitution.reason
  short:
    v: Reason why the substitution was made or why the expected substitution was not made.
  definition:
    v: Reason why the substitution was made or why the expected substitution was not made.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: EHDSMedicationDispense.dosageInstructions

v: EHDSMedicationDispense.dosageInstructions

v: Dosaging and administration instructions

v: Dosaging and administration instructions

v: 0

v: *

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