description: Defines the medication dispense resource for the Medication Service in the ePA system. package_name: rs/de.gematik.epa.medication derivation: constraint name: EPAMedicationDispense type: MedicationDispense elements: whenHandedOver: {mustSupport: true, index: 16} substitution: {mustSupport: true, index: 18} medication[x]: extensions: dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 8} elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 8 slicing: slices: dataAbsentReason: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 8} min: 0 max: 1 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: rxPrescriptionProcessIdentifier: match: {url: null} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 1} min: 0 max: 1 status: binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-vs'} index: 4 dosageInstruction: {mustSupport: true, index: 17} identifier: index: 2 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: 3 min: 0 max: 1 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 7 authorizingPrescription: elements: reference: {mustSupport: true, index: 15} required: [reference] subject: mustSupport: true index: 11 elements: identifier: {type: Identifier, mustSupport: true, index: 12} performer: mustSupport: true index: 13 elements: actor: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 14 medication: extensions: {} elements: extension: elements: value: pattern: {type: code, value: unsupported} choices: [] type: code index: 10 package_version: 1.0.0-RC extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 1.0.0 required: [performer, subject, whenHandedOver]