description: This profile constrains the MedicationDispense resource for the purpose of this guide, adapted from the MPD work. package_name: rs/hl7.fhir.eu.hdr derivation: constraint name: MedicationDispenseEuHdr type: MedicationDispense elements: whenHandedOver: {index: 9} medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 4} status: {short: Current state of the dispensation, index: 1} identifier: {short: Dispensation/dispensed item ID, index: 0} medicationReference: type: Reference choiceOf: medication refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr'] index: 5 quantity: {index: 8} authorizingPrescription: type: Reference refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr'] index: 7 subject: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core'] index: 6 medication: choices: [medicationCodeableConcept, medicationReference] index: 3 package_version: 0.1.0-ballot class: profile kind: resource url: http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 0.1.0-ballot required: [quantity, whenHandedOver]