Subscriptions R5 Backport
1.2.0-ballot - ballot International flag

This page is part of the Subscriptions R5 Backport (v1.2.0-ballot: STU 1.2 Ballot 1) based on FHIR (HL7® FHIR® Standard) v4.3.0. The current version which supersedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

: R4B Notification: Full Resource with Query - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="r4b-notification-full-resource-with-query"/>
  <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:1aa43532-94b7-4463-8049-338045636f7b"/>
    <resource>
      <SubscriptionStatus>
        <id value="1aa43532-94b7-4463-8049-338045636f7b"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: SubscriptionStatus</b><a name="1aa43532-94b7-4463-8049-338045636f7b"> </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 SubscriptionStatus &quot;1aa43532-94b7-4463-8049-338045636f7b&quot; </p></div><p><b>status</b>: active</p><p><b>type</b>: event-notification</p><p><b>eventsSinceSubscriptionStart</b>: 2</p><h3>NotificationEvents</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td><td><b>EventNumber</b></td><td><b>Timestamp</b></td><td><b>Focus</b></td></tr><tr><td style="display: none">*</td><td>, </td><td>2</td><td>May 29, 2020, 4:44:13 PM</td><td><a href="#Encounter_86009987-eabe-42bf-8c02-b112b18cb616">See above (https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616)</a></td></tr></table><p><b>subscription</b>: <a href="https://example.org/fhir/Subscription/admission">https://example.org/fhir/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"/>
        <notificationEvent>
          <extension
                     url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query">
            <extension url="queryType">
              <valueCoding>
                <system value="http://example.org/query-types"/>
                <code value="example"/>
                <display value="Example query"/>
              </valueCoding>
            </extension>
            <extension url="query">
              <valueString
                           value="http://example.org/fhir/$example?patient=$notificationPatientId"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query">
            <extension url="queryType">
              <valueCoding>
                <system value="http://example.org/query-types"/>
                <code value="prescribed"/>
                <display value="Prescribed medications"/>
              </valueCoding>
            </extension>
            <extension url="query">
              <valueString
                           value="http://example.org/fhir/MedicationRequest?patient=$notificationPatientId&amp;encounter=$notificationEncounter1Id"/>
            </extension>
          </extension>
          <eventNumber value="2"/>
          <timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
          <focus>
            <reference
                       value="https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"/>
          </focus>
        </notificationEvent>
        <subscription>
          <reference value="https://example.org/fhir/Subscription/admission"/>
        </subscription>
        <topic value="http://hl7.org/SubscriptionTopic/admission"/>
      </SubscriptionStatus>
    </resource>
    <request>
      <method value="GET"/>
      <url value="https://example.org/fhir/Subscription/admission/$status"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
  <entry>
    <fullUrl
             value="https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"/>
    <resource>
      <Encounter>
        <id value="86009987-eabe-42bf-8c02-b112b18cb616"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Encounter</b><a name="86009987-eabe-42bf-8c02-b112b18cb616"> </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;86009987-eabe-42bf-8c02-b112b18cb616&quot; </p></div><p><b>status</b>: in-progress</p><p><b>class</b>: virtual (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code VR = 'virtual', stated as 'null')</p><p><b>subject</b>: <a href="Bundle-r4-notification-multi-resource.html#https-//example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1">https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1: 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/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1"/>
          <display value="Example Patient"/>
        </subject>
      </Encounter>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Encounter"/>
    </request>
    <response>
      <status value="201"/>
    </response>
  </entry>
</Bundle>