UnstructuredDocument

Unstructured Document

activeC-CDA Templates4.0.0logical5 key elements

An Unstructured Document (UD) document type can (1) include unstructured content, such as a graphic, directly in a text element with a mediaType attribute, or (2) reference a single document file, such as a word-processing document using a text/reference element.

For guidance on how to handle multiple files, on the selection of media types for this IG, and on the identification of external files, see the examples that follow the constraints below.

IHEs XDS-SD (Cross-Transaction Specifications and Content Specifications, Scanned Documents Module) profile addresses a similar, more restricted use case, specifically for scanned documents or documents electronically created from existing text sources, and limits content to PDF-A or text. This Unstructured Documents template is applicable not only for scanned documents in non-PDF formats, but also for clinical documents produced through word processing applications, etc.

For conformance with both specifications, implementers need to ensure that their documents at a minimum conform with the SHALL constraints from either specification.

Metadata

hl7.org/fhir
Canonical URL
http://hl7.org/cda/us/ccda/StructureDefinition/UnstructuredDocument
ID
UnstructuredDocument
Type
Base Definition
USRealmHeader
Derivation
constraint
Mandatory and Must-Support Elements

Elements with cardinality > 0 or marked as Must Support (S)

PathCard.TypeFlagsDescription
templateId
1+
:unstructured-doc1..1
1+
templateId.root
1+
templateId.extension
1+
component.nonXMLBody
1+
An Unstructured Document must include a nonXMLBody component with a single text element. The text element can reference an external file using a reference element, or include unstructured content directly with a mediaType attribute. The nonXMLBody/text element also has a "compression" attribute that can be used to indicate that the unstructured content was compressed before being Base64Encoded. At a minimum, a compression value of "DF" for the deflate compression algorithm (RFC 1951 [URL:http://www.ietf.org/rfc/rfc1951.txt]) must be supported although it is not required that content be compressed.