Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## Resource Profile: GEM ERP PR Communication DispReq

Official URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq | Version: 2.0.0-ballot.2
Active as of 2026-06-30 | Computable Name: GEM_ERP_PR_Communication_DispReq
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Anfrage zur Einlösung des E-Rezepts

Usages:

- Examples for this Profile: Communication/2be1c6ac-5d10-47f6-84ee-8318b2c22c76 and Communication/a218a36e-f2fd-4603-ba67-c827acfef01b
- CapabilityStatements using this Profile: TIFlow Fachdienst Server Capabilities

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
meta | S Σ | 1..1 | Meta | Metadata about the resource
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
Slices for profile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
basedOn | S Σ | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
reference | S Σ C | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
status | ?!S Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Fixed Value: unknown
sent | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde.
received | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde.
recipient | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
identifier | S Σ | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
sender | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war.
identifier | S Σ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
payload | S | 0..1 | BackboneElement | Message payload
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Communication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Communication | 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 | Communication | 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 | Communication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Communication | 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()`
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

This structure is derived from GEM_ERP_PR_Communication

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
meta |  | 1..1 | Meta | Metadata about the resource
Slices for profile | S | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
recipient |  | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
identifier | S | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
sender |  |  |  |
identifier | S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
payload |  | 0..1 | BackboneElement | Message payload
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | S Σ | 1..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
Slices for profile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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 Bindings | Purpose
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 |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Unique identifier
basedOn | S Σ | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
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 | S Σ C | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
type | Σ | 0..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).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
status | ?!S Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Fixed Value: unknown
sent | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde.
received | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde.
recipient | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
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 | Σ | 0..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).
identifier | S Σ | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
sender | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war.
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 | Σ | 0..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).
identifier | S Σ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
payload | S | 0..1 | BackboneElement | Message payload
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Communication.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Communication.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Communication.basedOn.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std.
Communication.recipient.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Communication.sender.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Communication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Communication | 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 | Communication | 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 | Communication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Communication | 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()`
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

This structure is derived from GEM_ERP_PR_Communication

Summary

Mandatory: 7 elements(1 nested mandatory element)
Must-Support: 4 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- Identifier-Profil für die Telematik-ID (http://fhir.de/StructureDefinition/identifier-telematik-id)
- Identifier-Profil für die 10-stellige Krankenversichertennummer (http://fhir.de/StructureDefinition/identifier-kvid-10)

Extensions

This structure refers to these extensions:

- https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Communication.meta.profile (Closed)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
meta | S Σ | 1..1 | Meta | Metadata about the resource
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
Slices for profile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
basedOn | S Σ | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
reference | S Σ C | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
status | ?!S Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Fixed Value: unknown
sent | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde.
received | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde.
recipient | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
identifier | S Σ | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
sender | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war.
identifier | S Σ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
payload | S | 0..1 | BackboneElement | Message payload
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Communication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Communication | 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 | Communication | 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 | Communication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Communication | 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()`
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

Differential View

This structure is derived from GEM_ERP_PR_Communication

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
meta |  | 1..1 | Meta | Metadata about the resource
Slices for profile | S | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
recipient |  | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
identifier | S | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
sender |  |  |  |
identifier | S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
payload |  | 0..1 | BackboneElement | Message payload
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Communication | C | 0..* | GEM_ERP_PR_Communication | A record of information transmitted from a sender to a receiver Constraints: workflow-communication-payload-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | S Σ | 1..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
Slices for profile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Closed by value:$this
profile:workflowProfile | S Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|2.0
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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 Bindings | Purpose
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 |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:flowType |  | 1..1 | Coding | Extension URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType Binding: ValueSet der Flowtypes in TIFlow Anwendungen (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Unique identifier
basedOn | S Σ | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
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 | S Σ C | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an.
type | Σ | 0..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).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
status | ?!S Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Fixed Value: unknown
sent | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde.
received | S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde.
recipient | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war.
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 | Σ | 0..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).
identifier | S Σ | 1..1 | IdentifierTelematikId | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
sender | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war.
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 | Σ | 0..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).
identifier | S Σ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
payload | S | 0..1 | BackboneElement | Message payload
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
content[x] |  | 1..1 | string | Der tatsächliche Inhalt der Nachricht
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Communication.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Communication.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Communication.basedOn.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std.
Communication.recipient.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Communication.sender.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Communication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Communication | 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 | Communication | 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 | Communication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Communication | 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()`
workflow-communication-payload-1 | error | Communication | Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird | `(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').value.code != '162' implies payload.exists() and payload.empty().not())`

This structure is derived from GEM_ERP_PR_Communication

Summary

Mandatory: 7 elements(1 nested mandatory element)
Must-Support: 4 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- Identifier-Profil für die Telematik-ID (http://fhir.de/StructureDefinition/identifier-telematik-id)
- Identifier-Profil für die 10-stellige Krankenversichertennummer (http://fhir.de/StructureDefinition/identifier-kvid-10)

Extensions

This structure refers to these extensions:

- https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Communication.meta.profile (Closed)

Other representations of profile: CSV, Excel, Schematron