DK MedCom Carecommunication
4.0.2 - release Denmark flag

This page is part of the DK MedCom CareCommunication (v4.0.2: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

Resource Profile: MedComCareCommunicationMessage - Detailed Descriptions

Active as of 2024-11-07

Definitions for the medcom-careCommunication-message resource profile.

Guidance on how to interpret the contents of this table can be found here

0. Bundle
Invariantsmedcom-careCommunication-1: The MessageHeader shall conform to medcom-careCommunication-messageHeader profile (entry[0].resource.conformsTo('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-messageHeader'))
medcom-careCommunication-2: Entry shall contain exactly one Patient resource (entry.where(resource.is(Patient)).count() = 1)
medcom-careCommunication-4: There shall exist a practitioner given and family name when using a PractitionerRole. (entry.resource.ofType(Practitioner).name.exists())
medcom-careCommunication-3: All Provenance resources shall be of the type medcom-careCommunication-provenance profile (entry.resource.ofType(Provenance).where(meta.profile = 'http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance').exists())
medcom-careCommunication-12: If a specific recipient exists, the organisation which the CareTeam or Practitioner is a part of shall be the same as the receiver organisation in the MessageHeader resource. (Bundle.entry.resource.ofType(Communication).recipient.reference.resolve().managingOrganization.reference = %resource.entry.resource.ofType(MessageHeader).destination.receiver.reference or Bundle.entry.resource.ofType(Communication).recipient.reference.resolve().organization.reference = %resource.entry.resource.ofType(MessageHeader).destination.receiver.reference or Bundle.entry.resource.ofType(Communication).recipient.exists().not())
medcom-careCommunication-11: If a specific sender exists, the organisation which the CareTeam or Practitioner is a part of shall be the same as the sender organisation in the MessageHeader resource. (Bundle.entry.resource.ofType(Communication).extension.value.reference.resolve().managingOrganization.reference = %resource.entry.resource.ofType(MessageHeader).sender.reference or Bundle.entry.resource.ofType(Communication).extension.value.reference.resolve().organization.reference = %resource.entry.resource.ofType(MessageHeader).sender.reference or Bundle.entry.resource.ofType(Communication).extension.exists().not())
medcom-careCommunication-13: All PractitionerRole resources shall have a reference to an instance of a Practitioner resource. (Bundle.entry.resource.ofType(PractitionerRole).practitioner.reference.exists())
2. Bundle.entry
ShortMessage content (MedComCareCommunicationMessageHeader, MedComMessagingOrganization, MedComMessagingProvenance, MedComCareCommunication, MedComCorePatient, MedComCoreEncounter, MedComCorePractitioner, MedComCorePractitionerRole, MedComCoreCareTeam) - Open