description: Defines the medication request resource for the Medication Service in the ePA system. package_name: de.gematik.epa.medication derivation: constraint name: EPAMedicationRequest type: MedicationRequest elements: meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} substitution: mustSupport: true index: 53 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 55 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 56} dispenseRequest: mustSupport: true index: 47 elements: quantity: mustSupport: true index: 48 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 49} unit: {mustSupport: true, index: 50} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 51 code: {mustSupport: true, index: 52} required: [value] authoredOn: {short: Issue Date, mustSupport: true, index: 39} note: mustSupport: true index: 44 elements: text: {short: Dispensing Note, mustSupport: true, index: 45} extension: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension index: 3 slicing: slices: multiplePrescription: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension index: 3 extensions: indicator: url: null index: 4 elements: value: mustSupport: true choices: [] index: 6 counter: url: null index: 7 elements: value: mustSupport: true choices: [] index: 9 value[x]: elements: numerator: mustSupport: true index: 10 elements: value: {mustSupport: true, index: 11} denominator: mustSupport: true index: 12 elements: value: {mustSupport: true, index: 13} period: url: null index: 14 elements: value: mustSupport: true choices: [] index: 16 value[x]: elements: start: {mustSupport: true, index: 17} end: {mustSupport: true, index: 18} id: url: null index: 19 elements: value: mustSupport: true choices: [] index: 21 value[x]: elements: system: {mustSupport: true, index: 22} value: {mustSupport: true, index: 23} elements: extension: index: 4 slicing: slices: indicator: match: {} schema: index: 4 elements: value: mustSupport: true choices: [] index: 6 counter: match: {} schema: index: 7 elements: value: mustSupport: true choices: [] index: 9 value[x]: elements: numerator: mustSupport: true index: 10 elements: value: {mustSupport: true, index: 11} denominator: mustSupport: true index: 12 elements: value: {mustSupport: true, index: 13} period: match: {} schema: index: 14 elements: value: mustSupport: true choices: [] index: 16 value[x]: elements: start: {mustSupport: true, index: 17} end: {mustSupport: true, index: 18} id: match: {} schema: index: 19 elements: value: mustSupport: true choices: [] index: 21 value[x]: elements: system: {mustSupport: true, index: 22} value: {mustSupport: true, index: 23} isBvg: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension index: 24 elements: value: mustSupport: true choices: [] index: 26 renderedDosageInstruction: match: {} schema: {short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen)., type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', index: 27} min: 0 max: 1 generatedDosageInstructionsMeta: match: {} schema: {short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', index: 28} min: 0 max: 1 requester: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'] index: 40 status: {short: Status of Medication Request, mustSupport: true, index: 32} dosageInstruction: {type: Dosage, short: Hier werden Informationen zur Dosierung angegeben., mustSupport: true, index: 46} identifier: index: 29 slicing: rules: open ordered: false description: ePrescription identifier and overall transaction identifier discriminator: - {path: $this, type: pattern} min: null slices: RxPrescriptionProcessIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier'} index: 30 min: 0 max: 1 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: 31 min: 0 max: 1 intent: {short: filler-order, mustSupport: true, index: 33} basedOn: type: Reference mustSupport: true refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request'] index: 41 elements: reference: {mustSupport: true, index: 42} identifier: {type: Identifier, mustSupport: true, index: 43} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 36 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 37 elements: identifier: {type: Identifier, mustSupport: true, index: 38} required: [identifier] medication: mustSupport: true choices: [medicationReference] index: 35 package_version: 1.2.0 extensions: multiplePrescription: url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension type: Extension mustSupport: true index: 3 extensions: indicator: url: null index: 4 elements: value: mustSupport: true choices: [] index: 6 counter: url: null index: 7 elements: value: mustSupport: true choices: [] index: 9 value[x]: elements: numerator: mustSupport: true index: 10 elements: value: {mustSupport: true, index: 11} denominator: mustSupport: true index: 12 elements: value: {mustSupport: true, index: 13} period: url: null index: 14 elements: value: mustSupport: true choices: [] index: 16 value[x]: elements: start: {mustSupport: true, index: 17} end: {mustSupport: true, index: 18} id: url: null index: 19 elements: value: mustSupport: true choices: [] index: 21 value[x]: elements: system: {mustSupport: true, index: 22} value: {mustSupport: true, index: 23} elements: extension: index: 4 slicing: slices: indicator: match: {} schema: index: 4 elements: value: mustSupport: true choices: [] index: 6 counter: match: {} schema: index: 7 elements: value: mustSupport: true choices: [] index: 9 value[x]: elements: numerator: mustSupport: true index: 10 elements: value: {mustSupport: true, index: 11} denominator: mustSupport: true index: 12 elements: value: {mustSupport: true, index: 13} period: match: {} schema: index: 14 elements: value: mustSupport: true choices: [] index: 16 value[x]: elements: start: {mustSupport: true, index: 17} end: {mustSupport: true, index: 18} id: match: {} schema: index: 19 elements: value: mustSupport: true choices: [] index: 21 value[x]: elements: system: {mustSupport: true, index: 22} value: {mustSupport: true, index: 23} isBvg: url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension type: Extension mustSupport: true index: 24 elements: value: mustSupport: true choices: [] index: 26 renderedDosageInstruction: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', min: 0, max: 1, short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen)., type: Extension, mustSupport: true, index: 27} generatedDosageInstructionsMeta: {url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', min: 0, max: 1, short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, index: 28} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.2.0 required: [authoredOn]