description: Defines the medication request resource for the Medication Service in the TI ecosystem. package_name: de.gematik.ti derivation: constraint name: TIMedicationRequestDgMP type: MedicationRequest elements: meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} substitution: mustSupport: true index: 56 elements: allowed: mustSupport: true choices: [allowedBoolean] index: 58 allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 59} dispenseRequest: mustSupport: true index: 49 elements: quantity: mustSupport: true index: 50 elements: value: {short: Number of Prescribed Packages, mustSupport: true, index: 51} unit: {mustSupport: true, index: 52} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} mustSupport: true index: 53 code: {mustSupport: true, index: 54} required: [value] expectedSupplyDuration: {mustSupport: true, index: 55} authoredOn: {short: Issue Date, mustSupport: true, index: 41} note: mustSupport: true index: 46 elements: text: {short: Dispensing Note, mustSupport: true, index: 47} extension: index: 3 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: patientID: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension', index: 22} min: 0 max: 1 isBvg: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension', index: 17} min: 0 max: 1 prescriberID: match: {url: null} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension index: 19 elements: value: mustSupport: true choices: [] index: 21 multiplePrescription: match: {url: null} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension index: 5 extensions: counter: url: null index: 6 elements: value[x]: elements: numerator: mustSupport: true index: 7 elements: value: {mustSupport: true, index: 8} denominator: mustSupport: true index: 9 elements: value: {mustSupport: true, index: 10} period: url: null index: 11 elements: value[x]: elements: start: {mustSupport: true, index: 12} end: {mustSupport: true, index: 13} id: url: null mustSupport: true index: 14 elements: value[x]: elements: system: {mustSupport: true, index: 15} value: {mustSupport: true, index: 16} elements: extension: index: 6 slicing: slices: counter: match: {} schema: index: 6 elements: value[x]: elements: numerator: mustSupport: true index: 7 elements: value: {mustSupport: true, index: 8} denominator: mustSupport: true index: 9 elements: value: {mustSupport: true, index: 10} period: match: {} schema: index: 11 elements: value[x]: elements: start: {mustSupport: true, index: 12} end: {mustSupport: true, index: 13} id: match: {} schema: mustSupport: true index: 14 elements: value[x]: elements: system: {mustSupport: true, index: 15} value: {mustSupport: true, index: 16} generatedDosageInstructionsMeta: match: {url: null} schema: {short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', index: 30} min: 0 max: 1 context: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', index: 4} min: 0 max: 1 isSer: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension', index: 18} min: 0 max: 1 renderedDosageInstruction: match: {url: null} 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: 26 extensions: {} elements: extension: {index: 27} value: mustSupport: true choices: [] index: 29 narcotics: match: {url: null} schema: short: Betäubungsmittel (BtM) type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension index: 23 extensions: {} elements: extension: {mustSupport: true, index: 24} teratogenic: match: {url: null} schema: {short: T-Rezept, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension', index: 25} 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: 42 status: short: Status of Medication Request binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs'} mustSupport: true index: 34 dosageInstruction: {type: Dosage, short: Hier werden Informationen zur Dosierung angegeben., mustSupport: true, index: 48} identifier: index: 31 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: 32 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: 33 min: 0 max: 1 intent: {short: filler-order, mustSupport: true, index: 35} basedOn: mustSupport: true index: 43 elements: reference: {mustSupport: true, index: 44} identifier: {type: Identifier, mustSupport: true, index: 45} medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] index: 38 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 39 elements: identifier: {type: Identifier, mustSupport: true, index: 40} required: [identifier] medication: mustSupport: true choices: [medicationReference] index: 37 package_version: 1.4.0-ballot.2 extensions: patientID: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 22} isBvg: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 17} prescriberID: url: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension type: Extension mustSupport: true index: 19 elements: value: mustSupport: true choices: [] index: 21 multiplePrescription: url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension type: Extension mustSupport: true index: 5 extensions: counter: url: null index: 6 elements: value[x]: elements: numerator: mustSupport: true index: 7 elements: value: {mustSupport: true, index: 8} denominator: mustSupport: true index: 9 elements: value: {mustSupport: true, index: 10} period: url: null index: 11 elements: value[x]: elements: start: {mustSupport: true, index: 12} end: {mustSupport: true, index: 13} id: url: null mustSupport: true index: 14 elements: value[x]: elements: system: {mustSupport: true, index: 15} value: {mustSupport: true, index: 16} elements: extension: index: 6 slicing: slices: counter: match: {} schema: index: 6 elements: value[x]: elements: numerator: mustSupport: true index: 7 elements: value: {mustSupport: true, index: 8} denominator: mustSupport: true index: 9 elements: value: {mustSupport: true, index: 10} period: match: {} schema: index: 11 elements: value[x]: elements: start: {mustSupport: true, index: 12} end: {mustSupport: true, index: 13} id: match: {} schema: mustSupport: true index: 14 elements: value[x]: elements: system: {mustSupport: true, index: 15} value: {mustSupport: true, index: 16} 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: 30} context: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 4} isSer: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 18} 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: 26 extensions: {} elements: extension: {index: 27} value: mustSupport: true choices: [] index: 29 narcotics: url: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension short: Betäubungsmittel (BtM) type: Extension mustSupport: true index: 23 extensions: {} elements: extension: {mustSupport: true, index: 24} teratogenic: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension', min: 0, max: 1, short: T-Rezept, type: Extension, mustSupport: true, index: 25} class: profile kind: resource url: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-request-dgmp base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.4.0 required: [authoredOn]