Da Vinci Clinical Data Exchange (CDex)
1.1.0 - STU1.1 US

This page is part of the Da Vinci Clinical Documentation Exchange (v1.1.0: STU1.1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Cdex Task Example 9 - XML Representation

Raw xml | Download



<Task xmlns="http://hl7.org/fhir">
  <id value="cdex-task-example9"/>
  <meta>
    <extension url="http://hl7.org/fhir/StructureDefinition/instance-name">
      <valueString value="Cdex Task Example 9"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/StructureDefinition/instance-description">
      <valueMarkdown
                     value="**Failed Coded Request for A1C Results:**  Task to seek a patient's HbA1c test results using the CDex Profile query input with a failed status. This example illustrates the use of FHIR resource references to the various actors."/>
    </extension>
    <profile
             value="http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request"/>
    <tag>
      <system value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
      <code value="quality-metrics"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Task</b></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 "cdex-task-example9" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-cdex-task-data-request.html">CDex Task Data Request Profile</a></p><p style="margin-bottom: 0px">Tag: <span title="{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp}">http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp</span></p></div><p><b>status</b>: failed</p><p><b>statusReason</b>: No matching results <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>intent</b>: order</p><p><b>code</b>: data request task <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/us/davinci-hrex/STU1/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-request)</span></p><p><b>for</b>: <a href="http://example.org/fhir/Patient/cdex-example-patient">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>authoredOn</b>: 2020-10-27 11:05:34-0700</p><p><b>lastModified</b>: 2020-10-27 06:23:27-0700</p><p><b>requester</b>: <a href="http://example.org/fhir/Organization/cdex-example-payer">http://example.org/fhir/Organization/cdex-example-payer</a></p><p><b>owner</b>: <a href="http://example.org/fhir/Organization/cdex-example-provider">http://example.org/fhir/Organization/cdex-example-provider</a></p><blockquote><p><b>input</b></p><p><b>type</b>: data query input <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/us/davinci-hrex/STU1/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-query)</span></p><p><b>value</b>: Observation?patient=cdex-example-patient&amp;date=gt2018-01-01&amp;code=4548-4</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: Purpose Of Use <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-cdex-temp.html">CDex Temporary Code System</a>#purpose-of-use)</span></p><p><b>value</b>: health quality improvement <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActReason.html">ActReason</a>#HQUALIMP)</span></p></blockquote></div>
  </text>
  <status value="failed"/>
  <statusReason>
    <text value="No matching results"/>
  </statusReason>
  <intent value="order"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
      <code value="data-request"/>
    </coding>
  </code>
  <for>
    <reference value="http://example.org/fhir/Patient/cdex-example-patient"/>
  </for>
  <authoredOn value="2020-10-27T11:05:34-07:00"/>
  <lastModified value="2020-10-27T18:23:27-07:00"/>
  <requester>
    <reference value="http://example.org/fhir/Organization/cdex-example-payer"/>
  </requester>
  <owner>
    <reference
               value="http://example.org/fhir/Organization/cdex-example-provider"/>
  </owner>
  <input>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
        <code value="data-query"/>
      </coding>
    </type>
    <valueString
                 value="Observation?patient=cdex-example-patient&amp;date=gt2018-01-01&amp;code=4548-4"/>
  </input>
  <input>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
        <code value="purpose-of-use"/>
      </coding>
    </type>
    <valueCodeableConcept>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
        <code value="HQUALIMP"/>
      </coding>
    </valueCodeableConcept>
  </input>
</Task>