FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationDispense.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispense.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
Version0.2.1
Statusdraft
Date2026-02-04T19:00:50+00:00
NameEHDSMedicationDispense
TitleMedication dispense model
DescriptionLogical model for medication dispensation (based on request or independently)
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
EHDSDataSetDataSet model
EHDSDosagingDosaging model
EHDSHealthProfessionalHealth professional model
EHDSLocationLocation model
EHDSMedicationMedication model
EHDSPatientPatient model
EHDSRelatedPersonRelated person model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EHDSMedicationDispense

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationDispense 0..*EHDSDataSetMedication dispense model

Elements defined in Ancestors:header
Instances of this logical model can be the target of a Reference
... header
.... author[x] 0..*EHDSHealthProfessional, EHDSOrganisation, EHDSDeviceThe actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
.... date 1..1dateTimeDate and time of issuing the dispense record
.... status 1..1CodeableConceptThe status of the dispense, e.g. completed, declined, entered-in-error
Binding Description: (preferred): HL7 MedicationDispense Status Codes
... dispenseLocation 0..1EHDSLocationLocation of dispense
... receiver[x] 0..1Identification 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.
.... receiverEHDSPatientEHDSPatient
.... receiverEHDSHealthProfessionalEHDSHealthProfessional
.... receiverEHDSRelatedPersonEHDSRelatedPerson
... relatedRequest 0..*IdentifierIdentifier of the prescription item the dispense is related to
... medication 1..1EHDSMedicationExact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
... dispensedQuantity 1..1QuantityNumber of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.
Binding Description: (preferred): UCUM, EDQM Standard Terms
... timeOfDispensation 0..1dateTimeDate and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
... substitutionOccurred 0..1booleanWhether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
... dosageInstructions 0..*EHDSDosagingDosaging and administration instructions
... note 0..1stringAdditional information or comments

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationDispense",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "version": "0.2.1",
  "name": "EHDSMedicationDispense",
  "title": "Medication dispense model",
  "status": "draft",
  "date": "2026-02-04T19:00:50+00:00",
  "publisher": "Xt-EHR",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.xt-ehr.eu/"
        }
      ]
    }
  ],
  "description": "Logical model for medication dispensation (based on request or independently)",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.2.1"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationDispense",
        "path": "EHDSMedicationDispense",
        "short": "Medication dispense model",
        "definition": "Logical model for medication dispensation (based on request or independently)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header",
        "path": "EHDSMedicationDispense.header",
        "short": "Basic metadata for this information",
        "definition": "Basic metadata for this information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.subject",
        "path": "EHDSMedicationDispense.header.subject",
        "short": "Patient/subject information",
        "definition": "Patient/subject information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.identifier",
        "path": "EHDSMedicationDispense.header.identifier",
        "short": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
        "definition": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.author[x]",
        "path": "EHDSMedicationDispense.header.author[x]",
        "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.date",
        "path": "EHDSMedicationDispense.header.date",
        "short": "Date and time of issuing the dispense record",
        "definition": "Date and time of issuing the dispense record",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.status",
        "path": "EHDSMedicationDispense.header.status",
        "short": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "definition": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "HL7 MedicationDispense Status Codes"
        }
      },
      {
        "id": "EHDSMedicationDispense.header.source",
        "path": "EHDSMedicationDispense.header.source",
        "short": "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": "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": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.language",
        "path": "EHDSMedicationDispense.header.language",
        "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "EHDSMedicationDispense.dispenseLocation",
        "path": "EHDSMedicationDispense.dispenseLocation",
        "short": "Location of dispense",
        "definition": "Location of dispense",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispenseLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.receiver[x]",
        "path": "EHDSMedicationDispense.receiver[x]",
        "short": "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": "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": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.receiver[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.relatedRequest",
        "path": "EHDSMedicationDispense.relatedRequest",
        "short": "Identifier of the prescription item the dispense is related to",
        "definition": "Identifier of the prescription item the dispense is related to",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationDispense.relatedRequest",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.medication",
        "path": "EHDSMedicationDispense.medication",
        "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dispensedQuantity",
        "path": "EHDSMedicationDispense.dispensedQuantity",
        "short": "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": "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": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispensedQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationDispense.timeOfDispensation",
        "path": "EHDSMedicationDispense.timeOfDispensation",
        "short": "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": "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": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.timeOfDispensation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.substitutionOccurred",
        "path": "EHDSMedicationDispense.substitutionOccurred",
        "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.substitutionOccurred",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dosageInstructions",
        "path": "EHDSMedicationDispense.dosageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationDispense.dosageInstructions",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.note",
        "path": "EHDSMedicationDispense.note",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationDispense",
        "path": "EHDSMedicationDispense",
        "short": "Medication dispense model",
        "definition": "Logical model for medication dispensation (based on request or independently)"
      },
      {
        "id": "EHDSMedicationDispense.header.author[x]",
        "path": "EHDSMedicationDispense.header.author[x]",
        "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information."
      },
      {
        "id": "EHDSMedicationDispense.header.date",
        "path": "EHDSMedicationDispense.header.date",
        "short": "Date and time of issuing the dispense record",
        "definition": "Date and time of issuing the dispense record",
        "min": 1
      },
      {
        "id": "EHDSMedicationDispense.header.status",
        "path": "EHDSMedicationDispense.header.status",
        "short": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "definition": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "binding": {
          "strength": "preferred",
          "description": "HL7 MedicationDispense Status Codes"
        }
      },
      {
        "id": "EHDSMedicationDispense.dispenseLocation",
        "path": "EHDSMedicationDispense.dispenseLocation",
        "short": "Location of dispense",
        "definition": "Location of dispense",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.receiver[x]",
        "path": "EHDSMedicationDispense.receiver[x]",
        "short": "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": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.relatedRequest",
        "path": "EHDSMedicationDispense.relatedRequest",
        "short": "Identifier of the prescription item the dispense is related to",
        "definition": "Identifier of the prescription item the dispense is related to",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.medication",
        "path": "EHDSMedicationDispense.medication",
        "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dispensedQuantity",
        "path": "EHDSMedicationDispense.dispensedQuantity",
        "short": "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": "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": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationDispense.timeOfDispensation",
        "path": "EHDSMedicationDispense.timeOfDispensation",
        "short": "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": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.substitutionOccurred",
        "path": "EHDSMedicationDispense.substitutionOccurred",
        "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dosageInstructions",
        "path": "EHDSMedicationDispense.dosageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.note",
        "path": "EHDSMedicationDispense.note",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}