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 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "notification-multi-resource",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification"
    ]
  },
  "type" : "history",
  "timestamp" : "2020-05-29T11:44:13.1882432-05:00",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:babce097-c165-4b54-b7d1-0301b8a095d3",
      "resource" : {
        "resourceType" : "SubscriptionStatus",
        "id" : "b21e4fae-ce73-45cb-8e37-1e203362b2ae",
        "text" : {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "type" : "event-notification",
        "eventsSinceSubscriptionStart" : "2",
        "eventsInNotification" : 1,
        "notificationEvent" : [
          {
            "eventNumber" : "2",
            "timestamp" : "2020-05-29T11:44:13.1882432-05:00",
            "focus" : {
              "reference" : "https://example.org/fhir/r4/Encounter/551683b3-1477-41d1-b58e-32fe8b0047b0"
            },
            "additionalContext" : [
              {
                "reference" : "https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"
              }
            ]
          }
        ],
        "subscription" : {
          "reference" : "https://example.org/fhir/r4/Subscription/admission"
        },
        "topic" : "http://hl7.org/SubscriptionTopic/admission"
      },
      "request" : {
        "method" : "GET",
        "url" : "https://example.org/fhir/r4/Subscription/admission/$status"
      },
      "response" : {
        "status" : "200"
      }
    },
    {
      "fullUrl" : "https://example.org/fhir/r4/Encounter/551683b3-1477-41d1-b58e-32fe8b0047b0",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "551683b3-1477-41d1-b58e-32fe8b0047b0",
        "text" : {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "in-progress",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "VR"
        },
        "subject" : {
          "reference" : "https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1",
          "display" : "Example Patient"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Encounter"
      },
      "response" : {
        "status" : "201"
      }
    },
    {
      "fullUrl" : "https://example.org/fhir/r4/Patient/46db3334-dbf5-43f3-868f-93ae0883cce1",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "46db3334-dbf5-43f3-868f-93ae0883cce1",
        "text" : {
          "status" : "generated",
          "div" : "<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>"
        },
        "active" : true,
        "name" : [
          {
            "use" : "usual",
            "text" : "Example Patient",
            "family" : "Patient",
            "given" : [
              "Example"
            ]
          }
        ]
      },
      "request" : {
        "method" : "GET",
        "url" : "Patient/46db3334-dbf5-43f3-868f-93ae0883cce1"
      },
      "response" : {
        "status" : "200"
      }
    }
  ]
}