<?xml version="1.0" encoding="UTF-8"?>

<Task xmlns="http://hl7.org/fhir">
  <!--    This is an example to demonstrate using task for actioning a poll request for only undelivered ClaimResponses created during a
			specified period  -->
  <id value="fm-example2"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b> Generated Narrative with Details</b>
      </p>
    </div>
  </text>
  <identifier>
    <use value="official"/>
    <system value="http:/happyvalley.com/task"/>
    <value value="20181012-005"/>
  </identifier>
  <status value="requested"/>
  <intent value="order"/>
  <priority value="stat"/>
  <!--  real time request and response required  -->
  <!--    fictive code and description elements populated for this example     -->
  <code>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/financialtaskcode"/>
      <code value="poll"/>
    </coding>
  </code>
  <authoredOn value="2018-10-12T08:25:05+10:00"/>
  <lastModified value="2018-10-12T08:25:05+10:00"/>
  <requester>
    <reference value="Organization/example"/>
    <display value="Happy Valley Clinic"/>
  </requester>
  <owner>
    <identifier>
      <system value="http://nationalinsurers.com/identifiers"/>
      <value value="12345"/>
    </identifier>
  </owner>
  <input>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/financialtaskinputtype"/>
        <code value="include"/>
      </coding>
    </type>
    <valueCode value="ClaimResponse"/>
  </input>
  <input>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/financialtaskinputtype"/>
        <code value="period"/>
      </coding>
    </type>
    <valuePeriod>
      <start value="2018-10-01"/>
      <end value="2018-10-12"/>
    </valuePeriod>
  </input>
</Task>