Da Vinci Clinical Data Exchange (CDex)
2.1.0-preview - CI Build United States of America flag

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-preview 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 3 - XML Representation

Page standards status: Informative

Raw xml | Download



<Task xmlns="http://hl7.org/fhir">
  <id value="cdex-task-example3"/>
  <meta>
    <extension url="http://hl7.org/fhir/StructureDefinition/instance-name">
      <valueString value="CDex Task Example 3"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/StructureDefinition/instance-description">
      <valueMarkdown
                     value="**Completed Query String Request for Condition with Contained Output:**   Completed Task to seek a patient active conditions using the CDex Profile query input and using a contained resource for the output data. This example illustrates the use of business identifiers (instead of pointing to a FHIR resource) to references the various actors."/>
    </extension>
    <versionId value="3"/>
    <lastUpdated value="2020-10-26T04:04:52.000+00:00"/>
    <source value="#tgH2FoPFuCq0yjw5"/>
    <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="claims-processing"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Task </b><a name="cdex-task-example3"> </a><a name="hccdex-task-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">ResourceTask &quot;cdex-task-example3&quot; Version&quot;3&quot; Updated&quot;2020-10-26 04:04:52+0000&quot; </p><p style="margin-bottom: 0px">Information Source: #tgH2FoPFuCq0yjw5!</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>: completed</p><p><b>businessStatus</b>: Results reviewed for release <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>intent</b>: order</p><p><b>code</b>: Data Request Query <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-cdex-temp.html">CDex Temporary Code System</a>#data-request-query)</span></p><p><b>for</b>: <span>Member Number/Member123</span></p><p><b>authoredOn</b>: 2020-10-26 02:58:55+0000</p><p><b>lastModified</b>: 2020-10-26 04:04:52+0000</p><p><b>requester</b>: <span><code>http://example.org/cdex/payer/payer-ids</code>/Payer123</span></p><p><b>owner</b>: <span><a href="http://terminology.hl7.org/5.3.0/NamingSystem-npi.html" title="National Provider Identifier">United States National Provider Identifier</a>/9941339108</span></p><p><b>reasonReference</b>: <span>Payer Claim ID/Claim123</span></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="https://build.fhir.org/ig/HL7/davinci-ehrx/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-query)</span></p><p><b>value</b>: Condition?patient=cdex-example-patient&amp;clinical-status=active</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>: coverage under policy or program <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-ActReason.html">ActReason</a>#COVERAGE)</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>data values output <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://build.fhir.org/ig/HL7/davinci-ehrx/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-value)</span></td><td><a name="hcresults"> </a><blockquote><p/><p><a name="results"> </a></p><p><a name="hcresults"> </a></p><p><b>type</b>: searchset</p><p><b>total</b>: 1</p><h3>Links</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Relation</b></td><td><b>Url</b></td></tr><tr><td style="display: none">*</td><td>self</td><td><a href="https://example.com/base/Condition?patient=cdex-example-patient&amp;clinical-status=active">https://example.com/base/Condition?patient=cdex-example-patient&amp;clinical-status=active</a></td></tr></table><blockquote><p><b>entry</b></p><p><b>fullUrl</b>: <a href="http://example.org/fhir/Condition/858">http://example.org/fhir/Condition/858</a></p><blockquote><p><b>resource</b></p><p><b>identifier</b>: <code>urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1</code>/1</p><p><b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>#active)</span></p><p><b>category</b>: Problem <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#55607006; <a href="http://terminology.hl7.org/5.5.0/CodeSystem-condition-category.html">Condition Category Codes</a>#problem-list-item &quot;Problem List Item&quot;)</span></p><p><b>code</b>: Type 2 Diabetes Mellitus <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#44054006)</span></p><p><b>subject</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/Patient/cdex-example-patient">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>onset</b>: 2006</p><p><b>asserter</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/PractitionerRole/126">http://example.org/fhir/PractitionerRole/126</a></p></blockquote><h3>Searches</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Mode</b></td></tr><tr><td style="display: none">*</td><td>match</td></tr></table></blockquote></blockquote></td></tr></table><hr/><blockquote/></div>
  </text>
  <contained>
    <Bundle>
      <id value="results"/>
      <type value="searchset"/>
      <total value="1"/>
      <link>
        <relation value="self"/>
        <url
             value="https://example.com/base/Condition?patient=cdex-example-patient&amp;clinical-status=active"/>
      </link>
      <entry>
        <fullUrl value="http://example.org/fhir/Condition/858"/>
        <resource>
          <Condition>
            <id value="858"/>
            <meta>
              <profile
                       value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1"/>
              <profile
                       value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|6.1.0"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Condition  #858</b><a name="858"> </a><a name="hc858"> </a></p><p><b>identifier</b>: <code>urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1</code>/1</p><p><b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>#active)</span></p><p><b>category</b>: Problem <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#55607006; <a href="http://terminology.hl7.org/5.5.0/CodeSystem-condition-category.html">Condition Category Codes</a>#problem-list-item &quot;Problem List Item&quot;)</span></p><p><b>code</b>: Type 2 Diabetes Mellitus <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#44054006)</span></p><p><b>subject</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/Patient/cdex-example-patient">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>onset</b>: 2006</p><p><b>asserter</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/PractitionerRole/126">http://example.org/fhir/PractitionerRole/126</a></p></div>
            </text>
            <identifier>
              <system value="urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1"/>
              <value value="1"/>
            </identifier>
            <clinicalStatus>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                <code value="active"/>
              </coding>
            </clinicalStatus>
            <category>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="55607006"/>
                <display value="Problem"/>
              </coding>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                <code value="problem-list-item"/>
                <display value="Problem List Item"/>
              </coding>
            </category>
            <code>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="44054006"/>
                <display value="Type 2 Diabetes Mellitus"/>
              </coding>
            </code>
            <subject>
              <reference
                         value="http://example.org/fhir/Patient/cdex-example-patient"/>
            </subject>
            <onsetDateTime value="2006"/>
            <asserter>
              <reference
                         value="http://example.org/fhir/PractitionerRole/126"/>
            </asserter>
          </Condition>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
    </Bundle>
  </contained>
  <status value="completed"/>
  <businessStatus>
    <text value="Results reviewed for release"/>
  </businessStatus>
  <intent value="order"/>
  <code>
    <coding>
      <system
              value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
      <code value="data-request-query"/>
    </coding>
  </code>
  <for>
    <identifier>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
          <code value="MB"/>
          <display value="Member Number"/>
        </coding>
        <text value="Member Number"/>
      </type>
      <system value="http://example.org/cdex/payer/member-ids"/>
      <value value="Member123"/>
    </identifier>
  </for>
  <authoredOn value="2020-10-26T02:58:55.179Z"/>
  <lastModified value="2020-10-26T04:04:52.019Z"/>
  <requester>
    <identifier>
      <system value="http://example.org/cdex/payer/payer-ids"/>
      <value value="Payer123"/>
    </identifier>
  </requester>
  <owner>
    <identifier>
      <system value="http://hl7.org/fhir/sid/us-npi"/>
      <value value="9941339108"/>
    </identifier>
  </owner>
  <reasonReference>
    <identifier>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
          <code value="FILL"/>
          <display value="Filler Identifier"/>
        </coding>
        <text value="Payer Claim ID"/>
      </type>
      <system value="http://example.org/cdex/payer/claim-ids"/>
      <value value="Claim123"/>
    </identifier>
  </reasonReference>
  <input>
    <type>
      <coding>
        <system
                value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
        <code value="data-query"/>
      </coding>
    </type>
    <valueString
                 value="Condition?patient=cdex-example-patient&amp;clinical-status=active"/>
  </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="COVERAGE"/>
      </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>