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. For a full list of available versions, see the Directory of published versions

: Bundle (Search Set) - Task - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleTaskSearchResponse",
  "type" : "searchset",
  "total" : 1,
  "link" : [
    {
      "relation" : "self",
      "url" : "https://example.org/fhir/Task?_id=ExampleFulfillmentTask&patient=http://example.org/fhir/Patient/1&_include=Task.focus"
    }
  ],
  "entry" : [
    {
      "fullUrl" : "https://example.org/fhir/Task/ExampleFulfillmentTask",
      "resource" : {
        "resourceType" : "Task",
        "id" : "ExampleFulfillmentTask",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"ExampleFulfillmentTask\"> </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 Task &quot;ExampleFulfillmentTask&quot; </p></div><p><b>status</b>: in-progress</p><p><b>businessStatus</b>: Attended orientation meeting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>intent</b>: order</p><p><b>priority</b>: routine</p><p><b>focus</b>: <a href=\"#ServiceRequest_ExampleServiceRequest\">See above (ServiceRequest/ExampleServiceRequest: Referral)</a></p><p><b>for</b>: <a href=\"http://example.org/fhir/Patient/1\">http://example.org/fhir/Patient/1: Example Patient</a></p><p><b>authoredOn</b>: 2022-06-08</p><p><b>requester</b>: <a href=\"http://example.org/fhir/Organization/1\">http://example.org/fhir/Organization/1: Requesting Organization</a></p><p><b>owner</b>: <a href=\"http://example.org/fhir/Organization/2\">http://example.org/fhir/Organization/2: Performing Organization</a></p><p><b>note</b>: Orientation went well.  Patient is looking forward to attending class. (By http://example.org/fhir/PractitionerRole/2 @2022-06-17)</p></div>"
        },
        "status" : "in-progress",
        "businessStatus" : {
          "text" : "Attended orientation meeting"
        },
        "intent" : "order",
        "priority" : "routine",
        "focus" : {
          "reference" : "ServiceRequest/ExampleServiceRequest",
          "display" : "Referral"
        },
        "for" : {
          "reference" : "http://example.org/fhir/Patient/1",
          "display" : "Example Patient"
        },
        "authoredOn" : "2022-06-08",
        "requester" : {
          "reference" : "http://example.org/fhir/Organization/1",
          "display" : "Requesting Organization"
        },
        "owner" : {
          "reference" : "http://example.org/fhir/Organization/2",
          "display" : "Performing Organization"
        },
        "note" : [
          {
            "authorReference" : {
              "reference" : "http://example.org/fhir/PractitionerRole/2",
              "display" : "Performing Provider"
            },
            "time" : "2022-06-17",
            "text" : "Orientation went well.  Patient is looking forward to attending class."
          }
        ]
      },
      "search" : {
        "mode" : "match"
      }
    },
    {
      "fullUrl" : "https://example.org/fhir/ServiceRequest/ExampleServiceRequest",
      "resource" : {
        "resourceType" : "ServiceRequest",
        "id" : "ExampleServiceRequest",
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"ExampleServiceRequest\"> </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 ServiceRequest &quot;ExampleServiceRequest&quot; </p></div><p><b>pertains to goal</b>: <a href=\"Goal-ExampleGoal.html\">Goal/ExampleGoal</a></p><p><b>status</b>: active</p><p><b>intent</b>: original-order</p><p><b>category</b>: Counseling <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#409063005)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>priority</b>: routine</p><p><b>code</b>: Referral to physical activity program (Procedure) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#390893007)</span></p><p><b>subject</b>: <a href=\"http://example.org/fhir/Patient/1\">http://example.org/fhir/Patient/1: Example Patient</a></p><p><b>occurrence</b>: 2022-06-08 --&gt; 2022-08-01</p><p><b>authoredOn</b>: 2022-06-08</p><p><b>requester</b>: <a href=\"http://example.org/fhir/PractitionerRole/1\">http://example.org/fhir/PractitionerRole/1: Ordering Clinician</a></p><p><b>performer</b>: <a href=\"http://example.org/fhir/Organization/1\">http://example.org/fhir/Organization/1</a></p><p><b>reasonReference</b>: <a href=\"Condition-ExampleCondition.html\">Condition/ExampleCondition</a></p></div>"
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal",
            "valueReference" : {
              "reference" : "Goal/ExampleGoal"
            }
          }
        ],
        "status" : "active",
        "intent" : "original-order",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "409063005",
                "display" : "Counseling"
              }
            ]
          },
          {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
                "code" : "PhysicalActivity"
              }
            ]
          }
        ],
        "priority" : "routine",
        "code" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "390893007",
              "display" : "Referral to physical activity program (Procedure)"
            }
          ]
        },
        "subject" : {
          "reference" : "http://example.org/fhir/Patient/1",
          "display" : "Example Patient"
        },
        "occurrencePeriod" : {
          "start" : "2022-06-08",
          "end" : "2022-08-01"
        },
        "authoredOn" : "2022-06-08",
        "requester" : {
          "reference" : "http://example.org/fhir/PractitionerRole/1",
          "display" : "Ordering Clinician"
        },
        "performer" : [
          {
            "reference" : "http://example.org/fhir/Organization/1"
          }
        ],
        "reasonReference" : [
          {
            "reference" : "Condition/ExampleCondition"
          }
        ]
      },
      "search" : {
        "mode" : "include"
      }
    }
  ]
}