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

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></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-example3" Version "3" Updated "2020-10-26 04:04:52+0000" </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 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>: <span></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></span></p><p><b>owner</b>: <span></span></p><p><b>reasonReference</b>: <span></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="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>: 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/3.1.0/CodeSystem-v3-ActReason.html">ActReason</a>#COVERAGE)</span></p></blockquote><h3>Outputs</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>data values output <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-value)</span></td><td><a name="results"> </a><blockquote><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 Bundle "results" </p></div><p><b>type</b>: searchset</p><p><b>total</b>: 1</p><h3>Links</h3><table class="grid"><tr><td>-</td><td><b>Relation</b></td><td><b>Url</b></td></tr><tr><td>*</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><h3>Searches</h3><table class="grid"><tr><td>-</td><td><b>Mode</b></td></tr><tr><td>*</td><td>match</td></tr></table></blockquote></blockquote></td></tr></table></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"/>
            <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://loinc.org"/>
                <code value="75326-9"/>
                <display value="Problem"/>
              </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-hrex/CodeSystem/hrex-temp"/>
      <code value="data-request"/>
    </coding>
  </code>
  <for>
    <identifier>
      <type>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
          <code value="UMB"/>
          <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>