Subscriptions R5 Backport
0.1.0 - ballot

Subscriptions R5 Backport - Local Development build (v0.1.0). See the Directory of published versions

: Backported Notification: Multiple Resources - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="notification-multi-resource"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification"/>
  </meta>
  <type value="history"/>
  <timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
  <entry>
    <fullUrl value="urn:uuid:babce097-c165-4b54-b7d1-0301b8a095d3"/>
    <resource>
      <SubscriptionStatus>
        <id value="b21e4fae-ce73-45cb-8e37-1e203362b2ae"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>status</b>: active</p><p><b>type</b>: event-notification</p><p><b>eventsSinceSubscriptionStart</b>: 2</p><p><b>eventsInNotification</b>: 1</p><h3>NotificationEvents</h3><table class="grid"><tr><td>-</td><td><b>EventNumber</b></td><td><b>Timestamp</b></td><td><b>Focus</b></td><td><b>AdditionalContext</b></td></tr><tr><td>*</td><td>2</td><td>May 29, 2020, 11:44:13 AM</td><td><a href="#Encounter_551683b3-1477-41d1-b58e-32fe8b0047b0">See above (Encounter/551683b3-1477-41d1-b58e-32fe8b0047b0)</a></td><td><a href="#Patient_46db3334-dbf5-43f3-868f-93ae0883cce1">See above (Patient/46db3334-dbf5-43f3-868f-93ae0883cce1)</a></td></tr></table><p><b>subscription</b>: <a href="https://example.org/fhir/r4/Subscription/admission">https://example.org/fhir/r4/Subscription/admission</a></p><p><b>topic</b>: <a href="http://hl7.org/SubscriptionTopic/admission">http://hl7.org/SubscriptionTopic/admission</a></p></div>
        </text>
        <status value="active"/>
        <type value="event-notification"/>
        <eventsSinceSubscriptionStart value="2"/>
        <eventsInNotification value="1"/>
        <notificationEvent>
          <eventNumber value="2"/>
          <timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
          <focus>
            <reference
                       value="https://example.org/fhir/r4/Encounter/551683b3-1477-41d1-b58e-32fe8b0047b0"/>
          </focus>
          <additionalContext>
            <reference
                       value="https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"/>
          </additionalContext>
        </notificationEvent>
        <subscription>
          <reference value="https://example.org/fhir/r4/Subscription/admission"/>
        </subscription>
        <topic value="http://hl7.org/SubscriptionTopic/admission"/>
      </SubscriptionStatus>
    </resource>
    <request>
      <method value="GET"/>
      <url value="https://example.org/fhir/r4/Subscription/admission/$status"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
  <entry>
    <fullUrl
             value="https://example.org/fhir/r4/Encounter/551683b3-1477-41d1-b58e-32fe8b0047b0"/>
    <resource>
      <Encounter>
        <id value="551683b3-1477-41d1-b58e-32fe8b0047b0"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>status</b>: in-progress</p><p><b>class</b>: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActCode VR}">virtual</span></p><p><b>subject</b>: <a href="#Patient_46db3334-dbf5-43f3-868f-93ae0883cce1">Example Patient. Generated Summary: active; Example Patient</a></p></div>
        </text>
        <status value="in-progress"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="VR"/>
        </class>
        <subject>
          <reference
                     value="https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"/>
          <display value="Example Patient"/>
        </subject>
      </Encounter>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Encounter"/>
    </request>
    <response>
      <status value="201"/>
    </response>
  </entry>
  <entry>
    <fullUrl
             value="https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"/>
    <resource>
      <Patient>
        <id value="46db3334-dbf5-43f3-868f-93ae0883cce1"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>active</b>: true</p><p><b>name</b>: Example Patient</p></div>
        </text>
        <active value="true"/>
        <name>
          <use value="usual"/>
          <text value="Example Patient"/>
          <family value="Patient"/>
          <given value="Example"/>
        </name>
      </Patient>
    </resource>
    <request>
      <method value="GET"/>
      <url value="Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
</Bundle>