eHealth Infrastructure
7.0.0 - release Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 7.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions

Resource Profile: ehealth-carecommunication

Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-carecommunication Version: 7.0.0
Active as of 2025-12-05 Computable Name: ehealth-carecommunication

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

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
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... inResponseTo S 0..1 Reference(Communication) Reply to
... 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.
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (required)
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system SΣ 1..1 uri Identity of the terminology system
..... code SΣ 1..1 code Symbol in syntax defined by the system
... priority SΣ 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... subject SΣ 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication.
.... text SΣ 1..1 string Plain text representation of the concept.
... encounter SΣ 0..1 Reference(Encounter) Encounter created as part of
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... content[x] 1..1 Message part content
...... contentString string
...... contentAttachment Attachment
...... contentReference Reference(Resource)
.... payload:string 1..* BackboneElement Message payload
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.status Base required EventStatus 📍4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG
Communication.topic Base example CommunicationTopic 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
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()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')

This structure is derived from Communication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... Slices for extension 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... identifier S 1..1 Identifier The communication identifier
.... use 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... value S 1..1 string The value that is unique
... basedOn 0..0 Request fulfilled by this communication
... inResponseTo S 0..1 Reference(Communication) Reply to
... status S 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
..... code S 1..1 code Symbol in syntax defined by the system
... priority S 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... subject S 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
.... text S 1..1 string Plain text representation of the concept.
... encounter S 0..1 Reference(Encounter) Encounter created as part of
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... sender 0..0 Message sender
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:string 1..* BackboneElement Message payload
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Open by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Open by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... 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 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The communication identifier
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..* canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... inResponseTo S 0..1 Reference(Communication) Reply to
... 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.
... statusReason Σ 0..1 CodeableConcept Reason for current status
Binding: CommunicationNotDoneReason (example): Codes for the reason why a communication did not happen.
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (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
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... 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 SΣ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 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
... priority SΣ 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... medium 0..* CodeableConcept A channel of communication
Binding: ParticipationMode (example): Codes for communication mediums such as phone, fax, email, in person, etc.
... subject SΣ 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the concept.
... about 0..* Reference(Resource) Resources that pertain to this communication
... encounter SΣ 0..1 Reference(Encounter) Encounter created as part of
... sent 0..1 dateTime When sent
... received 0..1 dateTime When received
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... reasonCode Σ 0..* CodeableConcept Indication for message
Binding: SNOMEDCTClinicalFindings (example): Codes for describing reasons for the occurrence of a communication.
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why was communication done?
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:All Slices Content/Rules for all slices
..... 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 Message part content
...... contentString string
...... contentAttachment Attachment
...... contentReference Reference(Resource)
.... payload:string 1..* BackboneElement Message payload
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content
... note 0..* Annotation Comments made about the communication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Communication.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Communication.status Base required EventStatus 📍4.0.1 FHIR Std.
Communication.statusReason Base example CommunicationNotDoneReason 📍4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG
Communication.medium Base example ParticipationMode 📦3.0.0 THO v7.0
Communication.topic Base example CommunicationTopic 📍4.0.1 FHIR Std.
Communication.reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
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()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... inResponseTo S 0..1 Reference(Communication) Reply to
... 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.
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (required)
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system SΣ 1..1 uri Identity of the terminology system
..... code SΣ 1..1 code Symbol in syntax defined by the system
... priority SΣ 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... subject SΣ 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication.
.... text SΣ 1..1 string Plain text representation of the concept.
... encounter SΣ 0..1 Reference(Encounter) Encounter created as part of
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... content[x] 1..1 Message part content
...... contentString string
...... contentAttachment Attachment
...... contentReference Reference(Resource)
.... payload:string 1..* BackboneElement Message payload
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.status Base required EventStatus 📍4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG
Communication.topic Base example CommunicationTopic 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
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()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')

Differential View

This structure is derived from Communication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... Slices for extension 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... identifier S 1..1 Identifier The communication identifier
.... use 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... value S 1..1 string The value that is unique
... basedOn 0..0 Request fulfilled by this communication
... inResponseTo S 0..1 Reference(Communication) Reply to
... status S 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
..... code S 1..1 code Symbol in syntax defined by the system
... priority S 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... subject S 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
.... text S 1..1 string Plain text representation of the concept.
... encounter S 0..1 Reference(Encounter) Encounter created as part of
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... sender 0..0 Message sender
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:string 1..* BackboneElement Message payload
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Open by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Open by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Communication C 0..* Communication A record of information transmitted from a sender to a receiver
Constraints: stopped-status-statusReason, only-asap-or-routine, topic-required-when-category-other, practitionerrole-author-coding-xor-text, practitioner-author-must-have-name, priority-category-invariant, uuidv4, atLeastOnePayloadString, payloadAttachment-contentType-required, no-standard-sender, category-not-required-if-dest-TBD
... 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 4..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:practitionerRole 0..1 Reference(PractitionerRole) sending practitioner role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitionerrole-extension
.... extension:practitioner S 0..1 Reference(Practitioner) sending practitioner
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner-extension
.... extension:destination S 1..1 Reference(Organization) Organization receiving the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension
.... extension:origin S 1..1 Reference(Organization) Reference to the sending organization of the message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-origin-organization-extension
.... extension:sender S 0..1 Reference(CareTeam | PractitionerRole) Sending actor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sending-actor-extension
.... extension:messageType S 1..1 code Message type
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-message-Type-extension
Binding: Message Type ValueSet (required)
.... extension:administrativeStatus 1..1 Coding The administrative status of how a message recipient has handled a message
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-administrative-status
Binding: Administrative Status (required)
.... extension:medComCareCommunicationBundle S 0..1 Reference(Bundle) carecommunication bundle
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-Carecommunication-bundle-extension
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The communication identifier
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..* canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... inResponseTo S 0..1 Reference(Communication) Reply to
... 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.
... statusReason Σ 0..1 CodeableConcept Reason for current status
Binding: CommunicationNotDoneReason (example): Codes for the reason why a communication did not happen.
... category S 0..1 CodeableConcept Message category
Binding: eHealth CareCommunication Categories (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
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... 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 SΣ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 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
... priority SΣ 0..1 code Shall be present if the message priority is known to be ASAP, but is only allowed when the category is 'regarding referral', see priority-category-invariant
Binding: eHealth CareCommunication Priorities (required)
... medium 0..* CodeableConcept A channel of communication
Binding: ParticipationMode (example): Codes for communication mediums such as phone, fax, email, in person, etc.
... subject SΣ 1..1 Reference(Patient) Focus of message
... topic S 0..1 CodeableConcept Description of the purpose/content
Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the concept.
... about 0..* Reference(Resource) Resources that pertain to this communication
... encounter SΣ 0..1 Reference(Encounter) Encounter created as part of
... sent 0..1 dateTime When sent
... received 0..1 dateTime When received
... recipient S 0..1 Reference(CareTeam | PractitionerRole) The recieving actor of the message
... reasonCode Σ 0..* CodeableConcept Indication for message
Binding: SNOMEDCTClinicalFindings (example): Codes for describing reasons for the occurrence of a communication.
... reasonReference Σ 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why was communication done?
... Slices for payload 1..* BackboneElement Message payload
Slice: Unordered, Open by type:content[x]
.... payload:All Slices Content/Rules for all slices
..... 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 Message part content
...... contentString string
...... contentAttachment Attachment
...... contentReference Reference(Resource)
.... payload:string 1..* BackboneElement Message payload
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 1..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 string Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentString S 1..1 string Message part content
.... payload:attachment 0..* BackboneElement Message payload
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:date S 1..1 dateTime Payload dateTime
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-datetime-extension
...... extension:authorContact S 0..1 ContactPoint Payload author contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-contact-extension
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for content[x] 1..1 Attachment Message part content
Slice: Unordered, Closed by type:$this
...... content[x]:contentAttachment S 1..1 Attachment Message part content
... note 0..* Annotation Comments made about the communication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Communication.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Communication.identifier.​use Base required IdentifierUse 📦4.0.1 FHIR Std.
Communication.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Communication.status Base required EventStatus 📍4.0.1 FHIR Std.
Communication.statusReason Base example CommunicationNotDoneReason 📍4.0.1 FHIR Std.
Communication.category Base required eHealth CareCommunication Categories 📦7.0.0 This IG
Communication.priority Base required eHealth CareCommunication Priorities 📦7.0.0 This IG
Communication.medium Base example ParticipationMode 📦3.0.0 THO v7.0
Communication.topic Base example CommunicationTopic 📍4.0.1 FHIR Std.
Communication.reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
atLeastOnePayloadString error Communication At least one payload segment shall have a message text (payload.contentString) payload.contentString.exists()
category-not-required-if-dest-TBD error Communication category may be omitted if extension 'destination' is the reference FUTORGANIZATIONREFERENCETBD, otherwise category must be present extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-destination-extension').value.as(Reference).reference = 'FUTORGANIZATIONREFERENCETBD' or category.exists()
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()
no-standard-sender error Communication The standard Communication.sender element SHALL NOT be used. Use the ehealth-sending-actor extension instead. sender.empty()
only-asap-or-routine error Communication priority must be either 'asap' or 'routine' priority = 'asap' or priority = 'routine'
payloadAttachment-contentType-required error Communication contentType SHALL be present if data or url is present in Attachment payload.contentAttachment.data.exists() or payload.contentAttachment.url.exists() implies payload.contentAttachment.contentType.exists()
practitioner-author-must-have-name error Communication If a Practitioner is used as author in a message segment, the referenced Practitioner must have a name. payload.where(extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists()
practitionerrole-author-coding-xor-text error Communication If a PractitionerRole is used as an author (via the Practitioner extension), then either code.coding.code or code.text must exist—but not both. payload.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner').value.resolve().all(code.coding.code.exists() xor code.text.exists())
priority-category-invariant error Communication Priority must not be present when category is not 'regarding-referral'. where(category.coding.code != 'regarding-referral').priority.empty()
stopped-status-statusReason error Communication If status is 'stopped', statusReason must be either 'system-error' or 'recipient-unavailable'. status != 'stopped' or statusReason.coding.where(code = 'system-error' or code = 'recipient-unavailable').exists()
topic-required-when-category-other error Communication topic must be present when category is 'other'. iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists())
uuidv4 error Communication The identifier.value SHALL be a valid UUID v4 identifier.value.matches('^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$')

 

Other representations of profile: CSV, Excel, Schematron