<Task xmlns="http://hl7.org/fhir">
  <id value="example-task-ca-core" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/task-ca-core-e-rec" />
  </meta>
  <extension url="http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/task-patientNeedsToBeSeen">
    <valueBoolean value="true" />
  </extension>
  <identifier>
    <system value="http://example.ca/NamingSystem/Task" />
    <value value="TASK123456" />
  </identifier>
  <basedOn>
    <reference value="ServiceRequest/example-servicerequest-ca-core" />
  </basedOn>
  <status value="requested" />
  <businessStatus>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="385651009" />
      <display value="In progress (qualifier value)" />
    </coding>
  </businessStatus>
  <intent value="order" />
  <code>
    <coding>
      <system value="http://hl7.org/fhir/CodeSystem/task-code" />
      <code value="fulfill" />
      <display value="Fulfill the focal request" />
    </coding>
  </code>
  <description value="Schedule CT Chest procedure for patient" />
  <focus>
    <reference value="Patient/example-patient-ca-core" />
  </focus>
  <authoredOn value="2024-03-27T09:00:00-07:00" />
  <owner>
    <reference value="PractitionerRole/example-practitionerrole-ca-core-3" />
  </owner>
  <location>
    <reference value="Location/example-location-ca-core" />
  </location>
  <output>
    <type>
      <text value="Scheduled Procedure" />
    </type>
    <valueReference>
      <reference value="Procedure/example-procedure-ca-core" />
    </valueReference>
  </output>
</Task>