description: Defines the medication request resource for the Medication Service in the ePA system. package_name: rs/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: 49 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 51 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 52} dispenseRequest: mustSupport: true index: 44 elements: quantity: mustSupport: true index: 45 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 46} system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} mustSupport: true type: uri index: 47 code: mustSupport: true pattern: {type: code, value: '{Package}'} type: code index: 48 required: [code, system, value] required: [quantity] authoredOn: {short: Issue Date, mustSupport: true, index: 37} note: mustSupport: true index: 39 elements: text: {short: Dispensing Note, mustSupport: true, index: 40} 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 binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/epa-medication-request-vs'} index: 30 dosageInstruction: short: Hier werden Informationen zur Dosierung angegeben. mustSupport: true index: 41 elements: text: {short: Hier kann die Dosieranweisung in Form eines Freitextes abgebildet werden., mustSupport: true, index: 42} patientInstruction: {short: Instructions for Use, mustSupport: true, index: 43} required: [text] 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} 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.0.5-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.0.5 required: [authoredOn, dispenseRequest]