Implementation Guide
Version 1.2.0 - release

Resource Profile: ERP Service Request Abgabeanforderung

Official URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-dispense-request Version: 1.2.0
Active as of 2025-07-31 Computable Name: ERPServiceRequestDispenseRequest

ServiceRequest, der zur Abgabe eines Rezepts verwendet wird

Motivation

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:

  • ServiceRequest meint den Request als Basisprofil von HL7
  • ERPServiceRequestDispenseRequest meint konkret dieses Profil in diesem Projekt
  • Dispensieranfrage ist der fachliche Begriff für dieses Profil

Der ERPServiceRequestDispenseRequest ist eine Anfrage zur Belieferung eines Präparates an eine ausliefernde Apotheke. Alle für die Apotheke relevanten Informationen sind in diesem ServiceRequest vorzuhalten, bzw. zu referenzieren.

Dieses Profil wird auch genutzt, um eine Pflegeeinrichtung über die Dispensierung einer Verordnung zu informieren.

Die Identifikation als ERPServiceRequestDispenseRequest (Belieferungsanfrage) wird über .code.coding.code = #dispense-request angegeben.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1, servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged ?!S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
.... identifier:requestId Σ 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... requisition SΣ 1..1 ERPServiceRequestProcedureIdentifier Identifier of the process. All ServiceRequests within a process receive the same ID.
... status ?!SΣ 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent ?!Σ 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: filler-order
... priority SΣ 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code 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.
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type SΣ 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:delivery-type SΣ 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... occurrence[x] SΣ 0..1 dateTime Indicates the date when the medication should be delivered.
... authoredOn SΣ 1..1 dateTime Creation date of the request.
... requester SΣ 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... type Σ 1..1 uri Dispense data that is also sent to the e-prescription server.
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: MedicationDispense
... note S 0..* Annotation Further information on the dispense request.
.... time SΣ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.intentrequiredFixed Value: filler-order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
From the FHIR Standard
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
From the FHIR Standard
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG
ServiceRequest.supportingInfo:AbgabeDaten.typeextensibleFixed Value: MedicationDispense
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
... Slices for identifier S 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Open by pattern:system
.... identifier:requestId 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... status S 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: filler-order
... priority S 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... code S 1..1 CodeableConcept Indicates the type of service request.
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type S 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
..... coding:delivery-type S 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
... subject S 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... occurrence[x] S 0..1 dateTime Indicates the date when the medication should be delivered.
... authoredOn S 1..1 dateTime Creation date of the request.
... requester S 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... type 1..1 uri Dispense data that is also sent to the e-prescription server.
Fixed Value: MedicationDispense
... note S 0..* Annotation Further information on the dispense request.
.... time S 1..1 dateTime When the annotation was made

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG

Constraints

