Official URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-prescription-request | Version: 1.2.0 | |||
Active as of 2025-07-31 | Computable Name: ERPServiceRequestPrescriptionRequest |
ServiceRequest, der zur Anforderung eines Rezepts verwendet wird
Als zentrales Element in einer Anfrage gelten in dieser Spezifikation ServiceRequests. Diese Bündeln die Informationen für eine konkrete Anfrage an einen anderen Leistungserbringer. Folgende Begriffe werden in diesem IG für diesen ServiceRequests genutzt:
Der ERPServiceRequestPrescriptionRequest ist eine Anfrage zum Ausstellen einer Verordnung an einen Arzt. Alle für den Arzt relevanten Informationen zum Ausstellen einer entsprechenden Verordnung sind hier aufgeführt, bzw. referenziert.
Die Identifikation als ERPServiceRequestPrescriptionRequest (Verordnungsanfrage) wird über .code.coding.code = #prescription-request angegeben.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1, servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex |
![]() ![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex |
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex |
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. |
![]() ![]() ![]() |
SΣ | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. Fixed Value: order |
![]() ![]() ![]() |
SΣ | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Indicates the type of service request. Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. |
![]() ![]() ![]() ![]() |
SΣ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Creation date of the request. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. |
![]() ![]() ![]() |
SΣ | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Reason for the prescription request. Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) |
![]() |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | |
ServiceRequest.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | |
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | |
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason From the FHIR Standard | |
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG | |
ServiceRequest.supportingInfo:pflegeeinrichtungKopie.type | extensible | Pattern Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex |
![]() ![]() ![]() |
S | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. | |
![]() ![]() ![]() |
S | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. |
![]() ![]() ![]() |
S | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. |
![]() ![]() ![]() |
S | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) |
![]() ![]() ![]() |
S | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Indicates the type of service request. |
![]() ![]() ![]() ![]() |
S | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
S | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. |
![]() ![]() ![]() |
S | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). |
![]() ![]() ![]() |
S | 1..1 | dateTime | Creation date of the request. |
![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. |
![]() ![]() ![]() |
S | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for the prescription request. |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Organization | |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. |
![]() ![]() ![]() ![]() |
S | 1..1 | dateTime | When the annotation was made |
![]() |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | |
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | |
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | |
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1, servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex | ||||
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | What request replaces | ||||
![]() ![]() ![]() |
SΣ | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. Fixed Value: order | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Indicates the type of service request. Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Service amount | |||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Creation date of the request. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Requested location Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered. | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Location) | Requested location | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Reason for the prescription request. Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service | ||||
![]() ![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Specimen) | Procedure Samples | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer-oriented instructions | ||||
![]() ![]() ![]() |
0..* | Reference(Provenance) | Request provenance | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | ||||
ServiceRequest.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | ||||
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category From the FHIR Standard | ||||
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | ||||
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | ||||
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | ||||
ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail From the FHIR Standard | ||||
ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason From the FHIR Standard | ||||
ServiceRequest.performerType | example | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard | ||||
ServiceRequest.locationCode | example | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason From the FHIR Standard | ||||
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG | ||||
ServiceRequest.supportingInfo:pflegeeinrichtungKopie.type | extensible | Pattern Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 10 elements(2 nested mandatory elements)
Must-Support: 28 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1, servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex |
![]() ![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex |
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex |
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. |
![]() ![]() ![]() |
SΣ | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. Fixed Value: order |
![]() ![]() ![]() |
SΣ | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Indicates the type of service request. Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. |
![]() ![]() ![]() ![]() |
SΣ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Creation date of the request. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. |
![]() ![]() ![]() |
SΣ | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Reason for the prescription request. Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) |
![]() |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | |
ServiceRequest.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | |
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | |
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason From the FHIR Standard | |
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG | |
ServiceRequest.supportingInfo:pflegeeinrichtungKopie.type | extensible | Pattern Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex |
![]() ![]() ![]() |
S | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. | |
![]() ![]() ![]() |
S | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. |
![]() ![]() ![]() |
S | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. |
![]() ![]() ![]() |
S | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) |
![]() ![]() ![]() |
S | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Indicates the type of service request. |
![]() ![]() ![]() ![]() |
S | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
S | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. |
![]() ![]() ![]() |
S | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). |
![]() ![]() ![]() |
S | 1..1 | dateTime | Creation date of the request. |
![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. |
![]() ![]() ![]() |
S | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for the prescription request. |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Plain text representation of the concept |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Organization | |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. |
![]() ![]() ![]() ![]() |
S | 1..1 | dateTime | When the annotation was made |
![]() |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | |
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | |
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | |
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1, servicerequest-prescription-request-1, servicerequest-prescription-request-2, servicerequest-prescription-request-3, servicerequest-prescription-request-4, servicerequest-prescription-request-5 | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
S | 0..* | ERPServiceRequestEPrescriptionToken | Here the e-prescription token(s) can be made available for processing in a pharmacy. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Indicates whether the medication has been changed by the prescriber. URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex | ||||
![]() ![]() ![]() ![]() |
?!S | 0..1 | boolean | Redeem By Patient URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Defines identifiers to be used in this profile. Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | ERPServiceRequestRequestIdentifier | Identifier that uniquely references a ServiceRequest. | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Medikationsanforderung) | Requested or fulfilled MedicationRequest. | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | What request replaces | ||||
![]() ![]() ![]() |
SΣ | 1..1 | ERPServiceRequestProcedureIdentifier | Identifier of the overall process. Multiple ServiceRequests within a process are allocated the same ID. | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Indicates the processing status of a service request. Binding: Status des ServiceRequests (required) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. Fixed Value: order | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example): Classification of the requested service. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | Indicates the urgency of the request. Binding: Service Request Priorität VS (required) | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Indicates the type of service request. Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Indicates the type of service request. Binding: Art des ServiceRequests (VS) (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: prescription-request | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Service amount | |||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(ERP Service Request Patient) | Patient for whom a prescription is requested on behalf of the patient. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Specifies the date on which the prescription is to be issued (Bedarfszeitraum). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Creation date of the request. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(ERP Service Request Organisation) | Inquiring facility or practitioner. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(ERP Service Request Leistungserbringer) | Doctor who is to issue the prescription. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Requested location Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered. | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Location) | Requested location | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Reason for the prescription request. Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Quantity | Remaining supply URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-ex | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Remaining supply as free text URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/remaining-supply-free-text-ex | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Code defined by a terminology system Binding: Grund für Medikationsanforderung (VS) (required) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service | ||||
![]() ![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Additional clinical information Slice: Unordered, Open by pattern:type | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(ERP Service Request Organisation) | Reference to the care facility that receives a copy of the prescription. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Specimen) | Procedure Samples | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||
![]() ![]() ![]() |
S | 0..* | Annotation | Further information on the prescription request. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer-oriented instructions | ||||
![]() ![]() ![]() |
0..* | Reference(Provenance) | Request provenance | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
ServiceRequest.status | required | ServiceRequestStatusVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs From this IG | ||||
ServiceRequest.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | ||||
ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-category From the FHIR Standard | ||||
ServiceRequest.priority | required | ServiceRequestPriorityVShttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs From this IG | ||||
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | ||||
ServiceRequest.code.coding:request-type | required | Pattern Value: prescription-requesthttps://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs From this IG | ||||
ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail From the FHIR Standard | ||||
ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason From the FHIR Standard | ||||
ServiceRequest.performerType | example | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard | ||||
ServiceRequest.locationCode | example | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason From the FHIR Standard | ||||
ServiceRequest.reasonCode.coding | required | MedicationRequestReasonVS(a valid code from Grund für Medikationsanforderung (CS))https://gematik.de/fhir/erp-servicerequest/ValueSet/medication-request-reason-vs From this IG | ||||
ServiceRequest.supportingInfo:pflegeeinrichtungKopie.type | extensible | Pattern Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
servicerequest-prescription-request-1 | error | ServiceRequest | Wenn der Status aktiv ist, muss der Anforderer vorhanden sein. : status = 'active' implies requester.exists() | |
servicerequest-prescription-request-2 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept vom Patienten eingelöst werden soll, darf der E-Rezept-Token nicht vorhanden sein. : (status = 'completed' and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists() and modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = true) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists().not() | |
servicerequest-prescription-request-3 | error | ServiceRequest | Wenn der Status widerrufen oder fehlerhaft eingegeben ist, muss der Grund oder eine Notiz vorhanden sein. : (status = 'revoked' or status = 'entered-in-error') implies (reasonCode.text.exists() or note.exists()) | |
servicerequest-prescription-request-4 | error | ServiceRequest | Wenn der Status abgeschlossen ist, muss der Durchführende vorhanden sein. : status = 'completed' implies performer.exists() | |
servicerequest-prescription-request-5 | error | ServiceRequest | Wenn der Status abgeschlossen ist und das Rezept nicht vom Patienten eingelöst werden soll, muss der E-Rezept-Token vorhanden sein. : (status = 'completed' and (modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').value = false or modifierExtension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/redeem-by-patient-ex').exists().not())) implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 10 elements(2 nested mandatory elements)
Must-Support: 28 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron