| Official URL: https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERP-PR-Communication | Version: 2.0.0-ballot.1 | |||
| Active as of 2028-04-01 | Computable Name: GEM_ERP_PR_Communication | |||
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0. |
||||
Generische Workflow-Communication
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() |
SΣC | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. Constraints: ref-1 |
![]() ![]() ![]() |
SΣC | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() |
?!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 |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. |
![]() ![]() |
SC | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. Constraints: ref-1 |
![]() ![]() |
SC | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. Constraints: ref-1 |
![]() ![]() |
S | 0..* | BackboneElement | Message payload |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | Der tatsächliche Inhalt der Nachricht | ||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
Reference(Resource) | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std. |
| 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()
|
| ref-1 | error | Communication.basedOn, Communication.recipient, Communication.sender | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
This structure is derived from Communication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver | |
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
S | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() ![]() |
S | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() |
0..0 | Part of this action | ||
![]() ![]() |
0..0 | Reply to | ||
![]() ![]() |
S | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Fixed Value: unknown |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | Message category | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | A channel of communication | ||
![]() ![]() |
0..0 | Focus of message | ||
![]() ![]() |
0..0 | Description of the purpose/content | ||
![]() ![]() |
0..0 | Resources that pertain to this communication | ||
![]() ![]() |
0..0 | Encounter created as part of | ||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. |
![]() ![]() |
S | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. |
![]() ![]() |
S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. |
![]() ![]() |
0..0 | Indication for message | ||
![]() ![]() |
0..0 | Why was communication done? | ||
![]() ![]() |
S | 0..* | BackboneElement | Message payload |
![]() ![]() ![]() |
1..1 | string, Attachment, Reference(Resource) | Der tatsächliche Inhalt der Nachricht | |
![]() ![]() |
0..0 | Comments made about the communication | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 0..* | Identifier | Unique identifier | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!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 | ||||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. | ||||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. | ||||
![]() ![]() |
SC | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. Constraints: ref-1 | ||||
![]() ![]() |
SC | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. Constraints: ref-1 | ||||
![]() ![]() |
S | 0..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | Der tatsächliche Inhalt der Nachricht | ||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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. |
| 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()
|
| ref-1 | error | Communication.basedOn, Communication.recipient, Communication.sender | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
This structure is derived from Communication
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() |
SΣC | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. Constraints: ref-1 |
![]() ![]() ![]() |
SΣC | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() |
?!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 |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. |
![]() ![]() |
SC | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. Constraints: ref-1 |
![]() ![]() |
SC | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. Constraints: ref-1 |
![]() ![]() |
S | 0..* | BackboneElement | Message payload |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | Der tatsächliche Inhalt der Nachricht | ||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
Reference(Resource) | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Communication.status | Base | required | EventStatus | 📍4.0.1 | FHIR Std. |
| 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()
|
| ref-1 | error | Communication.basedOn, Communication.recipient, Communication.sender | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
Differential View
This structure is derived from Communication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver | |
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
S | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() ![]() |
S | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. |
![]() ![]() |
0..0 | Part of this action | ||
![]() ![]() |
0..0 | Reply to | ||
![]() ![]() |
S | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Fixed Value: unknown |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | Message category | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | A channel of communication | ||
![]() ![]() |
0..0 | Focus of message | ||
![]() ![]() |
0..0 | Description of the purpose/content | ||
![]() ![]() |
0..0 | Resources that pertain to this communication | ||
![]() ![]() |
0..0 | Encounter created as part of | ||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. |
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. |
![]() ![]() |
S | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. |
![]() ![]() |
S | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. |
![]() ![]() |
0..0 | Indication for message | ||
![]() ![]() |
0..0 | Why was communication done? | ||
![]() ![]() |
S | 0..* | BackboneElement | Message payload |
![]() ![]() ![]() |
1..1 | string, Attachment, Reference(Resource) | Der tatsächliche Inhalt der Nachricht | |
![]() ![]() |
0..0 | Comments made about the communication | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Communication | This is an abstract profile. Child profiles: GEM_ERP_PR_Communication_Reply A record of information transmitted from a sender to a receiver Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 0..* | Identifier | Unique identifier | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Task für E-Rezept) {r} | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | string | Gibt das E-Rezept-Token gemäß gemSpec_DM_eRp an. | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!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 | ||||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation gesendet wurde. | ||||
![]() ![]() |
S | 0..1 | dateTime | Der Zeitpunkt, zu dem diese Kommunikation empfangen wurde. | ||||
![]() ![]() |
SC | 0..* | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Group | CareTeam | HealthcareService) | Die Entität (z. B. Person, Organisation), die Ziel der Kommunikation war. Constraints: ref-1 | ||||
![]() ![]() |
SC | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Die Entität (z. B. Person, Organisation), die Quelle der Kommunikation war. Constraints: ref-1 | ||||
![]() ![]() |
S | 0..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | Der tatsächliche Inhalt der Nachricht | ||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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. |
| 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()
|
| ref-1 | error | Communication.basedOn, Communication.recipient, Communication.sender | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
This structure is derived from Communication
Other representations of profile: CSV, Excel, Schematron