Da Vinci Health Record Exchange (HRex)
1.1.0 - STU 1.1 United States of America flag

This page is part of the Da Vinci Health Record Exchange (v1.1.0: STU 1.1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: HRex Task Subscription Notification - completed query example - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "subscription-notification-with-data",
  "type" : "history",
  "timestamp" : "2020-05-29T11:44:13.1882432-05:00",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:93be0c3d-1ba9-49bf-8a9b-9614604cda3c",
      "resource" : {
        "resourceType" : "Parameters",
        "id" : "93be0c3d-1ba9-49bf-8a9b-9614604cda3c",
        "parameter" : [
          {
            "name" : "subscription-url",
            "valueUri" : "https://example.org/fhir/r4/Subscription/task"
          },
          {
            "name" : "status",
            "valueCode" : "active"
          },
          {
            "name" : "type",
            "valueCode" : "event-notification"
          },
          {
            "name" : "subscription-event-count",
            "valueUnsignedInt" : 2
          },
          {
            "name" : "bundle-event-count",
            "valueUnsignedInt" : 1
          },
          {
            "name" : "subscription-topic-url",
            "valueUri" : "http://hl7.org/SubscriptionTopic/task"
          }
        ]
      },
      "request" : {
        "method" : "GET",
        "url" : "https://example.org/fhir/r4/Subscription/task/$status"
      },
      "response" : {
        "status" : "200"
      }
    },
    {
      "fullUrl" : "https://example.org/fhir/r4/Task/e3b9e31e-6252-40a5-9b7b-dfa6ca44f875",
      "resource" : {
        "resourceType" : "Task",
        "id" : "e3b9e31e-6252-40a5-9b7b-dfa6ca44f875",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_e3b9e31e-6252-40a5-9b7b-dfa6ca44f875\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task e3b9e31e-6252-40a5-9b7b-dfa6ca44f875</b></p><a name=\"e3b9e31e-6252-40a5-9b7b-dfa6ca44f875\"> </a><a name=\"hce3b9e31e-6252-40a5-9b7b-dfa6ca44f875\"> </a><a name=\"e3b9e31e-6252-40a5-9b7b-dfa6ca44f875-en-US\"> </a><p><b>basedOn</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/new-payer/CommunicationRequest/57\">??</a></p><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-request}\">data request task</span></p><p><b>for</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/new-payer/fhir/Patient/pat1\">??</a></p><p><b>authoredOn</b>: 2020-07-30 20:07:15-0600</p><p><b>requester</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/new-payer/fhir/Organization/hl7pay\">??</a></p><p><b>owner</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/provider/fhir/Organization/hl7prov\">??</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Support prior authorization decision-making</span></p><p><b>reasonReference</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/new-payer/fhir/Claim/123\">??</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-query}\">data query input</span></td><td>Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009</td></tr></table><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-value}\">data values output</span></td><td><a href=\"#hce3b9e31e-6252-40a5-9b7b-dfa6ca44f875/results\">Bundle: type = searchset; total = 1</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Bundle  #results</b></p><a name=\"e3b9e31e-6252-40a5-9b7b-dfa6ca44f875/results\"> </a><a name=\"hce3b9e31e-6252-40a5-9b7b-dfa6ca44f875/results\"> </a><a name=\"e3b9e31e-6252-40a5-9b7b-dfa6ca44f875/results-en-US\"> </a><p>Bundle results of type searchset</p><a name=\"http-//local.fhir.org-960/r4/Condition/example\"> </a><a name=\"Condition_example\"> </a><a name=\"hcCondition_example\"> </a><hr/><p>Entry 1 - fullUrl = http://local.fhir.org:960/r4/Condition/example</p><p>Search:Mode = match</p><p>Resource Condition:</p><blockquote>Severe burn of left ear (Date: 24-June 2012)</blockquote></blockquote></div>"
        },
        "contained" : [
          {
            "resourceType" : "Bundle",
            "id" : "results",
            "type" : "searchset",
            "total" : 1,
            "link" : [
              {
                "relation" : "self",
                "url" : "http://example.org/new-payer/fhir/Condition?patient=Patient/pat1&clinical-status=active&code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009"
              }
            ],
            "entry" : [
              {
                "fullUrl" : "http://local.fhir.org:960/r4/Condition/example",
                "resource" : {
                  "resourceType" : "Condition",
                  "id" : "example",
                  "meta" : {
                    "versionId" : "1",
                    "lastUpdated" : "2018-11-12T03:34:46.552Z"
                  },
                  "text" : {
                    "status" : "generated",
                    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Severe burn of left ear (Date: 24-June 2012)</div>"
                  },
                  "clinicalStatus" : {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
                        "code" : "active"
                      }
                    ]
                  },
                  "verificationStatus" : {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status",
                        "code" : "confirmed"
                      }
                    ]
                  },
                  "category" : [
                    {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
                          "code" : "encounter-diagnosis",
                          "display" : "Encounter Diagnosis"
                        },
                        {
                          "system" : "http://snomed.info/sct",
                          "code" : "359642000",
                          "display" : "Type 2 diabetes mellitus in nonobese"
                        }
                      ]
                    }
                  ],
                  "subject" : {
                    "reference" : "http://example.org/new-payer/fhir/Patient/pat1"
                  },
                  "onsetDateTime" : "2012-06-24"
                },
                "search" : {
                  "mode" : "match"
                }
              }
            ]
          }
        ],
        "basedOn" : [
          {
            "reference" : "http://example.org/new-payer/CommunicationRequest/57"
          }
        ],
        "status" : "completed",
        "intent" : "order",
        "code" : {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
              "code" : "data-request"
            }
          ]
        },
        "for" : {
          "reference" : "http://example.org/new-payer/fhir/Patient/pat1"
        },
        "authoredOn" : "2020-07-30T20:07:15-06:00",
        "requester" : {
          "reference" : "http://example.org/new-payer/fhir/Organization/hl7pay"
        },
        "owner" : {
          "reference" : "http://example.org/provider/fhir/Organization/hl7prov"
        },
        "reasonCode" : {
          "text" : "Support prior authorization decision-making"
        },
        "reasonReference" : {
          "reference" : "http://example.org/new-payer/fhir/Claim/123"
        },
        "input" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
                  "code" : "data-query"
                }
              ]
            },
            "valueString" : "Condition?patient=Patient/pat1&clinical-status=active&code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009"
          }
        ],
        "output" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
                  "code" : "data-value"
                }
              ]
            },
            "valueReference" : {
              "reference" : "#results"
            }
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Task"
      },
      "response" : {
        "status" : "200"
      }
    }
  ]
}