Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR 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

: Bundle 'Subscription Notification' - GetFit Task - Scenario 2 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "Scen2SubscriptionNotificationNewTaskBundle",
  "type" : "history",
  "entry" : [
    {
      "fullUrl" : "http://example.org/fhir/Parameters/Scen2Parameters",
      "resource" : {
        "resourceType" : "Parameters",
        "id" : "Scen2Parameters",
        "parameter" : [
          {
            "name" : "subscription",
            "valueReference" : {
              "reference" : "Subscription/Scen2SubscriptionGetFit"
            }
          },
          {
            "name" : "topic",
            "valueCanonical" : "http://hl7.org/fhir/us/sdoh-clinicalcare/SubscriptionTopic/Task"
          },
          {
            "name" : "status",
            "valueCode" : "active"
          },
          {
            "name" : "type",
            "valueCode" : "event-notification"
          },
          {
            "name" : "notification-event",
            "part" : [
              {
                "name" : "event-number",
                "valueString" : "208"
              },
              {
                "name" : "focus",
                "valueReference" : {
                  "reference" : "Task/Scen2TaskGetFitV1"
                }
              }
            ]
          }
        ]
      },
      "request" : {
        "method" : "GET",
        "url" : "https://GetFit.example.org/fhir/Subscription/Scen2SubscriptionGetFit/$status"
      },
      "response" : {
        "status" : "200"
      }
    }
  ]
}