Example Task/cpg-example-1 (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Example of a task to not administer a particular questionnaire, because it is part of typical care and patient circumstances indicate it should not be given (id = "cpg-example-1")
<?xml version="1.0" encoding="UTF-8"?>
<Task xmlns="http://hl7.org/fhir">
<id value="cpg-example-1"/>
<text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Task</b> <a name="cpg-example-1"> </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 "cpg-example-1" </p> </div> <p> <b> status</b> : <span title=" <instantiatesCanonical value="http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity
-example-collectinformation"/> ">ready</span> </p> <p> <b> intent</b> : order</p> <p> <b> doNotPerform</b> : true</p> <p> <b> code</b> : Collect information <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> for</b> : <a href="patient-example.html">Patient/example</a> "Peter CHALMERS"</p> <h3> Inputs</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</b> </td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> Collect information <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> <td> <span title=" <valueCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/activity-example-col
lectinformation"/> "><a href="http://hl7.org/fhir/Questionnaire/f201">http://hl7.org/fhir/Questionnaire/f201</a> </span> </td> </tr> </table> </div> </text> <status value="ready"/>
<intent value="order"/>
<doNotPerform value="true"/>
<code>
<text value="Collect information"/>
</code>
<for>
<reference value="Patient/example"/>
</for>
<input>
<type>
<text value="Collect information"/>
</type>
<valueCanonical value="http://hl7.org/fhir/Questionnaire/f201"/>
</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.