IdGradePath(s)DetailsRequirements
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1, servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged ?!S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
... Slices for identifier SΣ 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Open by pattern:system
.... identifier:requestId Σ 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest | MedicationRequest) What request fulfills
... replaces Σ 0..* Reference(ServiceRequest) What request replaces
... requisition SΣ 1..1 ERPServiceRequestProcedureIdentifier Identifier of the process. All ServiceRequests within a process receive the same ID.
... status ?!SΣ 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent ?!Σ 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: filler-order
... category Σ 0..* CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
... priority SΣ 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type SΣ 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:delivery-type SΣ 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject SΣ 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... encounter Σ 0..1 Reference(Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 dateTime Indicates the date when the medication should be delivered.
... asNeeded[x] Σ 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.
.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn SΣ 1..1 dateTime Creation date of the request.
... requester SΣ 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... performerType Σ 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.
... performer Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.
... locationReference Σ 0..* Reference(Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 1..1 uri Dispense data that is also sent to the e-prescription server.
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: MedicationDispense
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... specimen Σ 0..* Reference(Specimen) Procedure Samples
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
... note S 0..* Annotation Further information on the dispense request.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time SΣ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory 0..* Reference(Provenance) Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.intentrequiredFixed Value: filler-order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
From the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
From the FHIR Standard
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
From the FHIR Standard
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
From the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
From the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
From the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
From the FHIR Standard
ServiceRequest.supportingInfo:AbgabeDaten.typeextensibleFixed Value: MedicationDispense
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1, servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged ?!S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
.... identifier:requestId Σ 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... requisition SΣ 1..1 ERPServiceRequestProcedureIdentifier Identifier of the process. All ServiceRequests within a process receive the same ID.
... status ?!SΣ 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent ?!Σ 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: filler-order
... priority SΣ 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code 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.
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type SΣ 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:delivery-type SΣ 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... occurrence[x] SΣ 0..1 dateTime Indicates the date when the medication should be delivered.
... authoredOn SΣ 1..1 dateTime Creation date of the request.
... requester SΣ 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... type Σ 1..1 uri Dispense data that is also sent to the e-prescription server.
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: MedicationDispense
... note S 0..* Annotation Further information on the dispense request.
.... time SΣ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.intentrequiredFixed Value: filler-order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
From the FHIR Standard
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
From the FHIR Standard
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG
ServiceRequest.supportingInfo:AbgabeDaten.typeextensibleFixed Value: MedicationDispense
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
... Slices for identifier S 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Open by pattern:system
.... identifier:requestId 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... status S 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: filler-order
... priority S 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... code S 1..1 CodeableConcept Indicates the type of service request.
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type S 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
..... coding:delivery-type S 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
... subject S 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... occurrence[x] S 0..1 dateTime Indicates the date when the medication should be delivered.
... authoredOn S 1..1 dateTime Creation date of the request.
... requester S 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... type 1..1 uri Dispense data that is also sent to the e-prescription server.
Fixed Value: MedicationDispense
... note S 0..* Annotation Further information on the dispense request.
.... time S 1..1 dateTime When the annotation was made

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG

Constraints

IdGradePath(s)DetailsRequirements
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: prr-1, servicerequest-dispense-request-1, servicerequest-dispense-request-2, servicerequest-dispense-request-3, servicerequest-dispense-request-4
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension S 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:EPrescriptionToken S 0..1 ERPServiceRequestEPrescriptionToken The e-prescription token for delivery to the pharmacy can be provided here.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex
.... extension:alternativeDeliveryAddress S 0..1 AddressDeBasis(1.5.2) Alternative delivery address.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:medicationChanged ?!S 0..1 boolean Indicates whether the medication has been changed by the pharmacy.
URL: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/changed-medication-ex
... Slices for identifier SΣ 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Open by pattern:system
.... identifier:requestId Σ 1..1 ERPServiceRequestRequestIdentifier Identifier that uniquely references a ServiceRequest.
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest | MedicationRequest) What request fulfills
... replaces Σ 0..* Reference(ServiceRequest) What request replaces
... requisition SΣ 1..1 ERPServiceRequestProcedureIdentifier Identifier of the process. All ServiceRequests within a process receive the same ID.
... status ?!SΣ 1..1 code Indicates the processing status of a service request.
Binding: Status des ServiceRequests (required)
... intent ?!Σ 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: filler-order
... category Σ 0..* CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
... priority SΣ 0..1 code Indicates the urgency of the request.
Binding: Service Request Priorität VS (required)
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:request-type SΣ 1..1 Coding Indicates the type of service request.
Binding: Art des ServiceRequests (VS) (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/erp-servicerequest/CodeSystem/service-request-type-cs
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: dispense-request
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:delivery-type SΣ 0..1 Coding Indicates how the delivery should be made.
Binding: Art der Belieferung (VS) (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.
... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject SΣ 1..1 Reference(ERP Service Request Patient) Patient for whom a dispense is requested on behalf of the patient.
... encounter Σ 0..1 Reference(Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 dateTime Indicates the date when the medication should be delivered.
... asNeeded[x] Σ 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.
.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn SΣ 1..1 dateTime Creation date of the request.
... requester SΣ 0..1 Reference(ERP Service Request Organisation) Inquiring facility or practitioner.
... performerType Σ 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.
... performer Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.
... locationReference Σ 0..* Reference(Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... Slices for supportingInfo S 0..* Reference(Resource) Additional clinical information
Slice: Unordered, Open by pattern:type
.... supportingInfo:AbgabeDaten S 0..1 Reference(ERP Service Request Medikationsabgabe) Additional clinical information
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 1..1 uri Dispense data that is also sent to the e-prescription server.
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: MedicationDispense
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... specimen Σ 0..* Reference(Specimen) Procedure Samples
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
... note S 0..* Annotation Further information on the dispense request.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time SΣ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory 0..* Reference(Provenance) Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.statusrequiredServiceRequestStatusVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs
From this IG
ServiceRequest.intentrequiredFixed Value: filler-order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
From the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
From the FHIR Standard
ServiceRequest.priorityrequiredServiceRequestPriorityVS
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-priority-vs
From this IG
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
From the FHIR Standard
ServiceRequest.code.coding:request-typerequiredPattern Value: dispense-request
https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs
From this IG
ServiceRequest.code.coding:delivery-typerequiredDeliveryTypeVS(a valid code from Art der Belieferung (CS))
https://gematik.de/fhir/erp-servicerequest/ValueSet/delivery-type-vs
From this IG
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
From the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
From the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
From the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
From the FHIR Standard
ServiceRequest.supportingInfo:AbgabeDaten.typeextensibleFixed Value: MedicationDispense
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
servicerequest-dispense-request-1errorServiceRequestWenn der Status aktiv ist, muss der Anforderer vorhanden sein.
: status = 'active' implies requester.exists()
servicerequest-dispense-request-2errorServiceRequestWenn der Status aktiv ist, muss der E-Rezept-Token vorhanden sein.
: status = 'active' implies extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex').exists()
servicerequest-dispense-request-3errorServiceRequestWenn der Status abgeschlossen ist, müssen die Abgabedaten vorhanden sein.
: status = 'completed' implies supportingInfo.where(type='MedicationDispense').exists()
servicerequest-dispense-request-4errorServiceRequestWenn der Code für den Liefertyp 'alternative-address' ist, muss die Adresse angegeben werden.
: (status = 'active' and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').exists() and code.coding.where(system='https://gematik.de/fhir/erp-servicerequest/CodeSystem/delivery-type-cs').code = 'delivery-to-alternative-address') implies (extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').exists() and extension.where(url = 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/alternative-delivery-address-ex').value.empty().not())

 

Other representations of profile: CSV, Excel, Schematron