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: No Known Medication Allergies

Approval Status: Approved
Task Force Approval: 2014-10-23
SDWG Approval: 2014-11-06, 2016-12-01

This is an example of how an author can record a patient has no known medication allergies.

This file includes examples of the following templates:


<section xmlns="urn:hl7-org:v3">
  <templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
  <templateId root="2.16.840.1.113883.10.20.22.2.6.1" extension="2015-08-01"/>
  <!--  Allergies (entries required) section template  -->
  <code codeSystem="2.16.840.1.113883.6.1" code="48765-2"/>
  <title>Allergies, Adverse Reactions and Alerts</title>
  <text>No Known Drug Allergies</text>
  <entry typeCode="DRIV">
    <!--  Allergy Concern Act  -->
    <act moodCode="EVN" classCode="ACT">
      <templateId root="2.16.840.1.113883.10.20.22.4.30"/>
      <templateId root="2.16.840.1.113883.10.20.22.4.30"
                  extension="2015-08-01"/>
      <id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
      <!--  SDWG supports 48765-2 or CONC in the code element  -->
      <code codeSystem="2.16.840.1.113883.5.6" code="CONC"/>
      <text>
        <reference value="#allergiesNoKnown"/>
      </text>
      <statusCode code="active"/>
      <!-- currently tracked concerns are active concerns -->
      <!-- show time when the concern first began being tracked -->
      <effectiveTime>
        <low value="20140104"/>
      </effectiveTime>
      <author>
        <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
        <time value="20140104"/>
        <assignedAuthor>
          <id root="2.16.840.1.113883.4.6" extension="99999999"/>
          <code displayName="Family Medicine Physician"
                codeSystemName="Health Care Provider Taxonomy" codeSystem="2.16.840.1.113883.6.101" code="207Q00000X"/>
          <addr nullFlavor="UNK"/>
          <telecom value="tel:555-555-1002" use="WP"/>
          <assignedPerson>
            <name>
              <given>Henry</given>
              <family>Seven</family>
            </name>
          </assignedPerson>
        </assignedAuthor>
      </author>
      <!--  In C-CDA R2.1 the participant is required.  -->
      <entryRelationship typeCode="SUBJ">
        <!--  No Known Drug Allergies  -->
        <!--  The negationInd = true negates the observation/value  -->
        <!--  The use of negationInd corresponds with the newer Observation.valueNegationInd  -->
        <observation negationInd="true" moodCode="EVN" classCode="OBS">
          <!--  allergy - intolerance observation template  -->
          <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
          <templateId root="2.16.840.1.113883.10.20.22.4.7"
                      extension="2014-06-09"/>
          <!--  Substance or Device Allergy Intolerance Observation Template  -->
          <templateId root="2.16.840.1.113883.10.20.24.3.90"
                      extension="2014-06-09"/>
          <id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
          <code xsi:type="CD" codeSystem="2.16.840.1.113883.5.4"
                code="ASSERTION"/>
          <text xsi:type="ED">
            <reference value="#allergiesNoKnown"/>
          </text>
          <statusCode code="completed"/>
          <!--  N/A - author/time records when this assertion was made  -->
          <effectiveTime>
            <low nullFlavor="NA"/>
          </effectiveTime>
          <value xsi:type="CD" displayName="Allergy to drug (finding)"
                 codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96" code="416098002"/>
          <author>
            <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
            <time value="20100103"/>
            <assignedAuthor>
              <id root="2.16.840.1.113883.4.6" extension="99999999"/>
              <code displayName="Family Medicine Physician"
                    codeSystemName="Health Care Provider Taxonomy" codeSystem="2.16.840.1.113883.6.101" code="207Q00000X"/>
              <addr nullFlavor="UNK"/>
              <telecom value="tel:555-555-1002" use="WP"/>
              <assignedPerson>
                <name>
                  <given>Henry</given>
                  <family>Seven</family>
                </name>
              </assignedPerson>
            </assignedAuthor>
          </author>
          <!--  In C-CDA R2.1 the participant is required.  -->
          <participant typeCode="CSM">
            <participantRole classCode="MANU">
              <playingEntity classCode="MMAT">
                <code nullFlavor="NA"/>
              </playingEntity>
            </participantRole>
          </participant>
        </observation>
      </entryRelationship>
    </act>
  </entry>
</section>