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

<Task xmlns="http://hl7.org/fhir">
  <!--    This is an example to demonstrate using task for actioning a claim status check  -->
  <id value="fm-example6"/>
  <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-001"/>
  </identifier>
  <identifier>
    <use value="official"/>
    <system value="http://nationalinsurers.com/identifiers/12345"/>
    <value value="123GB5674"/>
  </identifier>
  <status value="completed"/>
  <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="status"/>
    </coding>
  </code>
  <focus/>
  <authoredOn value="2018-10-04T08:25:05+10:00"/>
  <lastModified value="2018-10-04T08: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>
  <output>
    <type>
      <!--  the processing status of the referenced resource  -->
      <coding>
        <system value="http://hl7.org/financial-taskoutputtype"/>
        <code value="status"/>
      </coding>
    </type>
    <valueCode value="complete"/>
  </output>
</Task>