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

: cac520bc-f88b-4e7a-b8fd-bb8750e38c7a - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="cac520bc-f88b-4e7a-b8fd-bb8750e38c7a"/>
  <meta>
    <profile
             value="http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-message"/>
  </meta>
  <type value="message"/>
  <timestamp value="2023-03-04T09:45:32+01:00"/>
  <entry>
    <fullUrl value="MessageHeader/hefc6d95-6161-4493-99c9-f35948399006"/>
    <resource>
      <MessageHeader>
        <id value="hefc6d95-6161-4493-99c9-f35948399006"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-messageHeader"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: MessageHeader</b><a name="hefc6d95-6161-4493-99c9-f35948399006"/></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 "hefc6d95-6161-4493-99c9-f35948399006"</p><p style="margin-bottom: 0px">Profile: 
                                <a href="StructureDefinition-medcom-hospitalNotification-messageHeader.html">MedComHospitalNotificationMessageHeader</a></p></div><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_753bdcba-81ce-11ed-a1eb-0242ac120002">See above (Organization/753bdcba-81ce-11ed-a1eb-0242ac120002)</a></td></tr></table><p><b>sender</b>: 
                            <a href="#Organization_o7056980-a8b2-42aa-8a0e-c1fc85d1f40d">See above (Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d)</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_gcab7218-9584-11ec-b909-0242ac120002">See above (Encounter/gcab7218-9584-11ec-b909-0242ac120002)</a></p></div>
        </text>
        <eventCoding>
          <system
                  value="http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes"/>
          <code value="hospital-notification-message"/>
        </eventCoding>
        <destination>
          <extension
                     url="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension">
            <valueCoding>
              <system
                      value="http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse"/>
              <code value="primary"/>
            </valueCoding>
          </extension>
          <endpoint value="https://sor2.sum.dsdn.dk/#id=953741000016009"/>
          <receiver>
            <reference
                       value="Organization/753bdcba-81ce-11ed-a1eb-0242ac120002"/>
          </receiver>
        </destination>
        <sender>
          <reference
                     value="Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
        </sender>
        <source>
          <endpoint value="https://sor2.sum.dsdn.dk/#id=265161000016000"/>
        </source>
        <focus>
          <reference value="Encounter/gcab7218-9584-11ec-b909-0242ac120002"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Patient/t82fb8a3-6725-41e2-a615-2b1cfcfe9931"/>
    <resource>
      <Patient>
        <id value="t82fb8a3-6725-41e2-a615-2b1cfcfe9931"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Patient</b><a name="t82fb8a3-6725-41e2-a615-2b1cfcfe9931"/></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 "t82fb8a3-6725-41e2-a615-2b1cfcfe9931"</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><p><b>deceased</b>: true
                        </p></div>
        </text>
        <identifier>
          <system value="urn:oid:1.2.208.176.1.2"/>
          <value value="2509479989"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Elmer"/>
        </name>
        <deceasedBoolean value="true"/>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Encounter/gcab7218-9584-11ec-b909-0242ac120002"/>
    <resource>
      <Encounter>
        <id value="gcab7218-9584-11ec-b909-0242ac120002"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Encounter</b><a name="gcab7218-9584-11ec-b909-0242ac120002"/></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 "gcab7218-9584-11ec-b909-0242ac120002"</p><p style="margin-bottom: 0px">Profile: 
                                <a href="StructureDefinition-medcom-hospitalNotification-encounter.html">MedComHospitalNotificationEncounter</a></p></div><p><b>status</b>: finished
                        </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_t82fb8a3-6725-41e2-a615-2b1cfcfe9931">See above (Patient/t82fb8a3-6725-41e2-a615-2b1cfcfe9931)</a></p><p><b>episodeOfCare</b>: 
                            <span/></p><p><b>period</b>: 2023-03-01 12:00:00+0200 --&gt; 2023-03-04 09:45:30+0200
                        </p><p><b>serviceProvider</b>: 
                            <a href="#Organization_o7056980-a8b2-42aa-8a0e-c1fc85d1f40d">See above (Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d)</a></p></div>
        </text>
        <extension
                   url="http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension">
          <valuePeriod>
            <start value="2023-03-03T14:00:10+01:00"/>
          </valuePeriod>
        </extension>
        <status value="finished"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="IMP"/>
        </class>
        <subject>
          <reference value="Patient/t82fb8a3-6725-41e2-a615-2b1cfcfe9931"/>
        </subject>
        <episodeOfCare>
          <identifier>
            <system value="https://sor2.sum.dsdn.dk/#id=265161000016000"/>
            <value value="d340897d-f650-4589-abe7-95ae467623f7"/>
          </identifier>
        </episodeOfCare>
        <period>
          <start value="2023-03-01T12:00:00+01:00"/>
          <end value="2023-03-04T09:45:30+01:00"/>
        </period>
        <serviceProvider>
          <reference
                     value="Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
        </serviceProvider>
      </Encounter>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Organization/753bdcba-81ce-11ed-a1eb-0242ac120002"/>
    <resource>
      <Organization>
        <id value="753bdcba-81ce-11ed-a1eb-0242ac120002"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Organization</b><a name="753bdcba-81ce-11ed-a1eb-0242ac120002"/></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 "753bdcba-81ce-11ed-a1eb-0242ac120002"</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>
        </text>
        <identifier>
          <system value="https://www.gs1.org/gln"/>
          <value value="5790001348120"/>
        </identifier>
        <identifier>
          <system value="urn:oid:1.2.208.176.1.1"/>
          <value value="953741000016009"/>
        </identifier>
        <name value="Plejecenter Herlev"/>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
    <resource>
      <Organization>
        <id value="o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Organization</b><a name="o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/></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 "o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"</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>
        </text>
        <identifier>
          <system value="https://www.gs1.org/gln"/>
          <value value="5790000209354"/>
        </identifier>
        <identifier>
          <system value="urn:oid:1.2.208.176.1.1"/>
          <value value="265161000016000"/>
        </identifier>
        <name value="Hjerteafdelingen på Herlev og Gentofte hospital"/>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Provenance/a7cf3888-6f42-4e4d-929c-d2475d24fba0"/>
    <resource>
      <Provenance>
        <id value="a7cf3888-6f42-4e4d-929c-d2475d24fba0"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="a7cf3888-6f42-4e4d-929c-d2475d24fba0"/></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 "a7cf3888-6f42-4e4d-929c-d2475d24fba0"</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-b9b4818e-02de-4cc4-b418-d20cbc399006.html">MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc399006</a></p><p><b>occurred</b>: 2023-03-01 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-o7056980-a8b2-42aa-8a0e-c1fc85d1f40d.html">Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d</a> "Hjerteafdelingen på Herlev og Gentofte hospital"
                                </td></tr></table></div>
        </text>
        <target>
          <reference
                     value="MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc399006"/>
        </target>
        <occurredDateTime value="2023-03-01T12:00:02+01:00"/>
        <recorded value="2023-03-01T12:00:02+01:00"/>
        <activity>
          <coding>
            <system
                    value="http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes"/>
            <code value="admit-inpatient"/>
          </coding>
        </activity>
        <agent>
          <who>
            <reference
                       value="Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
          </who>
        </agent>
      </Provenance>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Provenance/dc421d0a-cded-470f-9a53-2ddba7583baa"/>
    <resource>
      <Provenance>
        <id value="dc421d0a-cded-470f-9a53-2ddba7583baa"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="dc421d0a-cded-470f-9a53-2ddba7583baa"/></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 "dc421d0a-cded-470f-9a53-2ddba7583baa"</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_e563a2b2-bf92-4b13-bbd2-0a021a399006">See above (MessageHeader/e563a2b2-bf92-4b13-bbd2-0a021a399006)</a></p><p><b>occurred</b>: 2023-03-03 14:00:12+0200
                        </p><p><b>recorded</b>: 13. dec. 2022 13.00.12
                        </p><p><b>activity</b>: Start leave 
                            <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>#start-leave-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><h3>Entities</h3><table class="grid"><tr><td>-</td><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>*</td><td>revision</td><td><a href="MessageHeader-b9b4818e-02de-4cc4-b418-d20cbc399006.html">MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc399006</a></td></tr></table></div>
        </text>
        <target>
          <reference
                     value="MessageHeader/e563a2b2-bf92-4b13-bbd2-0a021a399006"/>
        </target>
        <occurredDateTime value="2023-03-03T14:00:12+01:00"/>
        <recorded value="2023-03-03T14:00:12+01:00"/>
        <activity>
          <coding>
            <system
                    value="http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes"/>
            <code value="start-leave-inpatient"/>
          </coding>
        </activity>
        <agent>
          <who>
            <reference
                       value="Organization/b79a7914-81c8-11ed-a1eb-0242ac120002"/>
          </who>
        </agent>
        <entity>
          <role value="revision"/>
          <what>
            <reference
                       value="MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc399006"/>
          </what>
        </entity>
      </Provenance>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Provenance/g9942adb-197a-4e30-bec8-566e3a113efe"/>
    <resource>
      <Provenance>
        <id value="g9942adb-197a-4e30-bec8-566e3a113efe"/>
        <meta>
          <profile
                   value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="g9942adb-197a-4e30-bec8-566e3a113efe"/></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 "g9942adb-197a-4e30-bec8-566e3a113efe"</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_hefc6d95-6161-4493-99c9-f35948399006">See above (MessageHeader/hefc6d95-6161-4493-99c9-f35948399006)</a></p><p><b>occurred</b>: 2023-03-04 09:45:32+0200
                        </p><p><b>recorded</b>: 9. dec. 2022 08.45.32
                        </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-o7056980-a8b2-42aa-8a0e-c1fc85d1f40d.html">Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d</a> "Hjerteafdelingen på Herlev og Gentofte hospital"
                                </td></tr></table><h3>Entities</h3><table class="grid"><tr><td>-</td><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>*</td><td>revision</td><td><a href="MessageHeader-b9b4818e-02de-4cc4-b418-d20cbc399006.html">MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc399006</a></td></tr></table></div>
        </text>
        <target>
          <reference
                     value="MessageHeader/hefc6d95-6161-4493-99c9-f35948399006"/>
        </target>
        <occurredDateTime value="2023-03-04T09:45:32+01:00"/>
        <recorded value="2023-03-04T09:45:32+01:00"/>
        <activity>
          <coding>
            <system
                    value="http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes"/>
            <code value="start-leave-inpatient"/>
          </coding>
        </activity>
        <agent>
          <who>
            <reference
                       value="Organization/o7056980-a8b2-42aa-8a0e-c1fc85d1f40d"/>
          </who>
        </agent>
        <entity>
          <role value="revision"/>
          <what>
            <reference
                       value="MessageHeader/e563a2b2-bf92-4b13-bbd2-0a021a399006"/>
          </what>
        </entity>
      </Provenance>
    </resource>
  </entry>
</Bundle>