CDA with Embedded Text plain

back to homepage

Approval Status

  • Approval Status: Approved
  • Example Task Force: 10/8/2020
  • SDWG: 12/17/2020

C-CDA 2.1 Example:

  • Unstructured Document (V3) 2.16.840.1.113883.10.20.22.1.10:2015-08-01 (open)

Reference to full CDA sample:

  • This is a full CDA example

Validation location

Comments

  • This example shows a CDA document that conforms to the C-CDA Unstructured Document specification using an embedded text plain document (base 64 encoded). When decoded it will show a surgical consult note. Note that the HL7 standard stylesheet will show this natively

Custodian

  • John D'Amore (github: jddamore)

Keywords

  • C-CDA Unstructured Document, Embedded Text Document

Permalink

  • TBD

 

Example: download example view on GitHub

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='CDA.xsl'?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xmlns:cda="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc">
	<!-- This is an example of an unstructured document. See component/nonXMLbody -->
	<realmCode code="US"/>
	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
	<templateId root="2.16.840.1.113883.10.20.22.1.1" />
	<templateId root="2.16.840.1.113883.10.20.22.1.10" />
	<templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2014-08-01"/>
	<templateId root="2.16.840.1.113883.10.20.22.1.10" extension="2015-08-01"/>
	<id extension="X451212" root="2.16.840.1.113883.19.5.999535454.1"/>
	<code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="34847-4" displayName="Surgery Consult Note"/>
	<title>Community Health and Hospitals: SURGICAL CONSULT</title>
	<effectiveTime value="202004201918-0800"/>
	<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
	<languageCode code="en-US"/>
	<setId extension="sTT988" root="2.16.840.1.113883.19.5.99999.19"/>
	<versionNumber value="1"/>
	<recordTarget>
		<patientRole>
			<!-- Fake Social Security Number using the actual SSN OID. -->
			<id extension="111-00-2330" root="2.16.840.1.113883.4.1"/>
			<addr use="HP">
				<streetAddressLine>1357 Amber Drive</streetAddressLine>
				<city>Beaverton</city>
				<state>OR</state>
				<postalCode>97867</postalCode>
				<country>US</country>
			</addr>
			<telecom value="tel:(816)276-6909" use="HP"/>
			<patient>
				<name use="L">
					<given>Juan</given>
					<family>Damore</family>
				</name>
				<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" displayName="Male"/>
				<birthTime value="19530302"/>
				<maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatusCode"/>
				<religiousAffiliationCode code="1013" displayName="Christian (non-Catholic, non-specific)" codeSystemName="HL7 Religious Affiliation" codeSystem="2.16.840.1.113883.5.1076"/>
				<raceCode code="1002-5" displayName="American Indian or Alaska Native" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>
				<ethnicGroupCode code="2186-5" displayName="Not Hispanic or Latino" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>
				<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 root="2.16.840.1.113883.19.5.9999.1393"/>
				<name>Community Health Hospital</name>
				<telecom use="WP" value="tel: 555-555-5000"/>
				<addr>
					<streetAddressLine>1001 Village Avenue</streetAddressLine>
					<city>Portland</city>
					<state>OR</state>
					<postalCode>99123</postalCode>
					<country>US</country>
				</addr>
			</providerOrganization>
		</patientRole>
	</recordTarget>
	<author>
		<time value="202004201918-0800"/>
		<assignedAuthor>
			<id extension="99999999" root="2.16.840.1.113883.4.6"/>
			<code code="200000000X" codeSystem="2.16.840.1.113883.6.101" displayName="Allopathic &amp; Osteopathic Physicians"/>
			<addr>
				<streetAddressLine>1002 Healthcare Drive </streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Mostafa</given>
					<family>Balimood</family>
				</name>
			</assignedPerson>
		</assignedAuthor>
	</author>
	<custodian>
		<assignedCustodian>
			<representedCustodianOrganization>
				<id extension="99999999" root="2.16.840.1.113883.4.6"/>
				<name>Community Health and Hospitals</name>
				<telecom value="tel: 555-555-1002" use="WP"/>
				<addr use="WP">
					<streetAddressLine>1002 Healthcare Drive </streetAddressLine>
					<city>Portland</city>
					<state>OR</state>
					<postalCode>99123</postalCode>
					<country>US</country>
				</addr>
			</representedCustodianOrganization>
		</assignedCustodian>
	</custodian>
	<component>
		<nonXMLBody>
			<!-- the acceptable mediaType from 2.16.840.1.113883.11.20.7.1 are 
			application/msword application/pdf text/plain text/rtf 
			text/html image/gif image/tiff image/jpeg image/png -->
			<text mediaType="text/plain" representation="B64">TE9DQUwgVElUTEU6IFNVUkdJQ0FMIENPTlNVTFQgICAgICAgICAgICAgICAgICAgICAgICAgCgpESUNUIERBVEU6IEFQUiAyMCwgMjAyMEAxNzowMyAgICAgRU5UUlkgREFURTogQVBSIDIwLCAyMDIwQDE3OjA0OjE2ICAgICAgCkRJQ1RBVEVEIEJZOiBCQUxJTU9PRCwgTU9TVEFGQSAgICBBVFRFTkRJTkc6IEFHVVJULCBUSE9NQVMgSk9TRVBIClVSR0VOQ1k6IHJvdXRpbmUgICAgICAgICAgICAgICAgICBTVEFUVVM6IFNJR05FRCBOT1QgWUVUIENPU0lHTkVEICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICoqKiBOT1QgWUVUIENPU0lHTkVEICoqKiAgICAgICAgICAgICAgICAgICAgICAgICAgIAoKUGF0aWVudApDQzogQ2hyb25pYyBjZXJ2aWNhbCBwYWluLCBzdGFibGUgc3ltcHRvbWF0b2xvZ3kuCgpEWDogQ2VydmljYWwgZGlzYyBkZWdlbmVyYXRpb24sIHVuc3BlY2lmaWVkIGNlcnZpY2FsIHJlZ2lvbiBvZiBjZXJ2aWNhbCBzcGluZSAoTTUwLjMwKSwgbm8gZm9jYWwgbmV1cm9kZWZpY2l0LgoKUExBTjogRi91IHJvdXRpbmUsIHB0IGlzIG5vdCBpbnRlcmVzdGVkIGluIGludmFzaXZlIHByb2NlZHVyZSBvciBzdXJnaWNhbCBpbnRlcnZlbnRpb24gYXQgdGhpcyB0aW1lLgogCkVsZWN0cm9uaWNhbGx5IHNpZ25lZCBieSBNb3N0YWZhIEJBTElNT09EIDA0LzIwLzIwMjAgMTc6MDc=
			</text>		
		</nonXMLBody>
	</component>
</ClinicalDocument>
  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.