Id2.16.840.1.113883.3.1937.99.61.28.10.7Effective Date2017‑10‑31 21:48:50
Statusdraft DraftVersion Label2.1
NameUnstructuredDocumentV3Display NameUnstructured Document (V3)
Description
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. IHE’s 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.
ContextPathname //
ClassificationCDA Document Level Template
Open/ClosedOpen (other than defined elements are allowed)
RelationshipSpecialization: template 2.16.840.1.113883.10.20.22.1.10 Unstructured Document (V3) (2015‑08‑01)
ref
ccda-

Specialization: template 2.16.840.1.113883.10.12.1 CDA ClinicalDocument (2005‑09‑07)
ref
ad1bbr-

Version: template 2.16.840.1.113883.10.20.22.1.10 Unstructured Document (2013‑01‑31)
ref
ccda-
ItemDTCardConfDescriptionLabel
cda:ClinicalDocument
UnstdotsntV3
cda:templateId
II1 … 1MSHALL contain exactly one [1..1] templateId (CONF:1198-7710) such that itCONFdots7710
@root
uid1 … 1F2.16.840.1.113883.10.20.22.1.10CONFdots0054
 SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.1.10" (CONF:1198-10054).
@extension
st1 … 1F2015-08-01CONFdots2522
 SHALL contain exactly one [1..1] @extension="2015-08-01" (CONF:1198-32522).
cda:recordTarget
1 … *MSHALL contain at least one [1..*] recordTarget (CONF:1198-31089).CONFdots1089
cda:patientRole
1 … 1MSuch recordTargets SHALL contain exactly one [1..1] patientRole (CONF:1198-31090).CONFdots1090
cda:id
II1 … *This patientRole SHALL contain at least one [1..*] id (CONF:1198-31091).CONFdots1091
cda:custodian
1 … 1MSHALL contain exactly one [1..1] custodian (CONF:1198-31096).CONFdots1096
cda:assignedCustodian
1 … 1MThis custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1198-31097).CONFdots1097
cda:representedCustodianOrganization
1 … 1MThis assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1198-31098).CONFdots1098
cda:component
1 … 1MSHALL contain exactly one [1..1] component (CONF:1198-31085).CONFdots1085
cda:nonXMLBody
1 … 1MThis component SHALL contain exactly one [1..1] nonXMLBody (CONF:1198-31086).

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.
CONFdots1086
cda:text
1 … 1MThis nonXMLBody SHALL contain exactly one [1..1] text (CONF:1198-31087).CONFdots1087
@mediaType
st0 … 1 The value of @mediaType, if present, *SHALL* be drawn from the value set 2.16.840.1.1213883.11.20.7.1 SupportedFileFormats STATIC 20100512
@representation
cs0 … 1 
 Schematron assertrolered error 
 testcda:reference or (@representation='B64' and @mediaType) 
 MessageIf the text element does not contain a reference element with a value attribute, then it *SHALL* contain exactly one [[]1..1[]] @representation="B64" and exactly one [[]1..1[]] @mediaType.