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