Outpatient Encounter Patient Disenrolled

back to homepage

Approval Status

  • Approval Status: Approved
  • Example Task Force: 11/17/2016
  • SDWG: 2/2/2016

C-CDA 2.1 Example:

  • 2.16.840.1.113883.
  • 2.16.840.1.113883.
  • 2.16.840.1.113883.
  • 2.16.840.1.113883.

Reference to full CDA sample:

  • Encounter in empty CCD

Validation location


  • This is an example of an outpatient visit discharge disposition. In order to support a local Discharge Disposition code the dischargeDisposition contains the "OTH" nullFlavor.


  • Lisa Nelson (GitHub: lisarnelson)


  • Outpatient discharge disposition, local code, nullFlavor




Example: download example view on GitHub

<!-- ************************ ENCOUNTERS *********************** -->
        <!-- *** Encounters section (entries required) (V3) *** -->
        <templateId root="2.16.840.1.113883." extension="2015-08-01"/>
        <templateId root="2.16.840.1.113883."/>
        <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
            <table border="1" width="100%">
                        <th>Discharge Disposition</th>
                    <tr ID="Encounter1">
                        <td ID="Encounter1_Type"> Checkup Examination </td>
                        <td>Performer Name</td>
                        <td>Community Urgent Care 1007 Health Drive, Portland OR</td>
                        <td>September 27, 2012 at 1:00pm</td>
                        <td ID="Encounter1_DischargeDispositionCode">Disenrolled</td>
                        <td ID="Encounter1_DischargedToLoc">N/A</td>
        <entry typeCode="DRIV">
            <encounter classCode="ENC" moodCode="EVN">
                <!-- ** Encounter Activity (V3) ** -->
                <templateId root="2.16.840.1.113883." extension="2015-08-01"/>
                <templateId root="2.16.840.1.113883."/>
                <id root="2a620155-9d11-439e-92b3-5d9815ff4de8"/>
                <code code="99213" displayName="Office or other outpatient visit for the evaluation and management of an established patient, which requires a medically appropriate history and/or examination and low level of medical decision making. When using time for code selection, 20-29 minutes of total time is spent on the date of the encounter." codeSystemName="CPT-4" codeSystem="2.16.840.1.113883.6.12">
                        <reference value="#Encounter1_Type"/>
                    <!-- MAY MAY contain zero or one [0..1] translation (CONF:1198-32323)
									The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883. valueset to the code of Encounter Planned (2.16.840.1.113883. valueset.
								<translation code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory" codeSystemName="HL7 ActEncounterCode"/>
                    <reference value="#Encounter1"/>
                <effectiveTime value="201209271300-0500"/>
                <!--  This shows use of the discharge disposition extension AND shows using both the suggested encoding from C-CDA R2.1 and some local Good Health Hospital codes. -->
                <sdtc:dischargeDispositionCode nullFlavor="OTH">
                        <reference value="#Encounter1_DischargeDispositionCode" />
                    <!-- Good Health Hospital (local OID) to represent their local code system. -->
                    <translation code="DE" codeSystem="2.16.840.1.113883.19.5" codeSystemName="Community Urgent Care Local Discharge Code" displayName="Disenrolled"/>
                        <!-- Provider NPI "333444555" -->
                        <id extension="333444555" root="2.16.840.1.113883.4.6"/>
                        <code code="59058001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="General physician"/>
                <participant typeCode="LOC">
                    <participantRole classCode="SDLOC">
                        <templateId root="2.16.840.1.113883."/>
                        <!-- Service Delivery Location template -->
                        <code code="1160-1" codeSystem="2.16.840.1.113883.6.259" codeSystemName="HL7 HealthcareServiceLocation" displayName="Urgent Care Center"/>
                            <streetAddressLine>1007 Health Drive</streetAddressLine>
                        <telecom use="WP" value="tel: +1(555)555-1030"/>
                        <playingEntity classCode="PLC">
                            <name>Community Urgent Care</name>
		<entryRelationship typeCode="RSON">
                    <!-- ** Indivcation (V2) ** -->
                    <observation classCode="OBS" moodCode="EVN">
                        <templateId root="2.16.840.1.113883." extension="2014-06-09"/>
                        <templateId root="2.16.840.1.113883."/>
                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
                        <!-- code is required; MAY be selected from ValueSet Problem Type (LOINC) urn:oid:2.16.840.1.113883. STATIC 2014-09-02 (CONF:1098-31229) -->
                        <code code="404684003" displayName="Clinical finding" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
                            <!--  of course this MAY be present 
										<translation code="75321-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Clinical finding"/>-->
                        <statusCode code="completed"/>
                            <low value="201209251130-0500"/>
                        <value xsi:type="CD" code="233604007" displayName="Pneumonia" codeSystem="2.16.840.1.113883.6.96"/>
  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.