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

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="ExampleBundleTaskSearchResponse"/>
  <type value="searchset"/>
  <total value="1"/>
  <link>
    <relation value="self"/>
    <url
         value="https://example.org/fhir/Task?_id=ExampleFulfillmentTask&amp;patient=http://example.org/fhir/Patient/1&amp;_include=Task.focus"/>
  </link>
  <entry>
    <fullUrl value="https://example.org/fhir/Task/ExampleFulfillmentTask"/>
    <resource>
      <Task>
        <id value="ExampleFulfillmentTask"/>
        <text>
          <status value="generated"/>
          <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>
        </text>
        <status value="in-progress"/>
        <businessStatus>
          <text value="Attended orientation meeting"/>
        </businessStatus>
        <intent value="order"/>
        <priority value="routine"/>
        <focus>
          <reference value="ServiceRequest/ExampleServiceRequest"/>
          <display value="Referral"/>
        </focus>
        <for>
          <reference value="http://example.org/fhir/Patient/1"/>
          <display value="Example Patient"/>
        </for>
        <authoredOn value="2022-06-08"/>
        <requester>
          <reference value="http://example.org/fhir/Organization/1"/>
          <display value="Requesting Organization"/>
        </requester>
        <owner>
          <reference value="http://example.org/fhir/Organization/2"/>
          <display value="Performing Organization"/>
        </owner>
        <note>
          <authorReference>
            <reference value="http://example.org/fhir/PractitionerRole/2"/>
            <display value="Performing Provider"/>
          </authorReference>
          <time value="2022-06-17"/>
          <text
                value="Orientation went well.  Patient is looking forward to attending class."/>
        </note>
      </Task>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl
             value="https://example.org/fhir/ServiceRequest/ExampleServiceRequest"/>
    <resource>
      <ServiceRequest>
        <id value="ExampleServiceRequest"/>
        <text>
          <status value="extensions"/>
          <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>
        </text>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal">
          <valueReference>
            <reference value="Goal/ExampleGoal"/>
          </valueReference>
        </extension>
        <status value="active"/>
        <intent value="original-order"/>
        <category>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="409063005"/>
            <display value="Counseling"/>
          </coding>
        </category>
        <category>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes"/>
            <code value="PhysicalActivity"/>
          </coding>
        </category>
        <priority value="routine"/>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="390893007"/>
            <display
                     value="Referral to physical activity program (Procedure)"/>
          </coding>
        </code>
        <subject>
          <reference value="http://example.org/fhir/Patient/1"/>
          <display value="Example Patient"/>
        </subject>
        <occurrencePeriod>
          <start value="2022-06-08"/>
          <end value="2022-08-01"/>
        </occurrencePeriod>
        <authoredOn value="2022-06-08"/>
        <requester>
          <reference value="http://example.org/fhir/PractitionerRole/1"/>
          <display value="Ordering Clinician"/>
        </requester>
        <performer>
          <reference value="http://example.org/fhir/Organization/1"/>
        </performer>
        <reasonReference>
          <reference value="Condition/ExampleCondition"/>
        </reasonReference>
      </ServiceRequest>
    </resource>
    <search>
      <mode value="include"/>
    </search>
  </entry>
</Bundle>