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: 51 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 53 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 54} dispenseRequest: mustSupport: true index: 45 elements: quantity: mustSupport: true index: 46 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 47} unit: {mustSupport: true, index: 48} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 49 code: {mustSupport: true, index: 50} required: [value] authoredOn: {short: Issue Date, mustSupport: true, index: 37} note: mustSupport: true index: 42 elements: text: {short: Dispensing Note, mustSupport: true, index: 43} 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 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: 38 status: {short: Status of Medication Request, mustSupport: true, index: 30} dosageInstruction: {type: Dosage, short: Hier werden Informationen zur Dosierung angegeben., mustSupport: true, index: 44} identifier: index: 27 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: 28 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: 29 min: 0 max: 1 intent: {short: filler-order, mustSupport: true, index: 31} basedOn: type: Reference mustSupport: true refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request'] index: 39 elements: reference: {mustSupport: true, index: 40} identifier: {type: Identifier, mustSupport: true, index: 41} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 34 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 35 elements: identifier: {type: Identifier, mustSupport: true, index: 36} required: [identifier] medication: mustSupport: true choices: [medicationReference] index: 33 package_version: 1.2.0-ballot.1 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 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-ballot.1 required: [authoredOn]