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

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "r4b-notification-full-resource-with-query",
  "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:1aa43532-94b7-4463-8049-338045636f7b",
      "resource" : {
        "resourceType" : "SubscriptionStatus",
        "id" : "1aa43532-94b7-4463-8049-338045636f7b",
        "text" : {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "type" : "event-notification",
        "eventsSinceSubscriptionStart" : "2",
        "notificationEvent" : [
          {
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "queryType",
                    "valueCoding" : {
                      "system" : "http://example.org/query-types",
                      "code" : "example",
                      "display" : "Example query"
                    }
                  },
                  {
                    "url" : "query",
                    "valueString" : "http://example.org/fhir/$example?patient=$notificationPatientId"
                  }
                ],
                "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query"
              },
              {
                "extension" : [
                  {
                    "url" : "queryType",
                    "valueCoding" : {
                      "system" : "http://example.org/query-types",
                      "code" : "prescribed",
                      "display" : "Prescribed medications"
                    }
                  },
                  {
                    "url" : "query",
                    "valueString" : "http://example.org/fhir/MedicationRequest?patient=$notificationPatientId&encounter=$notificationEncounter1Id"
                  }
                ],
                "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query"
              }
            ],
            "eventNumber" : "2",
            "timestamp" : "2020-05-29T11:44:13.1882432-05:00",
            "focus" : {
              "reference" : "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"
            }
          }
        ],
        "subscription" : {
          "reference" : "https://example.org/fhir/Subscription/admission"
        },
        "topic" : "http://hl7.org/SubscriptionTopic/admission"
      },
      "request" : {
        "method" : "GET",
        "url" : "https://example.org/fhir/Subscription/admission/$status"
      },
      "response" : {
        "status" : "200"
      }
    },
    {
      "fullUrl" : "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "86009987-eabe-42bf-8c02-b112b18cb616",
        "text" : {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "in-progress",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "VR"
        },
        "subject" : {
          "reference" : "https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1",
          "display" : "Example Patient"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Encounter"
      },
      "response" : {
        "status" : "201"
      }
    }
  ]
}