Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example Task/fm-example2 (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Example of polling for queued resources (id = "fm-example2")

<?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> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.