Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Task/cpg-example-1 (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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">
  <!--    Example from https://hl7.org/fhir/uv/cpg/Task-request-dnci-scenario4.xml.html    -->
  <id value="cpg-example-1"/> 
  <!--   <instantiatesCanonical value="http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-colle
  ctinformation"/>   -->
  <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 &quot;cpg-example-1&quot; </p> </div> <p> <b> status</b> : <span title=" &lt;instantiatesCanonical value=&quot;http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-exampl
        e-collectinformation&quot;/&gt; ">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>  &quot;Peter CHALMERS&quot;</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=" &lt;valueCanonical value=&quot;http://hl7.org/fhir/uv/cpg/Questionnaire/activity-example-collectinf
            ormation&quot;/&gt; "><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> 
    <!--   
    <coding>
      <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type"/>
      <code value="collect-information"/>
      <display value="Collect information"/>
    </coding>
       -->
    <text value="Collect information"/> 
  </code> 
  <for> 
    <!--   <reference value="Patient/dnci-scenario4"/>   -->
    <reference value="Patient/example"/> 
  </for> 
  <input> 
    <type> 
      <!--   
      <coding>
        <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type"/>
        <code value="collect-information"/>
        <display value="Collect information"/>
      </coding>
         -->
      <text value="Collect information"/> 
    </type> 
    <!--   <valueCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/activity-example-collectinformatio
    n"/>   -->
    <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.