Masked Social Security Number

back to homepage

Approval Status

  • Approval Status: Approved
  • Example Task Force: 9/5/2019
  • SDWG: 10/10/2019

C-CDA 2.1 Example:

  • US Realm Header: 2.16.840.1.113883.10.20.22.1.1:2015-08-01

Reference to full CDA sample:

  • Empty CCD

Validation location

Comments

  • This is an example of how to represent a social security number (SSN) that has been masked to show only the last four digits.

Certification

  • ONC

Custodian

  • Lisa R Nelson lnelson@maxmd.com (GitHub: lisarnelson/C-CDA-Examples

Keywords

  • social security number, SSN

Permalink

    *

 

Example: download example view on GitHub

<?xml version="1.0" encoding="UTF-8"?>
<recordTarget>
    <patientRole>
        <!-- Example Social Security Number using the root for the Social Security Administion assigningAuthority. -->
        <id assigningAuthorityName="US Social Security Administration" 
            root="2.16.840.1.113883.4.1" extension="414122222"/>
        <!-- SSN provided, but masked to include only the last 4 characters. -->
        <!-- Note: both examples are shows for comparison. It would not make sense to use both of these options in a real C-CDA Document. -->
        <!-- When recording SSN in the extension dashes (-) are permitted but not required" -->
        <!-- Receiving systems may decide whether to store the last 4 or discard -->
        <!-- an id with a nullFlavor of "MSK" SHALL NOT be used for matching or indexing -->
        <id assigningAuthorityName="US Social Security Administration"         
            root="2.16.840.1.113883.4.1" extension="***-**-2222" nullFlavor="MSK"/>
        <addr use="HP">
            <!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
            <streetAddressLine>1357 Amber Dr</streetAddressLine>
            <city>Beaverton</city>
            <state>OR</state>
            <postalCode>97006</postalCode>
            <country>US</country>
            <!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
        </addr>
        <telecom value="tel:+1(555)-777-1234" use="MC"/>
        <telecom value="tel:+1(555)-723-1544" use="HP"/>
        <!-- HP is "primary home" from HL7 AddressUse 2.16.840.1.113883.5.1119 -->
        <patient>
            <name use="L">
                <given>Richard</given>
                <family>Maur</family>
                <suffix>jr</suffix>
            </name>
            <administrativeGenderCode code="M" displayName="Male" codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender"/>
            <!-- Date of birth need only be precise to the day -->
            <birthTime value="19800801"/>
            <maritalStatusCode nullFlavor="NI"/>
            <religiousAffiliationCode code="1013" displayName="Christian (non-Catholic, non-specific)" codeSystem="2.16.840.1.113883.5.1076" codeSystemName="HL7 Religious Affiliation"/>
            <raceCode nullFlavor="UNK"/>
            <sdtc:raceCode nullFlavor="UNK"/>
            <ethnicGroupCode nullFlavor="UNK"/>
            <languageCommunication>
                <languageCode code="en"/>
                <modeCode code="ESP" displayName="Expressed spoken"
                    codeSystem="2.16.840.1.113883.5.60" codeSystemName="LanguageAbilityMode"/>
                <preferenceInd value="true"/>
            </languageCommunication>
        </patient>
        <providerOrganization>
            <id extension="99999999" root="2.16.840.1.113883.4.6"/>
            <name>Community Health and Hospitals</name>
            <telecom use="WP" value="tel:+1(555)-555-5000"/>
            <addr>
                <streetAddressLine>1002 Healthcare Dr</streetAddressLine>
                <city>Portland</city>
                <state>OR</state>
                <postalCode>97266</postalCode>
                <country>US</country>
            </addr>
        </providerOrganization>
    </patientRole>
</recordTarget>
  1. C-CDA Example Search Help

    C-CDA Example Search Results
    This screen displays the results of executing the example search criteria against the existing examples recorded in the example database.

  2. Search Criteria Panel

    This panel allow you to further refine your queries and narrow the results

  3. Text Search Words

    Use this field to enter words related to your search. These words can appear in the title, the comments or as part of a special list of keywords associated with the example. The search words should be entered with spaces separating the items.

  4. Filter by example status

    By selecting the various statuses, the search results can be limited to only the example that are set to the selected status(es). By removing all status selections, the filtering is removed and examples from all statuses will be returned (based on any other filtering).

  5. Select only ONC Certified examples

    These are samples referenced in a government rule or certification companion guide.

  6. Execute the search based on the criteria entered (or retrieve all examples if no criteria specified).

  7. The number of results that match the query parameters can be found here.

  8. Use this link to jump back to the initial page of the application (that lists the sections).

  9. This columns list the names of the examples that match the criteria (and the comment for each example).

  10. This columns lists the area in the C-CDA specification (the specification is broken into distinct topics for the various exchangeable documents, the common header, and the sections that occur within the exchangeable documents) that the example demonstrates.

  11. This columns lists the state of the example in the example verification and approval process.

  12. You can select to download the examples directly or navigate to page with the full detailed description of the example.

  13. Tour Complete

    Return to the C-CDA Example Search Results page.