DK MedCom Carecommunication
4.0.3 - release
DK MedCom Carecommunication, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 4.0.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-medcom-carecommunication/ and changes regularly. See the Directory of published versions
Official URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-communication | Version: 4.0.3 | |||
Active as of 2025-09-25 | 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. The MedComCareCommunication profile contains the main content of a message, which includes a communication identifier, at least one message segment with a message text (Danish: Meddelelsestekst) and a signature. The message 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 or citizen'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 the MedComCoreOrganization the CareTeam or Practitioner is a part of.
Please refer to the tab "Snapshot Table(Must support)" below for the definition of the required content of a MedCom CareCommunication.
The purpose of the communication identifier, in the element Communication.identifier.value, is to ensure a common identifier for a communication. This will help systems to connect incoming and outgoing CareCommuncations. This identifier must be a UUID v4 and it must remain the same when replying to a CareCommunication. The identifier must be updated when a CareCommunication is forwarded. This is elaborated in the Governance for CareCommunication.
A CareCommunication 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. Exactly one category code must be included in a CareCommunication. 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 change. 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 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 to a CareCommunication 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, a priority must be added. As described on clinical guidelines for application, the use of priority must follow the development in collective agreements and on basis of national requirements.
A message segment consists of a message text including a signature or an attachment. The message text and attachment will both be included in the element Communication.payload. There are different requirements for the two types of message segments, which is documented in the following. At least one payload which includes the message text shall be included when sending a new 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 an attachment, for instance, as a pdf-document. In both cases, it is recommended that the sender clearly describes in the message text or attachment, who the original author of the journal is and when it was written in the message test or attachment. If the snippet is included as an attachment, the author information may both be included as written/copied text or structured information.
When a CareCommunication message is forwarded, more than two organizations will be involved in the communication. It is a requirement that all organizations participating in the communication are made visible to the user. This must be clearly indicated for each message segment, ensuring full transparency and traceability of the message flow across healthcare actors. This information may, for example, be included alongside the signature. Furthermore, it must be clearly indicated which attachments were sent by which organization, and which message text they were sent with. This is necessary to ensure a clear and coherent overview.
Payload:string: The written content of the message is of the datatype string defined by HL7. Line breaks must be represented as \n in FHIR JSON and as
in FHIR XML. The signature for the message text consists of author name, author role, relevant phone number, and sent timestamp as structured data elements. The identifier is included for technical purposes. See the table below for an overview of the requirements.
Payload:attachment: The allowed types of attachments can be found in the ValueSet of allowed mimetypes. Further, it is allowed to include a link to a website. In a message segment with an attachment, the title, identifier and timestamp must be included, whereas it is optional to include information about the author, relevant phone number and creation date as structured data. Supporting all attachment types is optional when sending; however, systems must be able to receive all attachment types. If forwarding is supported, the ability to send all attachment types is also required.
Author name | Author role | Relevant phone number | Sent timestamp | Identifier | Title | Creation date | |
---|---|---|---|---|---|---|---|
Message text | R | R | R | R | R | - | - |
Attachment | O | O | O | R | R | R | O |
R = required and O = optional.
A description of the above mentioned information can be found here:
Author name: The name of the person responsible for writing the message text. The author shall be described using a MedComCorePractitioner profile.
Author role: The role (Danish: stillingsbetegnelse) of the person responsible for writing the message text. The author role shall be described using a MedComCorePractitionerRole profile. It is recommended to use a role from the defined list of roles in the element PractitionerRole.code.coding.code. Alternatively, a it is allowed to add a role in the element PractitionerRole.code.text.
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. 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.
Identifier: An UUID version 4 with a reference to the organisation who assigned the identifier, which will be the same as the sender organisation of the message segment.
Title: The title of the attached file. This should be applied by the system. Note: it is not allowed for the system to automatically include the '.filetype' in the title.
Creation: The date and time for when the attachment is created.
Message text must always be included in a CareCommunication, which applies to creating a new message, replying, and forwarding. All previous message segments with message text must be included in a message when replying and all relevant message segments must be included in a message when forwarding a message.
Attachments must always be included the first time they are sent. When replying to a CareCommunication, the base64-encoded content in the element Communication.payload:attachment.content.data or the link in the element Communication.payload:attachment.content.url must not be included, to avoid sending the same content back and forth. Instead the identifier must always be included in a reply and it should be used to identify which attachment(s) or link(s) that must be displayed to the receiver. When forwarding a message, the base64-encoded content of the attachments must be included.
In the element Communication.encounter it is possible to reference a MedComCoreEncounter. 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, the episodeOfCare-identifier shall always be included in the response. Altenatively, when a user at a hospital is in the context of e.g. an admission, the episodeOfCare-identifier should be coupled to a CareCommunication. 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 organization.
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 healthcare professional 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 or receiver defined in MedComCareCommunicationMessageHeader.
When receiving a CareCommunication that includes a specific sender (Communication.extension.sender), it is required that this specific sender is transferred to the reply as the specific recipient (Communication.recipient). This ensures continuity and clarity in the communication flow between involved parties.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
?!SOΣ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Required Pattern: unknown
| ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() |
SOΣ | 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)
| ||||
![]() ![]() ![]() |
SOΣ | 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. Topic must be added in the text-element. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
SOΣ | 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.
| ||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, Open by type:$this.content | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | code | The content type shall be present when the content is an attachment included 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 of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | url | Shall be present if the attachment is a link to a web page. Example General: http://www.acme.com/logo-small.png
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title. Example General: Official Corporate Logo
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | The time the attachment was created
| ||||
![]() |
Path | Conformance | ValueSet / Code | URI |
Communication.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | |
Communication.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 From the FHIR Standard | |
Communication.status | required | Pattern Value: unknownhttp://hl7.org/fhir/ValueSet/event-status|4.0.1 From the FHIR Standard | |
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | |
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | |
Communication.topic | example | CommunicationTopichttp://hl7.org/fhir/ValueSet/communication-topic|4.0.1 From the FHIR Standard | |
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes |
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 must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') | |
txt-1 | error | Communication.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Communication.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from Communication
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SO | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | xhtml | Limited xhtml content | ||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
SC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique | ||||
![]() ![]() ![]() |
SO | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Required Pattern: unknown
| ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() |
SO | 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)
| ||||
![]() ![]() ![]() |
SO | 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. Topic must be added in the text-element. | ||||
![]() ![]() ![]() ![]() |
SO | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
SO | 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.
| ||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, Open by type:$this.content | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | code | The content type shall be present when the content is an attachment included in the data element. Binding: MedComCoreAttachmentMimeTypes (required)
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | url | Shall be present if the attachment is a link to a web page.
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title.
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | dateTime | The time the attachment was created
| ||||
![]() |
Path | Conformance | ValueSet | URI |
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | |
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | |
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes |
Id | Grade | Path(s) | Details | Requirements |
medcom-careCommunication-5 | error | Communication | Priority must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SOΣ | 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.
| |||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
?!SOΣ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Required Pattern: unknown
| ||||
![]() ![]() ![]() |
Σ | 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) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SOΣ | 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. | |||||
![]() ![]() ![]() |
SOΣ | 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. Topic must be added in the text-element. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Resources that pertain to this communication | |||||
![]() ![]() ![]() |
SOΣ | 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 | |||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, 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 | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | code | The content type shall be present when the content is an attachment included 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 of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | url | Shall be present if the attachment is a link to 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) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title. Example General: Official Corporate Logo
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | The time the attachment was created
| ||||
![]() ![]() ![]() |
0..* | Annotation | Comments made about the communication | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
Communication.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
| ||||
Communication.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | ||||
Communication.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 From the FHIR Standard | ||||
Communication.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type|4.0.1 From the FHIR Standard | ||||
Communication.status | required | Pattern Value: unknownhttp://hl7.org/fhir/ValueSet/event-status|4.0.1 From the FHIR Standard | ||||
Communication.statusReason | example | CommunicationNotDoneReasonhttp://hl7.org/fhir/ValueSet/communication-not-done-reason|4.0.1 From the FHIR Standard | ||||
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | ||||
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | ||||
Communication.medium | example | ParticipationModehttp://terminology.hl7.org/ValueSet/v3-ParticipationMode | ||||
Communication.topic | example | CommunicationTopichttp://hl7.org/fhir/ValueSet/communication-topic|4.0.1 From the FHIR Standard | ||||
Communication.reasonCode | example | SNOMEDCTClinicalFindingshttp://hl7.org/fhir/ValueSet/clinical-findings|4.0.1 From the FHIR Standard | ||||
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes | ||||
Communication.payload:attachment.content[x].language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
|
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 must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') | |
txt-1 | error | Communication.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Communication.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from Communication
Summary
Mandatory: 10 elements(6 nested mandatory elements)
Must-Support: 35 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
?!SOΣ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Required Pattern: unknown
| ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() |
SOΣ | 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)
| ||||
![]() ![]() ![]() |
SOΣ | 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. Topic must be added in the text-element. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
SOΣ | 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.
| ||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, Open by type:$this.content | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | code | The content type shall be present when the content is an attachment included 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 of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | url | Shall be present if the attachment is a link to a web page. Example General: http://www.acme.com/logo-small.png
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title. Example General: Official Corporate Logo
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | The time the attachment was created
| ||||
![]() |
Path | Conformance | ValueSet / Code | URI |
Communication.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | |
Communication.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 From the FHIR Standard | |
Communication.status | required | Pattern Value: unknownhttp://hl7.org/fhir/ValueSet/event-status|4.0.1 From the FHIR Standard | |
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | |
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | |
Communication.topic | example | CommunicationTopichttp://hl7.org/fhir/ValueSet/communication-topic|4.0.1 From the FHIR Standard | |
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes |
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 must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') | |
txt-1 | error | Communication.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Communication.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
Differential View
This structure is derived from Communication
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SO | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | xhtml | Limited xhtml content | ||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
SC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique | ||||
![]() ![]() ![]() |
SO | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Required Pattern: unknown
| ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | The category (Danish: kategori) describes the overall content of the message. Binding: MedComCareCommunicationCategoryCodes (required) | ||||
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() |
SO | 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)
| ||||
![]() ![]() ![]() |
SO | 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. Topic must be added in the text-element. | ||||
![]() ![]() ![]() ![]() |
SO | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
SO | 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.
| ||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, Open by type:$this.content | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Attachment | Message part content | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | code | The content type shall be present when the content is an attachment included in the data element. Binding: MedComCoreAttachmentMimeTypes (required)
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Shall be present and contain the base64 encoded content of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | url | Shall be present if the attachment is a link to a web page.
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title.
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | dateTime | The time the attachment was created
| ||||
![]() |
Path | Conformance | ValueSet | URI |
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | |
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | |
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes |
Id | Grade | Path(s) | Details | Requirements |
medcom-careCommunication-5 | error | Communication | Priority must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | Communication | A record of information transmitted from a sender to a receiver Constraints: medcom-careCommunication-5, medcom-careCommunication-6, medcom-careCommunication-7, medcom-careCommunication-8, medcom-careCommunication-9, medcom-careCommunication-15 | ||||
![]() ![]() ![]() |
SOΣ | 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.
| |||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole | MedComCoreCareTeam) {b} | SenderExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-sender-extension
| ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Identifier | The communication identifier Constraints: medcom-uuidv4 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
?!SOΣ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): The status of the communication. Required Pattern: unknown
| ||||
![]() ![]() ![]() |
Σ | 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) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system
| ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SOΣ | 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. | |||||
![]() ![]() ![]() |
SOΣ | 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. Topic must be added in the text-element. Binding: CommunicationTopic (example): Codes describing the purpose or content of the communication. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Plain text representation of the concept
| ||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Resources that pertain to this communication | |||||
![]() ![]() ![]() |
SOΣ | 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 | |||||
![]() ![]() ![]() |
SO | 0..1 | 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 message text or an attachment. At least one payload with a message text shall be included. Slice: Unordered, 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 | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Message part content | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Message payload | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
4..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | string | Line breaks must be represented as
in FHIR JSON and as 
 in FHIR XML.
