description: ServiceRequest, which is used to request a recipe package_name: de.gematik.erp derivation: constraint name: ERPServiceRequestPrescriptionRequest type: ServiceRequest elements: supportingInfo: mustSupport: true index: 29 slicing: rules: open ordered: false description: Additional information on the prescription request. discriminator: - {path: type, type: pattern} min: null slices: pflegeeinrichtungKopie: match: {type: Organization} schema: short: Reference to the care facility that receives a copy of the prescription. refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-organization'] type: Reference mustSupport: true index: 30 elements: type: pattern: {type: Uri, value: Organization} index: 31 required: [type] reasonCode: short: Reason for the prescription request. mustSupport: true index: 23 extensions: remainingSupply: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex', min: 0, max: 1, short: Remaining supply, type: Extension, mustSupport: true, index: 25} remainingSupplyFreeText: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex', min: 0, max: 1, short: Remaining supply as free text, type: Extension, mustSupport: true, index: 26} elements: extension: mustSupport: true index: 24 slicing: slices: remainingSupply: match: {} schema: {short: Remaining supply, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex', index: 25} min: 0 max: 1 remainingSupplyFreeText: match: {} schema: {short: Remaining supply as free text, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex', index: 26} min: 0 max: 1 coding: binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs'} mustSupport: true index: 27 text: {mustSupport: true, index: 28} authoredOn: {short: Creation date of the request., mustSupport: true, index: 20} note: short: Further information on the prescription request. mustSupport: true index: 32 elements: time: {mustSupport: true, index: 33} required: [time] requisition: {type: Identifier, short: Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID., mustSupport: true, index: 7} extension: mustSupport: true index: 0 slicing: slices: EPrescriptionToken: match: {} schema: {short: Here the e-prescription token(s) can be made available for processing in a pharmacy., type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex', index: 1} min: 0 requester: type: Reference short: Inquiring facility or practitioner. mustSupport: true refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-organization'] index: 21 priority: short: Indicates the urgency of the request. binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs'} mustSupport: true index: 10 status: short: Indicates the processing status of a service request. binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs'} mustSupport: true index: 8 code: short: Indicates the type of service request. mustSupport: true index: 11 elements: coding: mustSupport: true index: 12 slicing: rules: open ordered: false description: Differentiates between the service request type and additional information. discriminator: - {path: $this, type: pattern} min: 1 slices: request-type: match: {code: prescription-request, system: 'https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs'} schema: short: Indicates the type of service request. mustSupport: true _required: true binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs'} pattern: type: Coding value: {code: prescription-request, system: 'https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs'} index: 13 elements: system: {index: 14} code: {index: 15} required: [system, code] required: [coding] identifier: short: Defines identifiers to be used in this profile. mustSupport: true index: 4 slicing: rules: open discriminator: - {path: system, type: pattern} min: 1 slices: requestId: match: {system: null} schema: {type: Identifier, short: Identifier that uniquely references a ServiceRequest., _required: true, index: 5} min: 1 max: 1 intent: pattern: {type: Code, value: order} mustSupport: true index: 9 basedOn: short: Requested or fulfilled MedicationRequest. refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-medication-request'] type: Reference mustSupport: true index: 6 occurrenceDateTime: {type: dateTime, short: Specifies the date on which the prescription is to be issued (Bedarfszeitraum)., mustSupport: true, choiceOf: occurrence, index: 19} subject: type: Reference short: Patient for whom a prescription is requested on behalf of the patient. mustSupport: true refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-patient'] index: 16 modifierExtension: short: Indicates whether the medication has been changed by the prescriber. type: Extension mustSupport: true url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex isModifierReason: If the medication has been changed, the receiving system must display the changed medication to the receiving user. index: 2 slicing: slices: medicationChanged: match: {} schema: {short: Indicates whether the medication has been changed by the prescriber., type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex', isModifierReason: 'If the medication has been changed, the receiving system must display the changed medication to the receiving user.', index: 2} min: 0 max: 1 redeemByPatient: match: {} schema: {short: Redeem By Patient, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex', isModifierReason: This determines the Flow Type of the prescription to be set to 160/200 so that the patient can redeem the prescription himself. If not set the Flow Type is set to 169/209., index: 3} min: 0 max: 1 occurrence: short: Specifies the date on which the prescription is to be issued (Bedarfszeitraum). mustSupport: true choices: [occurrenceDateTime] index: 18 performer: type: Reference short: Doctor who is to issue the prescription. mustSupport: true refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-practitioner'] index: 22 package_version: servicerequest-1.2.0-rc1 extensions: EPrescriptionToken: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex', min: 0, short: Here the e-prescription token(s) can be made available for processing in a pharmacy., type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-prescription-request base: http://hl7.org/fhir/StructureDefinition/ServiceRequest version: '1.2' required: [authoredOn, basedOn, requisition, identifier, code]