description: Defines the medication dispense resource for the Medication Service in the ePA system. package_name: de.gematik.dev.epa.medication derivation: constraint name: EPAMedicationDispense type: MedicationDispense elements: category: short: Missing value indicates a prescription dispense. binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-category-vs'} mustSupport: true index: 8 whenHandedOver: {mustSupport: true, index: 17} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} substitution: {mustSupport: true, index: 19} extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension index: 3 slicing: slices: rxPrescriptionProcessIdentifier: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 3} min: 0 max: 1 status: binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-status-vs'} index: 7 dosageInstruction: {mustSupport: true, index: 18} identifier: index: 4 slicing: rules: open ordered: false discriminator: - {path: $this, type: pattern} min: null slices: RxOriginatorProcessIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} index: 5 min: 0 max: 1 EPADispensationIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier'} index: 6 min: 0 max: 1 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 11 authorizingPrescription: elements: reference: {mustSupport: true, index: 16} required: [reference] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 12 elements: identifier: {type: Identifier, mustSupport: true, index: 13} required: [identifier] performer: mustSupport: true index: 14 elements: actor: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 15 medication: mustSupport: true choices: [medicationReference] index: 10 package_version: 1.1.0-alpha.5 extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 3} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 1.1.0-rc1 required: [whenHandedOver, subject, performer]