Subscriptions R5 Backport
1.2.0-ballot - ballot

Subscriptions R5 Backport, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-subscription-backport-ig/ and changes regularly. See the Directory of published versions

## : R4 Notification: Full Resource with related query - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "r4-notification-full-resource-with-query",
      "meta" : {
        "profile" : [
          🔗 "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4"
        ]
      },
      "type" : "history",
      "timestamp" : "2020-05-29T11:44:13.1882432-05:00",
      "entry" : [
        {
          "fullUrl" : "urn:uuid:919ce5d0-d77c-44a7-a397-d8b2a05fd1bf",
          "resource" : {
            "resourceType" : "Parameters",
            "id" : "919ce5d0-d77c-44a7-a397-d8b2a05fd1bf",
            "meta" : {
              "profile" : [
                🔗 "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4"
              ]
            },
            "parameter" : [
              {
                "name" : "subscription",
                "valueReference" : {
                  "reference" : "https://example.org/fhir/Subscription/admission"
                }
              },
              {
                "name" : "topic",
                "valueCanonical" : "http://hl7.org/SubscriptionTopic/admission"
              },
              {
                "name" : "status",
                "valueCode" : "active"
              },
              {
                "name" : "type",
                "valueCode" : "event-notification"
              },
              {
                "name" : "events-since-subscription-start",
                "valueString" : "2"
              },
              {
                "name" : "notification-event",
                "part" : [
                  {
                    "name" : "event-number",
                    "valueString" : "2"
                  },
                  {
                    "name" : "timestamp",
                    "valueInstant" : "2020-05-29T11:44:13.1882432-05:00"
                  },
                  {
                    "name" : "focus",
                    "valueReference" : {
                      "reference" : "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"
                    }
                  },
                  {
                    "name" : "related-query",
                    "part" : [
                      {
                        "name" : "query-type",
                        "valueCoding" : {
                          "system" : "http://example.org/query-types",
                          "code" : "example",
                          "display" : "Example query"
                        }
                      },
                      {
                        "name" : "query",
                        "valueString" : "http://example.org/fhir/$example?patient=$notificationPatientId"
                      }
                    ]
                  },
                  {
                    "name" : "related-query",
                    "part" : [
                      {
                        "name" : "query-type",
                        "valueCoding" : {
                          "system" : "http://example.org/query-types",
                          "code" : "prescribed",
                          "display" : "Prescribed medications"
                        }
                      },
                      {
                        "name" : "query",
                        "valueString" : "http://example.org/fhir/MedicationRequest?patient=$notificationPatientId&encounter=$notificationEncounter1Id"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "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\"><a name=\"Encounter_86009987-eabe-42bf-8c02-b112b18cb616\"> </a><p><b>Generated Narrative: Encounter </b><a name=\"86009987-eabe-42bf-8c02-b112b18cb616\"> </a><a name=\"hc86009987-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\">ResourceEncounter &quot;86009987-eabe-42bf-8c02-b112b18cb616&quot; </p></div><p><b>status</b>: in-progress</p><p><b>class</b>: virtual (Details: 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"
          }
        }
      ]
    }