DK MedCom Carecommunication
2.1.0 - Release
This page is part of the DK MedCom CareCommunication (v2.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions
| Official URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-communication | Version: 2.1.0 | |||
| Active as of 2023-04-14 | Computable Name: MedComCareCommunication | |||
Care related communication between two or more parties in Danish healthcare
This profile is used as the Communication resource for the MedCom CareCommunication message. MedComCareCommunication profile contains the main content of a message, which includes at least one message segment with a message text (Danish: Meddelelsestekst) and a signature, and it may include zero or more message segments with an attachment and a signature. All message segments are found under the element Communication.payload. A more detailed description of the content of the MedComCareCommunication profile can be seen below.
The figure below shows the possible references from MedComCareCommunication profile, and thereby which resources that may be included in a CareCommunication message. A subject, in terms of a MedComCorePatient, shall always be included since a CareCommunication message always concerns a patient’s matter. A MedComCorePractitionerRole and MedComCorePractitioner shall be included since these reference includes information about the author of the message text. A MedComCoreEncounter may be referenced if an episodeOfCare-identifier (Danish: forløbs-id) is relevant to include. Further, the MedComCorePractitionerRole or MedComCoreCareTeam may be included if a recipient or sender is added. Both profiles includes a reference to a MedComCoreOrganization.
Please refer to the tab “Snapshot Table(Must support)” below for the definition of the required content of a MedComCareCommunication.
All MedCom CareCommunication messages shall have a category (Danish: Kategori), in the element Communication.category. The category describes the overall content of the communication and shall be selected from a nationally agreed list of categories defined in the ValueSet of category codes. In time new category codes may be relevant to include or existing codes may be irrelevant, why it should be expected that the ValueSet will changed. Changes will be made in agreement with the business and will be warned.
In addition to the category, it is allowed to add a topic (Danish: Emne) in the element Communication.topic, to support and elaborate the category. This can either be inserted as free text or as regionally agreed codes, which is describes further in the clinical guidelines for application. When answering and forwarding a CareCommunication message, the same category and topic from the previous message should be inserted automatically. The user then has the option to change it to a different category and a different topic if desired.
When sending a CareCommunication message with the category other, a topic shall be included. To ensure this, the invariant medcom-careCommunication-6 is created.
Priority, found in the element Communication.priority, is used to support the referral flow. It is only allowed to add a priority of a CareCommunication message when the category of the message is regarding referral. In this case priority can either be routine or asap. To ensure this, the invariant medcom-careCommunication-5 is created, which states that in no other case than when the category is regarding referral, may a priority be added. As describes on clinical guidelines for application, the use of priority must follow the development in collective agreements and on basis of national requirements.
In the element Communication.encounter it is possible to reference a MedComCoreEncounter profile. An encounter describes the meeting between a patient and one or more healthcare providers or actors involved in the patient care. The Encounter resource contains an episodeOfCare-identifier. When receiving a message, either CareCommunication or EDIFACT/OIOXML message, there will in many cases be an episodeOfCare-identifier, as it described the id of the contact. If this is the case, it shall always be included in the response. Click here to get more information about the episodeOfCare-identifier
In the MedComCareCommunicationMessageHeader profile it is required to include information about a sender and receiver in terms of a reference to a MedComMessagingOrganization. This information is primarily used for transportation matters and will always include an EAN-number and SOR-identifier for each organisation.
When sending a CareCommunication message it is possible to add a more specific receiver of the message, called a recipient, and a more specific sender, which can be found in the elements Communication.recipient and Communication.extension.sender, respectively. It is allowed to reference a MedComCoreCareTeam, which is people or an organization participating a coordination or delivery of patientcare, or MedComCorePractitionerRole, which references a MedComCorePractitioner to address a professionals involved in patient care. Common for both MedComCoreCareTeam and MedComCorePractitionerRole/MedComCorePractitioner is that a name of the careteam or practitioner should be included as well as a reference to a MedComCoreOrganization which represents the sender og receiver defined in MedComCareCommunicationMessageHeader.
A message segment consist of a message text and a signature or an attachment. The message text and attachments will both be included in the element Communication.payload, however they shall be included in different slices. At least one payload which includes the message text shall be included when sending a CareCommunication message, but zero or more attachments may be included.
Note: Snippets from a patient’s journal may be included in the message text or as a pdf-document. In either case it is recommended that the sender clearly describes in the message text or attachment, who the original author of the for the journal is and when it was written. This may both be included as written/copied text or structured text for pdf-document.
The written content of the message is of the datatype string defined by FHIR, and it should obey a subset of xhtml. The signature for the message text consists of the following:
Author: The name of the person responsible for writing the message text. The author shall be described using a MedComCorePractitioner.
Author role: The role (Danish: stillingsbetegnelse) of the person responsible for writing the message text. The author role shall be described using a MedComCorePractitionerRole.
Relevant phone number: A relevant phone number e.g. to the department from which the CareCommunication is sent. The phone number should be applied automatically and it is recommended to use the same phone number as in the SOR-register for the sender organisation. In case it is not possible to apply the phone number automatically, it shall be applied by the author.
Timestamp: Represents the real world event, where the user presses “send” to send the CareCommunication.
An attachment shall be of the type pdf, jpeg, png, tiff or gif. In a message segment with an attachment, the following shall be included:
Title: The title of the attached file. This should be applied by the system.
Identifier: An UUID with a reference to the sending organisation. The assigner is a reference to the organisation who assigned the UUID, which will be the same as the sender organisation. If the attachment is modified and reattached, it shall be given a new UUID and the assigner shall be updated.
Timestamp: Represents the real world event, where the user presses “send” to send the CareCommunication.
It is optional to include information about:
Author: The person responsible for creating the attachment. As mentioned in the clinical guidelines for application, are both the author of an attachment and the person who attaches the attachment responsible for the content.
Author role: The role of the person responsible for creating the attachment. The author role shall be described using a MedComCorePractitionerRole.
Relevant phone number: A relevant phone number e.g. to the department from which the CareCommunication is sent. The phone number should be applied automatically without user interference and it is recommended to use the same phone number as in the SOR-register for the sender organisation. In case it is not possible to apply the phone number automatically, it shall be applied by the author.
Creation: The date and time for when the attachment is created.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Communication
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension |
![]() ![]() | S | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement |
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) |
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) |
![]() ![]() | S | 1..1 | Reference(MedComCorePatient) {b} | Focus of message |
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. |
![]() ![]() | S | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. |
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. |
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |
![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message |
![]() ![]() ![]() ![]() | 3..* | Extension | Extension | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | 0..0 | MedComCareCommunicationAttachmentIdentifier | ||
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content |
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Open by type:$this |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. |
![]() ![]() ![]() ![]() ![]() | S | 1..1 | string | Label to display in place of the data |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | dateTime | The time the attachment was created |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Communication.category | required | MedComCareCommunicationCategories |
| Communication.priority | required | MedComCareCommunicationRequestPriority |
| Communication.payload:attachment.contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes |
| Id | Grade | Path(s) | Details | Requirements |
| medcom-careCommunication-5 | error | Communication | Priority is only allowed when Communication.category = 'regarding-referral' : where(category.coding.code != 'regarding-referral').priority.empty() | |
| medcom-careCommunication-6 | error | Communication | There shall exist a Communication.topic when Communication.category = 'other' : iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists()) | |
| medcom-careCommunication-7 | error | Communication | There shall exist a practitioner role when using a PractitionerRole as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() | |
| medcom-careCommunication-8 | error | Communication | There shall exist a practitioner name when using a Practitioner as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
| medcom-careCommunication-10 | error | Communication | The status shall be 'unknown' or 'entered-in-error'. : status='unknown' or status='entered-in-error' |
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. |
![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension |
![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() | ?!SΣ | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement Binding: EventStatus (required): The status of the communication. |
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) |
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) |
![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | Focus of message |
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. |
![]() ![]() | SΣ | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. |
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. |
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |
![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | Message part content | ||
![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message |
![]() ![]() ![]() ![]() | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content |
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | dateTime | The time the attachment was created |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Communication.status | required | EventStatus |
| Communication.category | required | MedComCareCommunicationCategories |
| Communication.priority | required | MedComCareCommunicationRequestPriority |
| Communication.topic | example | CommunicationTopic |
| Communication.payload:attachment.content[x]:contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes |
| Id | Grade | Path(s) | Details | Requirements |
| 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() | |
| medcom-careCommunication-5 | error | Communication | Priority is only allowed when Communication.category = 'regarding-referral' : where(category.coding.code != 'regarding-referral').priority.empty() | |
| medcom-careCommunication-6 | error | Communication | There shall exist a Communication.topic when Communication.category = 'other' : iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists()) | |
| medcom-careCommunication-7 | error | Communication | There shall exist a practitioner role when using a PractitionerRole as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() | |
| medcom-careCommunication-8 | error | Communication | There shall exist a practitioner name when using a Practitioner as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
| medcom-careCommunication-10 | error | Communication | The status shall be 'unknown' or 'entered-in-error'. : status='unknown' or status='entered-in-error' |
| Name | Flags | Card. | Type | Description & Constraints![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. | ||||
![]() ![]() | Σ | 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 | |||||
![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension | ||||
![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() | Σ | 0..* | Identifier | Unique identifier | ||||
![]() ![]() | Σ | 0..* | canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) | Instantiates FHIR protocol or definition | ||||
![]() ![]() | Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() | Σ | 0..* | Reference(Resource) | Request fulfilled by this communication | ||||
![]() ![]() | Σ | 0..* | Reference(Resource) | Part of this action | ||||
![]() ![]() | 0..* | Reference(Communication) | Reply to | |||||
![]() ![]() | ?!SΣ | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement Binding: EventStatus (required): The status of the communication. | ||||
![]() ![]() | Σ | 0..1 | CodeableConcept | Reason for current status Binding: CommunicationNotDoneReason (example): Codes for the reason why a communication did not happen. | ||||
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) | ||||
![]() ![]() | 0..* | CodeableConcept | A channel of communication Binding: ParticipationMode (example): Codes for communication mediums such as phone, fax, email, in person, etc. | |||||
![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | Focus of message | ||||
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() | 0..* | Reference(Resource) | Resources that pertain to this communication | |||||
![]() ![]() | SΣ | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. | ||||
![]() ![]() | 0..1 | dateTime | When sent | |||||
![]() ![]() | 0..1 | dateTime | When received | |||||
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. | ||||
![]() ![]() | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Message sender | |||||
![]() ![]() | Σ | 0..* | CodeableConcept | Indication for message Binding: SNOMEDCTClinicalFindings (example): Codes for describing reasons for the occurrence of a communication. | ||||
![]() ![]() | Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why was communication done? | ||||
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |||||
![]() ![]() ![]() | Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() | string | |||||||
![]() ![]() ![]() ![]() ![]() | Attachment | |||||||
![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||||||
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | ||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content | ||||
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | ||||
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | ||||
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | ||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | dateTime | The time the attachment was created | ||||
![]() ![]() | 0..* | Annotation | Comments made about the communication | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet | ||||
| Communication.language | preferred | CommonLanguages
| ||||
| Communication.status | required | EventStatus | ||||
| Communication.statusReason | example | CommunicationNotDoneReason | ||||
| Communication.category | required | MedComCareCommunicationCategories | ||||
| Communication.priority | required | MedComCareCommunicationRequestPriority | ||||
| Communication.medium | example | ParticipationMode | ||||
| Communication.topic | example | CommunicationTopic | ||||
| Communication.reasonCode | example | SNOMEDCTClinicalFindings | ||||
| Communication.payload:attachment.content[x]:contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes | ||||
| Communication.payload:attachment.content[x]:contentAttachment.language | preferred | CommonLanguages
|
| Id | Grade | Path(s) | Details | Requirements |
| 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() |
This structure is derived from Communication
Summary
Mandatory: 7 elements (4 nested mandatory elements)
Must-Support: 25 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Communication
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension |
![]() ![]() | S | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement |
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) |
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) |
![]() ![]() | S | 1..1 | Reference(MedComCorePatient) {b} | Focus of message |
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. |
![]() ![]() | S | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. |
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. |
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |
![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message |
![]() ![]() ![]() ![]() | 3..* | Extension | Extension | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | 0..0 | MedComCareCommunicationAttachmentIdentifier | ||
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content |
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Open by type:$this |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. |
![]() ![]() ![]() ![]() ![]() | S | 1..1 | string | Label to display in place of the data |
![]() ![]() ![]() ![]() ![]() | S | 0..1 | dateTime | The time the attachment was created |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Communication.category | required | MedComCareCommunicationCategories |
| Communication.priority | required | MedComCareCommunicationRequestPriority |
| Communication.payload:attachment.contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes |
| Id | Grade | Path(s) | Details | Requirements |
| medcom-careCommunication-5 | error | Communication | Priority is only allowed when Communication.category = 'regarding-referral' : where(category.coding.code != 'regarding-referral').priority.empty() | |
| medcom-careCommunication-6 | error | Communication | There shall exist a Communication.topic when Communication.category = 'other' : iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists()) | |
| medcom-careCommunication-7 | error | Communication | There shall exist a practitioner role when using a PractitionerRole as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() | |
| medcom-careCommunication-8 | error | Communication | There shall exist a practitioner name when using a Practitioner as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
| medcom-careCommunication-10 | error | Communication | The status shall be 'unknown' or 'entered-in-error'. : status='unknown' or status='entered-in-error' |
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. |
![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension |
![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() | ?!SΣ | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement Binding: EventStatus (required): The status of the communication. |
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) |
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) |
![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | Focus of message |
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. |
![]() ![]() | SΣ | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. |
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. |
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |
![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | Message part content | ||
![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message |
![]() ![]() ![]() ![]() | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content |
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension |
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension |
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension |
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. Example General: http://www.acme.com/logo-small.png |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | dateTime | The time the attachment was created |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Communication.status | required | EventStatus |
| Communication.category | required | MedComCareCommunicationCategories |
| Communication.priority | required | MedComCareCommunicationRequestPriority |
| Communication.topic | example | CommunicationTopic |
| Communication.payload:attachment.content[x]:contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes |
| Id | Grade | Path(s) | Details | Requirements |
| 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() | |
| medcom-careCommunication-5 | error | Communication | Priority is only allowed when Communication.category = 'regarding-referral' : where(category.coding.code != 'regarding-referral').priority.empty() | |
| medcom-careCommunication-6 | error | Communication | There shall exist a Communication.topic when Communication.category = 'other' : iif(category.coding.code != 'other', true, category.coding.code = 'other' and topic.exists()) | |
| medcom-careCommunication-7 | error | Communication | There shall exist a practitioner role when using a PractitionerRole as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() | |
| medcom-careCommunication-8 | error | Communication | There shall exist a practitioner name when using a Practitioner as author in a message segment. : payload.where(extension('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
| medcom-careCommunication-10 | error | Communication | The status shall be 'unknown' or 'entered-in-error'. : status='unknown' or status='entered-in-error' |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() | C | 0..* | Communication | A record of information transmitted from a sender to a receiver medcom-careCommunication-5: Priority is only allowed when Communication.category = 'regarding-referral' medcom-careCommunication-6: There shall exist a Communication.topic when Communication.category = 'other' medcom-careCommunication-7: There shall exist a practitioner role when using a PractitionerRole as author in a message segment. medcom-careCommunication-8: There shall exist a practitioner name when using a Practitioner as author in a message segment. medcom-careCommunication-10: The status shall be 'unknown' or 'entered-in-error'. | ||||
![]() ![]() | Σ | 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 | |||||
![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() | SΣ | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-sender-extension | ||||
![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() | Σ | 0..* | Identifier | Unique identifier | ||||
![]() ![]() | Σ | 0..* | canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) | Instantiates FHIR protocol or definition | ||||
![]() ![]() | Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() | Σ | 0..* | Reference(Resource) | Request fulfilled by this communication | ||||
![]() ![]() | Σ | 0..* | Reference(Resource) | Part of this action | ||||
![]() ![]() | 0..* | Reference(Communication) | Reply to | |||||
![]() ![]() | ?!SΣ | 1..1 | code | The status may be 'unknown' or 'entered-in-error', dependning on the type of message. status is required because of basic FHIR profile requirement Binding: EventStatus (required): The status of the communication. | ||||
![]() ![]() | Σ | 0..1 | CodeableConcept | Reason for current status Binding: CommunicationNotDoneReason (example): Codes for the reason why a communication did not happen. | ||||
![]() ![]() | S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() | 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 medcom-careCommunication-5 Binding: MedComCareCommunicationRequestPriorityCodes (required) | ||||
![]() ![]() | 0..* | CodeableConcept | A channel of communication Binding: ParticipationMode (example): Codes for communication mediums such as phone, fax, email, in person, etc. | |||||
![]() ![]() | SΣ | 1..1 | Reference(MedComCorePatient) {b} | Focus of message | ||||
![]() ![]() | S | 0..1 | CodeableConcept | The topic (Danish: emne) may be added as a supplement to the category. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() | 0..* | Reference(Resource) | Resources that pertain to this communication | |||||
![]() ![]() | SΣ | 0..1 | Reference(MedComCoreEncounter) {b} | Shall contain a reference to an Encounter resource with a episodeOfCare-identifier, if the identifier is included in a previous message. | ||||
![]() ![]() | 0..1 | dateTime | When sent | |||||
![]() ![]() | 0..1 | dateTime | When received | |||||
![]() ![]() | S | 0..* | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | Describes a more specific receiver than the MessageHeader.destination.reciever, called a recipient. It may be a careteam a homecare group in the municipality or a named general practitioner. | ||||
![]() ![]() | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | HealthcareService) | Message sender | |||||
![]() ![]() | Σ | 0..* | CodeableConcept | Indication for message Binding: SNOMEDCTClinicalFindings (example): Codes for describing reasons for the occurrence of a communication. | ||||
![]() ![]() | Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why was communication done? | ||||
![]() ![]() | 1..* | BackboneElement | Each payload corresponds to a message segment with a signature and a message text or attachment. At least one payload with a message text shall be included. Slice: Ordered, Open by type:$this.content | |||||
![]() ![]() ![]() | Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | 0..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | |||||
![]() ![]() ![]() ![]() | 0..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() | string | |||||||
![]() ![]() ![]() ![]() ![]() | Attachment | |||||||
![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||||||
![]() ![]() ![]() | S | 1..* | BackboneElement | xhtml content of the message | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | ||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | string | Message part content | ||||
![]() ![]() ![]() | S | 0..* | BackboneElement | The payload with an attachment shall contain all links or content attached to the message. | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | dateTime | PayloadDateTimeExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-datetime-extension | ||||
![]() ![]() ![]() ![]() | S | 0..1 | Reference(MedComCorePractitionerRole) {b} | PayloadAuthorExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-extension | ||||
![]() ![]() ![]() ![]() | S | 0..1 | ContactPoint | PayloadAuthorContactExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-author-contact-extension | ||||
![]() ![]() ![]() ![]() | SΣ | 1..1 | MedComCareCommunicationAttachmentIdentifier | AttachmentIdentifierExtension URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-carecommunication-attachment-identifier-extension | ||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() ![]() | S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | code | The content type shall be present in case the content is provided as an attached document in the data element. Binding: MedComCoreAttachmentMimeTypes (required) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() ![]() | S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content if the attachment is an attached document | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | url | Shall be present if the attachment is a link to a document or a web page. Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() ![]() | SΣ | 0..1 | dateTime | The time the attachment was created | ||||
![]() ![]() | 0..* | Annotation | Comments made about the communication | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet | ||||
| Communication.language | preferred | CommonLanguages
| ||||
| Communication.status | required | EventStatus | ||||
| Communication.statusReason | example | CommunicationNotDoneReason | ||||
| Communication.category | required | MedComCareCommunicationCategories | ||||
| Communication.priority | required | MedComCareCommunicationRequestPriority | ||||
| Communication.medium | example | ParticipationMode | ||||
| Communication.topic | example | CommunicationTopic | ||||
| Communication.reasonCode | example | SNOMEDCTClinicalFindings | ||||
| Communication.payload:attachment.content[x]:contentAttachment.contentType | required | MedComCoreAttachmentMimeTypes | ||||
| Communication.payload:attachment.content[x]:contentAttachment.language | preferred | CommonLanguages
|
| Id | Grade | Path(s) | Details | Requirements |
| 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() |
This structure is derived from Communication
Summary
Mandatory: 7 elements (4 nested mandatory elements)
Must-Support: 25 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron