CareCommunication Test scripts
4.0.0 - release
This page is part of the CareCommunication Testscripts (v4.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions
{
"resourceType" : "Bundle",
"id" : "20fcbedb-ced8-4949-9edf-a145e0bb9b09",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-message"
]
},
"type" : "message",
"timestamp" : "2024-08-23T16:00:00+01:00",
"entry" : [
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/MessageHeader/f7f519bd-a104-43fb-ab8a-058eeaec68c7",
"resource" : {
"resourceType" : "MessageHeader",
"id" : "f7f519bd-a104-43fb-ab8a-058eeaec68c7",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-messageHeader"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_f7f519bd-a104-43fb-ab8a-058eeaec68c7\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader f7f519bd-a104-43fb-ab8a-058eeaec68c7</b></p><a name=\"f7f519bd-a104-43fb-ab8a-058eeaec68c7\"> </a><a name=\"hcf7f519bd-a104-43fb-ab8a-058eeaec68c7\"> </a><a name=\"f7f519bd-a104-43fb-ab8a-058eeaec68c7-da-DK\"> </a><p><b>event</b>: <a href=\"http://medcomfhir.dk/ig/terminology/1.7.0/CodeSystem-medcom-messaging-eventCodes.html#medcom-messaging-eventCodes-care-communication-message\">MedComMessagingEventCodes</a> care-communication-message: Care Communication Message</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style=\"display: none\">*</td><td/><td><a href=\"https://sor2.sum.dsdn.dk/#id=330461000016004\">https://sor2.sum.dsdn.dk/#id=330461000016004</a></td><td><a href=\"Organization-aea5f134-5cc9-44b1-b5db-7155e45717ee.html\">Organization Sundhedsplejen, Aabenraa kommune</a></td></tr></table><p><b>sender</b>: <a href=\"Organization-d8ca8b48-565a-46c8-a1c8-e781c498626a.html\">Organization Per Thorseth</a></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://sor2.sum.dsdn.dk/#id=1339531000016004\">https://sor2.sum.dsdn.dk/#id=1339531000016004</a></td></tr></table><p><b>focus</b>: <a href=\"Communication-930876e5-8cf8-40f0-bd6c-3e38520d61de.html\">Communication: identifier = urn:uuid:b84738c1-a67f-4de9-a883-fab6d0ba0c44; status = unknown; category = Decease; topic = </a></p><p><b>definition</b>: <code>http://medcomfhir.dk/ig/carecommunication/medcom-careCommunication-message-definition|4.0.0</code></p></div>"
},
"eventCoding" : {
"system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes",
"code" : "care-communication-message"
},
"destination" : [
{
"extension" : [
{
"url" : "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension",
"valueCoding" : {
"system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse",
"code" : "primary"
}
}
],
"endpoint" : "https://sor2.sum.dsdn.dk/#id=330461000016004",
"receiver" : {
"reference" : "Organization/aea5f134-5cc9-44b1-b5db-7155e45717ee"
}
}
],
"sender" : {
"reference" : "Organization/d8ca8b48-565a-46c8-a1c8-e781c498626a"
},
"source" : {
"endpoint" : "https://sor2.sum.dsdn.dk/#id=1339531000016004"
},
"focus" : [
{
"reference" : "Communication/930876e5-8cf8-40f0-bd6c-3e38520d61de"
}
],
"definition" : "http://medcomfhir.dk/ig/carecommunication/medcom-careCommunication-message-definition|4.0.0"
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Patient/e85e8d47-46a9-4b6a-b86d-9dcf96d24543",
"resource" : {
"resourceType" : "Patient",
"id" : "e85e8d47-46a9-4b6a-b86d-9dcf96d24543",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_e85e8d47-46a9-4b6a-b86d-9dcf96d24543\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient e85e8d47-46a9-4b6a-b86d-9dcf96d24543</b></p><a name=\"e85e8d47-46a9-4b6a-b86d-9dcf96d24543\"> </a><a name=\"hce85e8d47-46a9-4b6a-b86d-9dcf96d24543\"> </a><a name=\"e85e8d47-46a9-4b6a-b86d-9dcf96d24543-da-DK\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Elmer (official) (no stated gender), DoB Unknown ( urn:oid:1.2.208.176.1.2#2509479989)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">true</td></tr></table></div>"
},
"identifier" : [
{
"system" : "urn:oid:1.2.208.176.1.2",
"value" : "2509479989"
}
],
"name" : [
{
"use" : "official",
"family" : "Elmer"
}
],
"deceasedBoolean" : true
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Communication/930876e5-8cf8-40f0-bd6c-3e38520d61de",
"resource" : {
"resourceType" : "Communication",
"id" : "930876e5-8cf8-40f0-bd6c-3e38520d61de",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-communication"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Communication_930876e5-8cf8-40f0-bd6c-3e38520d61de\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Communication 930876e5-8cf8-40f0-bd6c-3e38520d61de</b></p><a name=\"930876e5-8cf8-40f0-bd6c-3e38520d61de\"> </a><a name=\"hc930876e5-8cf8-40f0-bd6c-3e38520d61de\"> </a><a name=\"930876e5-8cf8-40f0-bd6c-3e38520d61de-da-DK\"> </a><p><b>identifier</b>: urn:uuid:b84738c1-a67f-4de9-a883-fab6d0ba0c44</p><p><b>status</b>: Unknown</p><p><b>category</b>: <span title=\"Codes:{http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-careCommunication-categoryCodes decease}\">Decease</span></p><p><b>subject</b>: <a href=\"Patient-e85e8d47-46a9-4b6a-b86d-9dcf96d24543.html\">Elmer (official) (no stated gender), DoB Unknown ( urn:oid:1.2.208.176.1.2#2509479989)</a></p><p><b>topic</b>: <span title=\"Codes:\">Afgået ved døden</span></p><blockquote><p><b>payload</b></p><p><b>content</b>: Til rette vedkommende hos Per Thorsleth. Bruno Elmer er desværre død i nat kl. 4.15. I hans kalender fremgår det, at han vil komme til læge i morgen kl. 11. Det gør han ikke. Mvh. Sygeplejerske K. Jensen.</p></blockquote></div>"
},
"identifier" : [
{
"value" : "urn:uuid:b84738c1-a67f-4de9-a883-fab6d0ba0c44"
}
],
"status" : "unknown",
"category" : [
{
"coding" : [
{
"system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-careCommunication-categoryCodes",
"code" : "decease"
}
]
}
],
"subject" : {
"reference" : "Patient/e85e8d47-46a9-4b6a-b86d-9dcf96d24543"
},
"topic" : {
"text" : "Afgået ved døden"
},
"payload" : [
{
"extension" : [
{
"url" : "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-datetime-extension",
"valueDateTime" : "2024-08-23T16:00:00+01:00"
},
{
"url" : "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-identifier-extension",
"valueIdentifier" : {
"value" : "urn:uuid:1df44fde-c8e1-4d0c-99cd-fc521cb728e5",
"assigner" : {
"reference" : "Organization/aea5f134-5cc9-44b1-b5db-7155e45717ee"
}
}
},
{
"url" : "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner-extension",
"valueReference" : {
"reference" : "PractitionerRole/8a11159b-2b92-4232-9990-09bbae6ec6cb"
}
},
{
"url" : "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension",
"valueContactPoint" : {
"system" : "phone",
"value" : "85572787"
}
}
],
"contentString" : "Til rette vedkommende hos Per Thorsleth. Bruno Elmer er desværre død i nat kl. 4.15. I hans kalender fremgår det, at han vil komme til læge i morgen kl. 11. Det gør han ikke. Mvh. Sygeplejerske K. Jensen."
}
]
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/PractitionerRole/8a11159b-2b92-4232-9990-09bbae6ec6cb",
"resource" : {
"resourceType" : "PractitionerRole",
"id" : "8a11159b-2b92-4232-9990-09bbae6ec6cb",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitionerrole"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_8a11159b-2b92-4232-9990-09bbae6ec6cb\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole 8a11159b-2b92-4232-9990-09bbae6ec6cb</b></p><a name=\"8a11159b-2b92-4232-9990-09bbae6ec6cb\"> </a><a name=\"hc8a11159b-2b92-4232-9990-09bbae6ec6cb\"> </a><a name=\"8a11159b-2b92-4232-9990-09bbae6ec6cb-da-DK\"> </a><p><b>practitioner</b>: <a href=\"Practitioner-5edc1273-b409-4fcc-a39c-15d8beb3ae71.html\">Practitioner Kim Jensen </a></p><p><b>code</b>: <span title=\"Codes:{http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-core-PractitionerRolesSKSadministrativ overlaege}\">Overlæge</span></p></div>"
},
"practitioner" : {
"reference" : "Practitioner/5edc1273-b409-4fcc-a39c-15d8beb3ae71"
},
"code" : [
{
"coding" : [
{
"system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-core-PractitionerRolesSKSadministrativ",
"code" : "overlaege"
}
]
}
]
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Practitioner/5edc1273-b409-4fcc-a39c-15d8beb3ae71",
"resource" : {
"resourceType" : "Practitioner",
"id" : "5edc1273-b409-4fcc-a39c-15d8beb3ae71",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitioner"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_5edc1273-b409-4fcc-a39c-15d8beb3ae71\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner 5edc1273-b409-4fcc-a39c-15d8beb3ae71</b></p><a name=\"5edc1273-b409-4fcc-a39c-15d8beb3ae71\"> </a><a name=\"hc5edc1273-b409-4fcc-a39c-15d8beb3ae71\"> </a><a name=\"5edc1273-b409-4fcc-a39c-15d8beb3ae71-da-DK\"> </a><p><b>name</b>: Kim Jensen </p></div>"
},
"name" : [
{
"family" : "Jensen",
"given" : [
"Kim"
]
}
]
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Organization/aea5f134-5cc9-44b1-b5db-7155e45717ee",
"resource" : {
"resourceType" : "Organization",
"id" : "aea5f134-5cc9-44b1-b5db-7155e45717ee",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_aea5f134-5cc9-44b1-b5db-7155e45717ee\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization aea5f134-5cc9-44b1-b5db-7155e45717ee</b></p><a name=\"aea5f134-5cc9-44b1-b5db-7155e45717ee\"> </a><a name=\"hcaea5f134-5cc9-44b1-b5db-7155e45717ee\"> </a><a name=\"aea5f134-5cc9-44b1-b5db-7155e45717ee-da-DK\"> </a><p><b>identifier</b>: <code>https://www.gs1.org/gln</code>/5790001353308, <code>urn:oid:1.2.208.176.1.1</code>/330461000016004</p><p><b>name</b>: Sundhedsplejen, Aabenraa kommune</p></div>"
},
"identifier" : [
{
"system" : "https://www.gs1.org/gln",
"value" : "5790001353308"
},
{
"system" : "urn:oid:1.2.208.176.1.1",
"value" : "330461000016004"
}
],
"name" : "Sundhedsplejen, Aabenraa kommune"
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Organization/d8ca8b48-565a-46c8-a1c8-e781c498626a",
"resource" : {
"resourceType" : "Organization",
"id" : "d8ca8b48-565a-46c8-a1c8-e781c498626a",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_d8ca8b48-565a-46c8-a1c8-e781c498626a\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization d8ca8b48-565a-46c8-a1c8-e781c498626a</b></p><a name=\"d8ca8b48-565a-46c8-a1c8-e781c498626a\"> </a><a name=\"hcd8ca8b48-565a-46c8-a1c8-e781c498626a\"> </a><a name=\"d8ca8b48-565a-46c8-a1c8-e781c498626a-da-DK\"> </a><p><b>identifier</b>: <code>https://www.gs1.org/gln</code>/5790001348250, <code>urn:oid:1.2.208.176.1.1</code>/1339531000016004</p><p><b>name</b>: Per Thorseth</p></div>"
},
"identifier" : [
{
"system" : "https://www.gs1.org/gln",
"value" : "5790001348250"
},
{
"system" : "urn:oid:1.2.208.176.1.1",
"value" : "1339531000016004"
}
],
"name" : "Per Thorseth"
}
},
{
"fullUrl" : "https://medcomfhir.dk/ig/carecommunication/Provenance/520281e1-e735-4e5c-8980-fb8a36e820cb",
"resource" : {
"resourceType" : "Provenance",
"id" : "520281e1-e735-4e5c-8980-fb8a36e820cb",
"meta" : {
"profile" : [
🔗 "http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_520281e1-e735-4e5c-8980-fb8a36e820cb\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Provenance 520281e1-e735-4e5c-8980-fb8a36e820cb</b></p><a name=\"520281e1-e735-4e5c-8980-fb8a36e820cb\"> </a><a name=\"hc520281e1-e735-4e5c-8980-fb8a36e820cb\"> </a><a name=\"520281e1-e735-4e5c-8980-fb8a36e820cb-da-DK\"> </a><p>Provenance for <a href=\"MessageHeader-f7f519bd-a104-43fb-ab8a-058eeaec68c7.html\">MessageHeader: event[x] = Care Communication Message (MedComMessagingEventCodes#care-communication-message); definition = http://medcomfhir.dk/ig/carecommunication/medcom-careCommunication-message-definition|4.0.0</a></p><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2024-08-23 16:00:00+0100</td></tr><tr><td>Recorded</td><td>2024-08-23 16:00:00+0100</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes new-message}\">A new message has been sent</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>who</b></td></tr><tr><td><a href=\"Organization-aea5f134-5cc9-44b1-b5db-7155e45717ee.html\">Organization Sundhedsplejen, Aabenraa kommune</a></td></tr></table></div>"
},
"target" : [
{
"reference" : "MessageHeader/f7f519bd-a104-43fb-ab8a-058eeaec68c7"
}
],
"occurredDateTime" : "2024-08-23T16:00:00+01:00",
"recorded" : "2024-08-23T16:00:00+01:00",
"activity" : {
"coding" : [
{
"system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes",
"code" : "new-message"
}
]
},
"agent" : [
{
"who" : {
"reference" : "Organization/aea5f134-5cc9-44b1-b5db-7155e45717ee"
}
}
],
"entity" : [
{
"role" : "source",
"what" : {
"identifier" : {
"value" : "urn:uuid:1df44fde-c8e1-4d0c-99cd-fc521cb728e5"
}
}
}
]
}
}
]
}