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: 67 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 69 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 70} dispenseRequest: mustSupport: true index: 60 elements: quantity: mustSupport: true index: 61 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 62} unit: {mustSupport: true, index: 63} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 64 code: {mustSupport: true, index: 65} required: [value] expectedSupplyDuration: {mustSupport: true, index: 66} authoredOn: {short: Issue Date, mustSupport: true, index: 52} note: mustSupport: true index: 57 elements: text: {short: Dispensing Note, mustSupport: true, index: 58} extension: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension index: 3 slicing: slices: patientID: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension index: 33 elements: value: mustSupport: true choices: [] index: 35 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 prescriberID: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension index: 30 elements: value: mustSupport: true choices: [] index: 32 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} generatedDosageInstructionsMeta: match: {} schema: {short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', index: 41} min: 0 max: 1 isSer: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension index: 27 elements: value: mustSupport: true choices: [] index: 29 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: 40} min: 0 max: 1 narcotics: match: {} schema: short: Betäubungsmittel (BtM) type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension index: 36 extensions: {} elements: extension: {mustSupport: true, index: 37} teratogenic: match: {} schema: short: T-Rezept type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension index: 38 extensions: {} elements: extension: {mustSupport: true, index: 39} 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: 53 status: short: Status of Medication Request binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs'} mustSupport: true index: 45 dosageInstruction: {type: Dosage, short: Hier werden Informationen zur Dosierung angegeben., mustSupport: true, index: 59} identifier: index: 42 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: 43 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: 44 min: 0 max: 1 intent: {short: filler-order, mustSupport: true, index: 46} basedOn: type: Reference mustSupport: true refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request'] index: 54 elements: reference: {mustSupport: true, index: 55} identifier: {type: Identifier, mustSupport: true, index: 56} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 49 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 50 elements: identifier: {type: Identifier, mustSupport: true, index: 51} required: [identifier] medication: mustSupport: true choices: [medicationReference] index: 48 package_version: 1.3.0 extensions: patientID: url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension type: Extension index: 33 elements: value: mustSupport: true choices: [] index: 35 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 prescriberID: url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension type: Extension index: 30 elements: value: mustSupport: true choices: [] index: 32 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} 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: 41} isSer: url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension type: Extension mustSupport: true index: 27 elements: value: mustSupport: true choices: [] index: 29 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: 40} narcotics: url: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension short: Betäubungsmittel (BtM) type: Extension mustSupport: true index: 36 extensions: {} elements: extension: {mustSupport: true, index: 37} teratogenic: url: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension short: T-Rezept type: Extension mustSupport: true index: 38 extensions: {} elements: extension: {mustSupport: true, index: 39} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.3.0 required: [authoredOn]