CDA Examples
1.0.0 - active United States of America flag

CDA Examples, published by Health Level Seven. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-Examples/ and changes regularly. See the Directory of published versions

Example: Results of CO2 Test

Approval Status: Approved
Task Force Approval: 2015-05-07
SDWG Approval: 2015-06-04, 2017-02-02

This example illustrates how to structure Laboratory Tests and Values/Results for the 170.314(b)(2) Transitions of care - I) Laboratory Tests and Values/Results.

This file includes examples of the following templates:


<section xmlns="urn:hl7-org:v3">
  <!--  Results Section with Coded Entries Required -->
  <templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
  <templateId root="2.16.840.1.113883.10.20.22.2.3.1" extension="2015-08-01"/>
  <code displayName="Relevant diagnostic tests and/or laboratory data"
        codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" code="30954-2"/>
  <title>Results CO2 Example</title>
  <text>
    <table>
      <thead>
        <tr>
          <th>Result</th>
          <th>Value</th>
          <th>Units</th>
          <th>Range</th>
          <th>Date</th>
          <th>Interpretation</th>
        </tr>
      </thead>
      <tbody>
        <tr ID="ResultComp1">
          <td ID="ResultComp1Name">CO2</td>
          <td>27</td>
          <td>mmol/L</td>
          <td>23-29 mmol/L</td>
          <td>8/15/2012</td>
          <td>Normal</td>
        </tr>
      </tbody>
    </table>
  </text>
  <entry typeCode="DRIV">
    <organizer moodCode="EVN" classCode="BATTERY">
      <templateId root="2.16.840.1.113883.10.20.22.4.1"/>
      <templateId root="2.16.840.1.113883.10.20.22.4.1"
                  extension="2015-08-01"/>
      <templateId root="2.16.840.1.113883.10.20.22.4.1"
                  extension="2023-05-01"/>
      <id root="8DFF4B72-E8FE-11E4-B48A-460231621F93"/>
      <!--  This code specifies panel type - single result so just used result code -->
      <code displayName="Carbon dioxide" codeSystemName="LOINC"
            codeSystem="2.16.840.1.113883.6.1" code="2028-9"/>
      <statusCode code="completed"/>
      <!--  Typically more than one component would be present - only one present in test data  -->
      <component>
        <observation moodCode="EVN" classCode="OBS">
          <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
          <templateId root="2.16.840.1.113883.10.20.22.4.2"
                      extension="2015-08-01"/>
          <templateId root="2.16.840.1.113883.10.20.22.4.2"
                      extension="2023-05-01"/>
          <id root="503B5578-E8FF-11E4-B48A-460231621F93"/>
          <code xsi:type="CD" displayName="Carbon dioxide"
                codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" code="2028-9">
            <originalText>
              <reference value="#ResultComp1Name"/>
            </originalText>
          </code>
          <text xsi:type="ED">
            <reference value="#ResultComp1"/>
          </text>
          <statusCode code="completed"/>
          <!--  Time is not present in lab result although very uncommon - added time -->
          <effectiveTime value="20120815100500-0800"/>
          <value xsi:type="PQ" value="27" unit="mmol/L"/>
          <interpretationCode displayName="Normal"
                              codeSystem="2.16.840.1.113883.5.83" code="N"/>
          <referenceRange>
            <observationRange>
              <!--  Alternatively a text/reference@value similar to the one in Observation/text could be used
                   The Example Task Force kept text here due to it being a subclass and its prevelance
                   in active US implementation -->
              <text>23-29 mmol/L</text>
              <value xsi:type="IVL_PQ">
                <low value="23" unit="mmol/L"/>
                <high value="29" unit="mmol/L"/>
              </value>
              <!--  This interpretation code denotes that this reference range is for normal results. This is not the interpretation a specific patient value -->
              <interpretationCode displayName="Normal"
                                  codeSystem="2.16.840.1.113883.5.83" code="N"/>
            </observationRange>
          </referenceRange>
        </observation>
      </component>
    </organizer>
  </entry>
</section>