HospitalNotification Testscripts
3.0.1 - ci-build

This page is part of the DK MedCom HospitalNotification TestScripts (v3.0.1: Release) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: 71ea109a-a5fb-4301-8609-34d7849190df - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "71ea109a-a5fb-4301-8609-34d7849190df",
  "meta" : {
    "profile" : [
      "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-message"
    ]
  },
  "type" : "message",
  "timestamp" : "2023-03-01T12:00:00+01:00",
  "entry" : [
    {
      "fullUrl" : "MessageHeader/7f6f6ddf-abd9-490e-a9de-8c58927192bb",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "7f6f6ddf-abd9-490e-a9de-8c58927192bb",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-messageHeader"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"7f6f6ddf-abd9-490e-a9de-8c58927192bb\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MessageHeader &quot;7f6f6ddf-abd9-490e-a9de-8c58927192bb&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medcom-hospitalNotification-messageHeader.html\">MedComHospitalNotificationMessageHeader</a></p></div><p><b>MedComReportOfAdmissionExtension</b>: true</p><p><b>MedComReportOfAdmissionRecipientExtension</b>: <a href=\"#Organization_b79a7914-81c8-11ed-a1eb-0242ac120002\">See above (Organization/b79a7914-81c8-11ed-a1eb-0242ac120002)</a></p><p><b>event</b>: Hospital Notification Message (Details: http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes code hospital-notification-message = 'Hospital Notification Message', stated as 'null')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td>*</td><td/><td><a href=\"https://sor2.sum.dsdn.dk/#id=953741000016009\">https://sor2.sum.dsdn.dk/#id=953741000016009</a></td><td><a href=\"#Organization_o4cdf292-abf3-4f5f-80ea-60a48013ff6d\">See above (Organization/o4cdf292-abf3-4f5f-80ea-60a48013ff6d)</a></td></tr></table><p><b>sender</b>: <a href=\"#Organization_b79a7914-81c8-11ed-a1eb-0242ac120002\">See above (Organization/b79a7914-81c8-11ed-a1eb-0242ac120002)</a></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td></tr><tr><td>*</td><td><a href=\"https://sor2.sum.dsdn.dk/#id=265161000016000\">https://sor2.sum.dsdn.dk/#id=265161000016000</a></td></tr></table><p><b>focus</b>: <a href=\"#Encounter_3528dee9-812e-4b4d-b5a2-fb22ea9f9acf\">See above (Encounter/3528dee9-812e-4b4d-b5a2-fb22ea9f9acf)</a></p></div>"
        },
        "extension" : [
          {
            "url" : "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-messaging-reportOfAdmissionExtension",
            "valueBoolean" : true
          },
          {
            "url" : "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-messaging-reportOfAdmissionRecipientExtension",
            "valueReference" : {
              "reference" : "Organization/b79a7914-81c8-11ed-a1eb-0242ac120002"
            }
          }
        ],
        "eventCoding" : {
          "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes",
          "code" : "hospital-notification-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=953741000016009",
            "receiver" : {
              "reference" : "Organization/o4cdf292-abf3-4f5f-80ea-60a48013ff6d"
            }
          }
        ],
        "sender" : {
          "reference" : "Organization/b79a7914-81c8-11ed-a1eb-0242ac120002"
        },
        "source" : {
          "endpoint" : "https://sor2.sum.dsdn.dk/#id=265161000016000"
        },
        "focus" : [
          {
            "reference" : "Encounter/3528dee9-812e-4b4d-b5a2-fb22ea9f9acf"
          }
        ]
      }
    },
    {
      "fullUrl" : "Patient/6e8d6238-37de-4471-a210-63c121690cde",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "6e8d6238-37de-4471-a210-63c121690cde",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"6e8d6238-37de-4471-a210-63c121690cde\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Patient &quot;6e8d6238-37de-4471-a210-63c121690cde&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://medcomfhir.dk/ig/core/2.1.0/StructureDefinition-medcom-core-patient.html\">MedComCorePatient</a></p></div><p><b>identifier</b>: id: 2509479989</p><p><b>name</b>: Elmer (OFFICIAL)</p></div>"
        },
        "identifier" : [
          {
            "system" : "urn:oid:1.2.208.176.1.2",
            "value" : "2103009996"
          }
        ],
        "name" : [
          {
            "use" : "official",
            "family" : "Hansen",
            "given" : [
              "Kaja",
              "Test"
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "Encounter/3528dee9-812e-4b4d-b5a2-fb22ea9f9acf",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "3528dee9-812e-4b4d-b5a2-fb22ea9f9acf",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"3528dee9-812e-4b4d-b5a2-fb22ea9f9acf\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter &quot;3528dee9-812e-4b4d-b5a2-fb22ea9f9acf&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medcom-hospitalNotification-encounter.html\">MedComHospitalNotificationEncounter</a></p></div><p><b>status</b>: in-progress</p><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'null')</p><p><b>subject</b>: <a href=\"#Patient_6e8d6238-37de-4471-a210-63c121690cde\">See above (Patient/6e8d6238-37de-4471-a210-63c121690cde)</a></p><p><b>episodeOfCare</b>: <span/></p><p><b>period</b>: 2022-12-07 12:00:00+0200 --&gt; (ongoing)</p><p><b>serviceProvider</b>: <a href=\"#Organization_b79a7914-81c8-11ed-a1eb-0242ac120002\">See above (Organization/b79a7914-81c8-11ed-a1eb-0242ac120002)</a></p></div>"
        },
        "status" : "in-progress",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "IMP"
        },
        "subject" : {
          "reference" : "Patient/6e8d6238-37de-4471-a210-63c121690cde"
        },
        "episodeOfCare" : [
          {
            "identifier" : {
              "system" : "https://sor2.sum.dsdn.dk/#id=265161000016000",
              "value" : "1fda267f-cf5f-41b0-b433-2343f69fcd9b"
            }
          }
        ],
        "period" : {
          "start" : "2023-03-01T12:00:00+01:00"
        },
        "serviceProvider" : {
          "reference" : "Organization/b79a7914-81c8-11ed-a1eb-0242ac120002"
        }
      }
    },
    {
      "fullUrl" : "Organization/o4cdf292-abf3-4f5f-80ea-60a48013ff6d",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "o4cdf292-abf3-4f5f-80ea-60a48013ff6d",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"o4cdf292-abf3-4f5f-80ea-60a48013ff6d\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Organization &quot;o4cdf292-abf3-4f5f-80ea-60a48013ff6d&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html\">MedComMessagingOrganization</a></p></div><p><b>identifier</b>: id: 5790001348120, id: 953741000016009</p><p><b>name</b>: Plejecenter Herlev</p></div>"
        },
        "identifier" : [
          {
            "system" : "https://www.gs1.org/gln",
            "value" : "5790001348120"
          },
          {
            "system" : "urn:oid:1.2.208.176.1.1",
            "value" : "953741000016009"
          }
        ],
        "name" : "Plejecenter Herlev"
      }
    },
    {
      "fullUrl" : "Organization/b79a7914-81c8-11ed-a1eb-0242ac120002",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "b79a7914-81c8-11ed-a1eb-0242ac120002",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"b79a7914-81c8-11ed-a1eb-0242ac120002\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Organization &quot;b79a7914-81c8-11ed-a1eb-0242ac120002&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html\">MedComMessagingOrganization</a></p></div><p><b>identifier</b>: id: 5790000209354, id: 265161000016000</p><p><b>name</b>: Hjerteafdelingen på Herlev og Gentofte hospital</p></div>"
        },
        "identifier" : [
          {
            "system" : "https://www.gs1.org/gln",
            "value" : "5790000209354"
          },
          {
            "system" : "urn:oid:1.2.208.176.1.1",
            "value" : "265161000016000"
          }
        ],
        "name" : "Hjerteafdelingen på Herlev og Gentofte hospital"
      }
    },
    {
      "fullUrl" : "Provenance/8698c986-7527-49e7-9a22-f23d8aeaa553",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "8698c986-7527-49e7-9a22-f23d8aeaa553",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"8698c986-7527-49e7-9a22-f23d8aeaa553\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Provenance &quot;8698c986-7527-49e7-9a22-f23d8aeaa553&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-provenance.html\">MedComMessagingProvenance</a></p></div><p><b>target</b>: <a href=\"#MessageHeader_7f6f6ddf-abd9-490e-a9de-8c58927192bb\">See above (MessageHeader/7f6f6ddf-abd9-490e-a9de-8c58927192bb)</a></p><p><b>occurred</b>: 2022-12-07 12:00:02+0200</p><p><b>recorded</b>: 7. dec. 2022 11.00.02</p><p><b>activity</b>: Start hospital stay-admission <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://medcomfhir.dk/ig/terminology/1.1.1/CodeSystem-medcom-messaging-activityCodes.html\">MedComMessagingActivityCodes</a>#admit-inpatient)</span></p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Who</b></td></tr><tr><td>*</td><td><a href=\"#Organization_b79a7914-81c8-11ed-a1eb-0242ac120002\">See above (Organization/b79a7914-81c8-11ed-a1eb-0242ac120002)</a></td></tr></table></div>"
        },
        "target" : [
          {
            "reference" : "MessageHeader/7f6f6ddf-abd9-490e-a9de-8c58927192bb"
          }
        ],
        "occurredDateTime" : "2023-03-01T12:00:00+01:00",
        "recorded" : "2023-03-01T12:00:00+01:00",
        "activity" : {
          "coding" : [
            {
              "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes",
              "code" : "admit-inpatient"
            }
          ]
        },
        "agent" : [
          {
            "who" : {
              "reference" : "Organization/b79a7914-81c8-11ed-a1eb-0242ac120002"
            }
          }
        ]
      }
    }
  ]
}