Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

Da Vinci Clinical Data Exchange (CDex), published by HL7 International / Payer/Provider Information Exchange Work Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ecdx/ and changes regularly. See the Directory of published versions

## : CDex Task Example 8 - XML Representation

Page standards status: Informative

Raw xml | Download

    <Task xmlns="http://hl7.org/fhir">
      <id value="cdex-task-example8"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Task cdex-task-example8</b></p><a name="cdex-task-example8"> </a><a name="hccdex-task-example8"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title="Codes:{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp data-request-code}">Data Request Code</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 11:05:34-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>: <span title="Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-code}">data code input</span></p><p><b>value</b>: <span title="Codes:{http://loinc.org 11504-8}">Operative note</span></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title="Codes:{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp purpose-of-use}">Purpose Of Use</span></p><p><b>value</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason COC}">coordination of care</span></p></blockquote><h3>Outputs</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-value}">data values output</span></td><td><a href="#hccdex-task-example8/results">Bundle: type = searchset; total = 1</a></td></tr></table><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Bundle #results</b></p><a name="cdex-task-example8/results"> </a><a name="hccdex-task-example8/results"> </a><p>Bundle results of type searchset</p><a name="https-//example.org/fhir/cdex-documentreference-example1"> </a><a name="DocumentReference_cdex-documentreference-example1"> </a><a name="hcDocumentReference_cdex-documentreference-example1"> </a><hr/><p>Entry 1 - fullUrl = https://example.org/fhir/cdex-documentreference-example1</p><p>Search:Mode = match</p><p>Resource DocumentReference:</p><blockquote><p class="res-header-id"><b>Generated Narrative: DocumentReference #cdex-documentreference-example1</b></p><a name="cdex-task-example8/results/cdex-documentreference-example1"> </a><a name="hccdex-task-example8/results/cdex-documentreference-example1"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title="Codes:{http://loinc.org 11504-8}">Surgical Note</span></p><p><b>category</b>: <span title="Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}">Clinical Note 1</span></p><p><b>subject</b>: <a href="http://example.org/fhir/Patient/cdex-example-patient">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>date</b>: 2022-07-13 10:30:00-0500</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ContentType</b></td><td><b>Data</b></td><td><b>Hash</b></td><td><b>Title</b></td></tr><tr><td style="display: none">*</td><td>text/xml</td><td>(base64 data - 16,172 base64 chars)</td><td><code>Am1WgpeDLm4IPpZUkEGnKqODuyM=</code></td><td>Example CCDA</td></tr></table></blockquote></blockquote></blockquote></div>
      </text>
      <contained>
        <Bundle>
          <id value="results"/>
          <type value="searchset"/>
          <total value="1"/>
          <link>
            <relation value="self"/>
            <url
                 value="https://example.org/fhir/DocumentReference?_id=cdex-documentreference-example1"/>
          </link>
          <entry>
            <fullUrl
                     value="https://example.org/fhir/cdex-documentreference-example1"/>
            <resource>
              <DocumentReference>
                <id value="cdex-documentreference-example1"/>
                <status value="current"/>
                <type>
                  <coding>
                    <system value="http://loinc.org"/>
                    <code value="11504-8"/>
                    <display value="Operative note"/>
                  </coding>
                  <text value="Surgical Note"/>
                </type>
                <category>
                  <coding>
                    <system
                            value="http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"/>
                    <code value="clinical-note"/>
                    <display value="Clinical Note"/>
                  </coding>
                  <text value="Clinical Note 1"/>
                </category>
                <subject>
                  <reference
                             value="http://example.org/fhir/Patient/cdex-example-patient"/>
                </subject>
                <date value="2022-07-13T10:30:00-05:00"/>
                <content>
                  <attachment>
                    <contentType value="text/xml"/>
                    <data
                          value=" "/>
                    <hash value="Am1WgpeDLm4IPpZUkEGnKqODuyM="/>
                    <title value="Example CCDA"/>
                  </attachment>
                </content>
              </DocumentReference>
            </resource>
            <search>
              <mode value="match"/>
            </search>
          </entry>
        </Bundle>
      </contained>
      <status value="completed"/>
      <intent value="order"/>
      <code>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
          <code value="data-request-code"/>
        </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-27T11:05:34-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-code"/>
          </coding>
        </type>
        <valueCodeableConcept>
          <coding>
            <system value="http://loinc.org"/>
            <code value="11504-8"/>
          </coding>
          <text value="Operative note"/>
        </valueCodeableConcept>
      </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="COC"/>
          </coding>
        </valueCodeableConcept>
      </input>
      <output>
        <type>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
            <code value="data-value"/>
          </coding>
        </type>
        <valueReference>
          <reference value="#results"/>
        </valueReference>
      </output>
    </Task>