| ||||
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | The payload with an attachment shall contain a link or content attached to the message. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | DateTimeExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitionerRole) {b} | PractitionerExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SO | 0..1 | ContactPoint | ContactExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | MedComAssignedIdentifier | IdentifierExtension URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension | ||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | code | The content type shall be present when the content is an attachment included 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 of the attachment. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | url | Shall be present if the attachment is a link to 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) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | string | Note: it is not allowed for the system to automatically include '.filetype' in the title. Example General: Official Corporate Logo
| ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | The time the attachment was created
| ||||
![]() ![]() ![]() |
0..* | Annotation | Comments made about the communication | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
Communication.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
| ||||
Communication.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | ||||
Communication.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 From the FHIR Standard | ||||
Communication.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type|4.0.1 From the FHIR Standard | ||||
Communication.status | required | Pattern Value: unknownhttp://hl7.org/fhir/ValueSet/event-status|4.0.1 From the FHIR Standard | ||||
Communication.statusReason | example | CommunicationNotDoneReasonhttp://hl7.org/fhir/ValueSet/communication-not-done-reason|4.0.1 From the FHIR Standard | ||||
Communication.category | required | MedComCareCommunicationCategorieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-categories | ||||
Communication.priority | required | MedComCareCommunicationRequestPriorityhttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-requestPriority | ||||
Communication.medium | example | ParticipationModehttp://terminology.hl7.org/ValueSet/v3-ParticipationMode | ||||
Communication.topic | example | CommunicationTopichttp://hl7.org/fhir/ValueSet/communication-topic|4.0.1 From the FHIR Standard | ||||
Communication.reasonCode | example | SNOMEDCTClinicalFindingshttp://hl7.org/fhir/ValueSet/clinical-findings|4.0.1 From the FHIR Standard | ||||
Communication.payload:attachment.content[x].contentType | required | MedComCoreAttachmentMimeTypeshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-attachmentMimeTypes | ||||
Communication.payload:attachment.content[x].language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
|
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 must not be present when Communication.category is other than '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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.coding.code.exists() xor payload.where(extension('http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().code.text.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/core/StructureDefinition/medcom-core-practitioner-extension').exists()).extension.value.reference.resolve().practitioner.resolve().name.exists() | |
medcom-careCommunication-9 | error | Communication | An episodeOfCare-identifier must be included when an Encounter instance is included. : iif(encounter.exists().not(), true, encounter.reference.resolve().episodeOfCare.identifier.exists()) | |
medcom-careCommunication-15 | error | Communication | If an Encounter resource is present in the bundle, there must be a reference to it in Communication.encounter. If no Encounter is present, Communication.encounter must not be populated. : iif(encounter.exists(), Communication.encounter.reference.exists(), Communication.encounter.exists().not()) | |
medcom-uuidv4 | error | Communication.identifier | The value shall correspond to the structure of an UUID version 4 : value.matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}') | |
txt-1 | error | Communication.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Communication.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from Communication
Summary
Mandatory: 10 elements(6 nested mandatory elements)
Must-Support: 35 elements
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