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: 167 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 169 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 170} medication[x]: elements: reference: {mustSupport: true, index: 112} identifier: mustSupport: true index: 113 elements: type: mustSupport: true index: 114 elements: coding: mustSupport: true index: 115 elements: system: {mustSupport: true, index: 116} version: {mustSupport: true, index: 117} code: {mustSupport: true, index: 118} display: {mustSupport: true, index: 119} system: {mustSupport: true, index: 120} value: {mustSupport: true, index: 121} display: {mustSupport: true, index: 122} dispenseRequest: mustSupport: true index: 160 elements: quantity: mustSupport: true index: 161 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 162} unit: {mustSupport: true, index: 163} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 164 code: {mustSupport: true, index: 165} required: [value] expectedSupplyDuration: {mustSupport: true, index: 166} authoredOn: {short: Issue Date, mustSupport: true, index: 125} note: mustSupport: true index: 150 elements: time: {mustSupport: true, index: 151} text: {short: Dispensing Note, mustSupport: true, index: 152} extension: mustSupport: true index: 3 slicing: slices: patientID: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension index: 63 elements: url: {mustSupport: true, index: 64} value: mustSupport: true choices: [] index: 66 value[x]: elements: type: mustSupport: true index: 67 elements: coding: mustSupport: true index: 68 elements: system: {mustSupport: true, index: 69} version: {mustSupport: true, index: 70} code: {mustSupport: true, index: 71} display: {mustSupport: true, index: 72} system: {mustSupport: true, index: 73} value: {mustSupport: true, index: 74} isBvg: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension index: 43 elements: url: {mustSupport: true, index: 44} value: mustSupport: true choices: [] index: 46 prescriberID: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension index: 51 elements: url: {mustSupport: true, index: 52} value: mustSupport: true choices: [] index: 54 value[x]: elements: type: mustSupport: true index: 55 elements: coding: mustSupport: true index: 56 elements: system: {mustSupport: true, index: 57} version: {mustSupport: true, index: 58} code: {mustSupport: true, index: 59} display: {mustSupport: true, index: 60} system: {mustSupport: true, index: 61} value: {mustSupport: true, index: 62} multiplePrescription: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension index: 4 extensions: indicator: url: null mustSupport: true index: 6 elements: url: {mustSupport: true, index: 7} value: mustSupport: true choices: [] index: 9 counter: url: null mustSupport: true index: 10 elements: url: {mustSupport: true, index: 11} value: mustSupport: true choices: [] index: 13 value[x]: elements: numerator: mustSupport: true index: 14 elements: value: {mustSupport: true, index: 15} unit: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} code: {mustSupport: true, index: 18} denominator: mustSupport: true index: 19 elements: value: {mustSupport: true, index: 20} unit: {mustSupport: true, index: 21} system: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} period: url: null mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 value[x]: elements: start: {mustSupport: true, index: 28} end: {mustSupport: true, index: 29} id: url: null mustSupport: true index: 30 elements: url: {mustSupport: true, index: 31} value: mustSupport: true choices: [] index: 33 value[x]: elements: type: mustSupport: true index: 34 elements: coding: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} version: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} system: {mustSupport: true, index: 40} value: {mustSupport: true, index: 41} elements: extension: mustSupport: true index: 5 slicing: slices: indicator: match: {} schema: mustSupport: true index: 6 elements: url: {mustSupport: true, index: 7} value: mustSupport: true choices: [] index: 9 counter: match: {} schema: mustSupport: true index: 10 elements: url: {mustSupport: true, index: 11} value: mustSupport: true choices: [] index: 13 value[x]: elements: numerator: mustSupport: true index: 14 elements: value: {mustSupport: true, index: 15} unit: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} code: {mustSupport: true, index: 18} denominator: mustSupport: true index: 19 elements: value: {mustSupport: true, index: 20} unit: {mustSupport: true, index: 21} system: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} period: match: {} schema: mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 value[x]: elements: start: {mustSupport: true, index: 28} end: {mustSupport: true, index: 29} id: match: {} schema: mustSupport: true index: 30 elements: url: {mustSupport: true, index: 31} value: mustSupport: true choices: [] index: 33 value[x]: elements: type: mustSupport: true index: 34 elements: coding: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} version: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} system: {mustSupport: true, index: 40} value: {mustSupport: true, index: 41} url: {mustSupport: true, index: 42} generatedDosageInstructionsMeta: match: {} schema: short: Metadaten zu den generierten Dosierungsanweisungen type: Extension mustSupport: true url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta index: 82 extensions: language: url: null index: 83 elements: url: {mustSupport: true, index: 84} value: mustSupport: true choices: [] index: 86 algorithmVersion: url: null index: 87 elements: url: {mustSupport: true, index: 88} value: mustSupport: true choices: [] index: 90 elements: extension: index: 83 slicing: slices: language: match: {} schema: index: 83 elements: url: {mustSupport: true, index: 84} value: mustSupport: true choices: [] index: 86 algorithmVersion: match: {} schema: index: 87 elements: url: {mustSupport: true, index: 88} value: mustSupport: true choices: [] index: 90 url: {mustSupport: true, index: 91} isSer: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension index: 47 elements: url: {mustSupport: true, index: 48} value: mustSupport: true choices: [] index: 50 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: 77 extensions: {} elements: extension: {index: 78} url: {mustSupport: true, index: 79} value: mustSupport: true choices: [] index: 81 narcotics: match: {} schema: {short: Betäubungsmittel (BtM), type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension', index: 75} min: 0 max: 1 teratogenic: match: {} schema: {short: T-Rezept, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension', index: 76} 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: 126 elements: reference: {mustSupport: true, index: 127} identifier: mustSupport: true index: 128 elements: type: mustSupport: true index: 129 elements: coding: mustSupport: true index: 130 elements: system: {mustSupport: true, index: 131} version: {mustSupport: true, index: 132} code: {mustSupport: true, index: 133} display: {mustSupport: true, index: 134} system: {mustSupport: true, index: 135} value: {mustSupport: true, index: 136} display: {mustSupport: true, index: 137} status: short: Status of Medication Request binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs'} mustSupport: true index: 107 dosageInstruction: type: Dosage short: Hier werden Informationen zur Dosierung angegeben. mustSupport: true index: 153 elements: doseAndRate: elements: dose: mustSupport: true choices: [] index: 155 slicing: slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 157 doseQuantity: type: Quantity choiceOf: dose index: 158 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 158} dose[x]: elements: value: {mustSupport: true, index: 159} identifier: mustSupport: true index: 92 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 mustSupport: true pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier'} index: 93 elements: type: mustSupport: true index: 94 elements: coding: mustSupport: true index: 95 elements: system: {mustSupport: true, index: 96} version: {mustSupport: true, index: 97} code: {mustSupport: true, index: 98} display: {mustSupport: true, index: 99} RxOriginatorProcessIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} schema: type: Identifier mustSupport: true pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} index: 100 elements: type: mustSupport: true index: 101 elements: coding: mustSupport: true index: 102 elements: system: {mustSupport: true, index: 103} version: {mustSupport: true, index: 104} code: {mustSupport: true, index: 105} display: {mustSupport: true, index: 106} intent: {short: filler-order, mustSupport: true, index: 108} basedOn: type: Reference mustSupport: true refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request'] index: 138 elements: reference: {mustSupport: true, index: 139} identifier: type: Identifier mustSupport: true index: 140 elements: type: mustSupport: true index: 141 elements: coding: mustSupport: true index: 142 elements: system: {mustSupport: true, index: 143} version: {mustSupport: true, index: 144} code: {mustSupport: true, index: 145} display: {mustSupport: true, index: 146} system: {mustSupport: true, index: 147} value: {mustSupport: true, index: 148} display: {mustSupport: true, index: 149} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 111 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 123 elements: identifier: {type: Identifier, mustSupport: true, index: 124} required: [identifier] medication: mustSupport: true choices: [medicationReference] index: 110 package_version: 1.3.3 extensions: patientID: url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension type: Extension mustSupport: true index: 63 elements: url: {mustSupport: true, index: 64} value: mustSupport: true choices: [] index: 66 value[x]: elements: type: mustSupport: true index: 67 elements: coding: mustSupport: true index: 68 elements: system: {mustSupport: true, index: 69} version: {mustSupport: true, index: 70} code: {mustSupport: true, index: 71} display: {mustSupport: true, index: 72} system: {mustSupport: true, index: 73} value: {mustSupport: true, index: 74} isBvg: url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension type: Extension mustSupport: true index: 43 elements: url: {mustSupport: true, index: 44} value: mustSupport: true choices: [] index: 46 prescriberID: url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension type: Extension mustSupport: true index: 51 elements: url: {mustSupport: true, index: 52} value: mustSupport: true choices: [] index: 54 value[x]: elements: type: mustSupport: true index: 55 elements: coding: mustSupport: true index: 56 elements: system: {mustSupport: true, index: 57} version: {mustSupport: true, index: 58} code: {mustSupport: true, index: 59} display: {mustSupport: true, index: 60} system: {mustSupport: true, index: 61} value: {mustSupport: true, index: 62} multiplePrescription: url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension type: Extension mustSupport: true index: 4 extensions: indicator: url: null mustSupport: true index: 6 elements: url: {mustSupport: true, index: 7} value: mustSupport: true choices: [] index: 9 counter: url: null mustSupport: true index: 10 elements: url: {mustSupport: true, index: 11} value: mustSupport: true choices: [] index: 13 value[x]: elements: numerator: mustSupport: true index: 14 elements: value: {mustSupport: true, index: 15} unit: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} code: {mustSupport: true, index: 18} denominator: mustSupport: true index: 19 elements: value: {mustSupport: true, index: 20} unit: {mustSupport: true, index: 21} system: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} period: url: null mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 value[x]: elements: start: {mustSupport: true, index: 28} end: {mustSupport: true, index: 29} id: url: null mustSupport: true index: 30 elements: url: {mustSupport: true, index: 31} value: mustSupport: true choices: [] index: 33 value[x]: elements: type: mustSupport: true index: 34 elements: coding: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} version: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} system: {mustSupport: true, index: 40} value: {mustSupport: true, index: 41} elements: extension: mustSupport: true index: 5 slicing: slices: indicator: match: {} schema: mustSupport: true index: 6 elements: url: {mustSupport: true, index: 7} value: mustSupport: true choices: [] index: 9 counter: match: {} schema: mustSupport: true index: 10 elements: url: {mustSupport: true, index: 11} value: mustSupport: true choices: [] index: 13 value[x]: elements: numerator: mustSupport: true index: 14 elements: value: {mustSupport: true, index: 15} unit: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} code: {mustSupport: true, index: 18} denominator: mustSupport: true index: 19 elements: value: {mustSupport: true, index: 20} unit: {mustSupport: true, index: 21} system: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} period: match: {} schema: mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 value[x]: elements: start: {mustSupport: true, index: 28} end: {mustSupport: true, index: 29} id: match: {} schema: mustSupport: true index: 30 elements: url: {mustSupport: true, index: 31} value: mustSupport: true choices: [] index: 33 value[x]: elements: type: mustSupport: true index: 34 elements: coding: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} version: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} system: {mustSupport: true, index: 40} value: {mustSupport: true, index: 41} url: {mustSupport: true, index: 42} generatedDosageInstructionsMeta: url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta short: Metadaten zu den generierten Dosierungsanweisungen type: Extension mustSupport: true index: 82 extensions: language: url: null index: 83 elements: url: {mustSupport: true, index: 84} value: mustSupport: true choices: [] index: 86 algorithmVersion: url: null index: 87 elements: url: {mustSupport: true, index: 88} value: mustSupport: true choices: [] index: 90 elements: extension: index: 83 slicing: slices: language: match: {} schema: index: 83 elements: url: {mustSupport: true, index: 84} value: mustSupport: true choices: [] index: 86 algorithmVersion: match: {} schema: index: 87 elements: url: {mustSupport: true, index: 88} value: mustSupport: true choices: [] index: 90 url: {mustSupport: true, index: 91} isSer: url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension type: Extension mustSupport: true index: 47 elements: url: {mustSupport: true, index: 48} value: mustSupport: true choices: [] index: 50 renderedDosageInstruction: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). type: Extension mustSupport: true index: 77 extensions: {} elements: extension: {index: 78} url: {mustSupport: true, index: 79} value: mustSupport: true choices: [] index: 81 narcotics: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension', min: 0, max: 1, short: Betäubungsmittel (BtM), type: Extension, mustSupport: true, index: 75} teratogenic: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension', min: 0, max: 1, short: T-Rezept, type: Extension, mustSupport: true, index: 76} 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.2 required: [authoredOn]