This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example Task/example3 (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Example of simple prescription task (id = "example3")
<?xml version="1.0" encoding="UTF-8"?>
<Task xmlns="http://hl7.org/fhir">
<id value="example3"/>
<text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Task</b> <a name="example3"> </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 "example3" </p> </div> <p> <b> status</b> : draft</p> <p> <b> intent</b> : order</p> <p> <b> code</b> : Refill Request <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> focus</b> : <a href="medicationrequestexample2.html">MedicationRequest/medrx002</a> </p> <p> <b> for</b> : <a href="patient-example-f001-pieter.html">Patient/f001</a> "Pieter VAN DE HEUVEL"</p> <p> <b> authoredOn</b> : 2016-03-10T22:39:32-04:00</p> <p> <b> lastModified</b> : 2016-03-10T22:39:32-04:00</p> <p> <b> requester</b> : <a href="patient-example.html">Patient/example</a> "Peter CHALMERS"</p> <p> <b> owner</b> : <a href="practitioner-example.html">Practitioner/example</a> "Adam CAREFUL"</p> </div> </text> <status value="draft"/>
<intent value="order"/>
<code>
<text value="Refill Request"/>
</code>
<focus>
<reference value="MedicationRequest/medrx002"/>
</focus>
<for>
<reference value="Patient/f001"/>
</for>
<authoredOn value="2016-03-10T22:39:32-04:00"/>
<lastModified value="2016-03-10T22:39:32-04:00"/>
<requester>
<reference value="Patient/example"/>
</requester>
<owner>
<reference value="Practitioner/example"/>
</owner>
</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.