FHIR IG analytics| Package | xtehr.eu.ehds.models |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-EHDSMedicationDispense.json |
| FHIR Version | R5 |
| Source | https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispense.html |
| URL | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense |
| Version | 0.2.1 |
| Status | draft |
| Date | 2026-02-04T19:00:50+00:00 |
| Name | EHDSMedicationDispense |
| Title | Medication dispense model |
| Description | Logical model for medication dispensation (based on request or independently) |
| Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense |
| Kind | logical |
No resources found
| StructureDefinition | |
| EHDSDataSet | DataSet model |
| EHDSDosaging | Dosaging model |
| EHDSHealthProfessional | Health professional model |
| EHDSLocation | Location model |
| EHDSMedication | Medication model |
| EHDSPatient | Patient model |
| EHDSRelatedPerson | Related person model |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition EHDSMedicationDispense
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | EHDSDataSet | Medication dispense model Elements defined in Ancestors:header Instances of this logical model can be the target of a Reference | |
![]() ![]() | ||||
![]() ![]() ![]() | 0..* | EHDSHealthProfessional, EHDSOrganisation, EHDSDevice | The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information. | |
![]() ![]() ![]() | 1..1 | dateTime | Date and time of issuing the dispense record | |
![]() ![]() ![]() | 1..1 | CodeableConcept | The status of the dispense, e.g. completed, declined, entered-in-error Binding Description: (preferred): HL7 MedicationDispense Status Codes | |
![]() ![]() | 0..1 | EHDSLocation | Location of dispense | |
![]() ![]() | 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. | ||
![]() ![]() ![]() | EHDSPatient | |||
![]() ![]() ![]() | EHDSHealthProfessional | |||
![]() ![]() ![]() | EHDSRelatedPerson | |||
![]() ![]() | 0..* | Identifier | Identifier of the prescription item the dispense is related to | |
![]() ![]() | 1..1 | EHDSMedication | Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created. | |
![]() ![]() | 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. Binding Description: (preferred): UCUM, EDQM Standard Terms | |
![]() ![]() | 0..1 | dateTime | 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. | |
![]() ![]() | 0..1 | boolean | Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction. | |
![]() ![]() | 0..* | EHDSDosaging | Dosaging and administration instructions | |
![]() ![]() | 0..1 | string | Additional information or comments | |
{
"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"
}
]
}
]
}
}