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: Patient Deceased

Approval Status: Approved
Task Force Approval: 2018-04-19
SDWG Approval: 2019-06-27

This is an example of how to use sdtc extension of deceasedInd. See this site for more on CDA extensions: http://wiki.hl7.org/index.php?title=CDA_R2_Extensions

This file includes examples of the following templates:


<recordTarget xmlns="urn:hl7-org:v3">
  <patientRole>
    <!--  The @root OID below (which is fictional) would be specific to an institution's record identifier system.  -->
    <id root="2.16.840.1.113883.3.6132" extension="345678912-0154"/>
    <!--  HP is "primary home" from valueSet 2.16.840.1.113883.1.11.10637  -->
    <addr use="HP">
      <streetAddressLine>1437 Jennyhill Ln.</streetAddressLine>
      <city>Hollywood</city>
      <postalCode>90068</postalCode>
      <state>CA</state>
      <country>US</country>
    </addr>
    <!--  While this may be included, you may choose to exclude contact information on deceased patients  -->
    <telecom nullFlavor="NA"/>
    <patient>
      <!--  At a 2020 C-CDA Implement-a-thon, it was discussed that some EHR implementations may be changing names when patient is expired/deceased  -->
      <!--  Changing a name based on death is NOT a recommended practice. Instead update the sdtc:deceasedInd and sdtc:deceasedTime fields  -->
      <name use="L">
        <given>Adam</given>
        <family>Rumpelstiltskin</family>
      </name>
      <!--  Sex at birth and gender identity may be specified in social history  -->
      <administrativeGenderCode displayName="Male"
                                codeSystemName="AdministrativeGender" codeSystem="2.16.840.1.113883.5.1" code="M"/>
      <birthTime value="19521022"/>
      <!--  A full CDA example may include the Deceased Observation to indicate cause of death  -->
      <!--  A Deceased Observation may be present in any section; Problem List is a suitable location  -->
      <!--  Stylesheets are strongly recommended to include human viewable rendering of the deceased indication and time when present  -->
      <!--  Systems may send deceased indication, time, or both. Sending only time is not recommeded.  -->
      <sdtc:sdtcDeceasedInd xmlns:sdtc="urn:hl7-org:sdtc" value="true"/>
      <sdtc:sdtcDeceasedTime xmlns:sdtc="urn:hl7-org:sdtc" value="20180315"/>
      <maritalStatusCode displayName="Married"
                         codeSystemName="MaritalStatus" codeSystem="2.16.840.1.113883.5.2" code="M"/>
      <religiousAffiliationCode
                                displayName="Christian (non-Catholic, non-specific)" codeSystemName="HL7 Religious Affiliation"
                                codeSystem="2.16.840.1.113883.5.1076" code="1013"/>
      <!--  CDC Race and Ethnicity code set contains the five minimum race and ethnicity categories defined by OMB Standards  -->
      <raceCode displayName="White"
                codeSystemName="OMB Standards for Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238" code="2106-3"/>
      <ethnicGroupCode displayName="Not Hispanic or Latino"
                       codeSystemName="OMB Standards for Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238" code="2186-5"/>
      <languageCommunication>
        <languageCode code="en-US"/>
        <!--  "eng" is ISO 639-2 alpha-3 code for "English"  -->
        <modeCode displayName="Expressed spoken"
                  codeSystemName="LanguageAbilityMode" codeSystem="2.16.840.1.113883.5.60" code="ESP"/>
        <proficiencyLevelCode displayName="Excellent"
                              codeSystemName="LanguageAbilityProficiency" codeSystem="2.16.840.1.113883.5.61" code="E"/>
        <preferenceInd value="true"/>
      </languageCommunication>
    </patient>
  </patientRole>
</recordTarget>