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: 15} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} substitution: {mustSupport: true, index: 17} 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-vs'} index: 6 dosageInstruction: {mustSupport: true, index: 16} 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 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 9 authorizingPrescription: elements: reference: {mustSupport: true, index: 14} required: [reference] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 10 elements: identifier: {type: Identifier, mustSupport: true, index: 11} performer: mustSupport: true index: 12 elements: actor: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 13 medication: mustSupport: true choices: [medicationReference] index: 8 package_version: 1.0.1 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.0.1 required: [performer, subject, whenHandedOver]