Clinical Document Architecture
2.0.1-sd - release

Clinical Document Architecture, published by Health Level 7. This guide is not an authorized publication; it is the continuous build for version 2.0.1-sd built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-core-sd/ and changes regularly. See the Directory of published versions

Logical Model: ED: EncapsulatedData (V3 Data Type)

Official URL: http://hl7.org/cda/stds/core/StructureDefinition/ED Version: 2.0.1-sd
Active as of 2025-10-02 Computable Name: ED

Data that is primarily intended for human interpretation or for further machine processing outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information in as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an may contain only a reference (see .) Note that the data type is a specialization of the data type when the media type is text/plain.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Template Content

Description of Template, Differentials, Snapshots and how the different presentations work.

This structure is derived from ANY

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @integrityCheckAlgorithm 0..1 cs Binding: IntegrityCheckAlgorithm (2.0.0) (required)
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @language 0..1 cs
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ED.nullFlavor Base required CDANullFlavor 📦2.0.1-sd This IG
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @language 0..1 cs
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ED.nullFlavor Base required CDANullFlavor 📦2.0.1-sd This IG
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')

Differential View

This structure is derived from ANY

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @integrityCheckAlgorithm 0..1 cs Binding: IntegrityCheckAlgorithm (2.0.0) (required)
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @language 0..1 cs
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ED.nullFlavor Base required CDANullFlavor 📦2.0.1-sd This IG
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ED C 1..* ANY XML Namespace: urn:hl7-org:v3
Base for all types and resources

Elements defined in Ancestors:@nullFlavor
Logical Container: ClinicalDocument (CDA Class)
Constraints: ed-base64
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... @compression 0..1 cs Binding: CDACompressionAlgorithm (required)
... @integrityCheck 0..1 bin
... @language 0..1 cs
... @mediaType 0..1 cs Binding: MediaType (example)
... @representation 0..1 cs Binding: CDABinaryDataEncoding (required)
... xmlText 0..1 st Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
... reference 0..1 TEL
... thumbnail 0..1 ED

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ED.nullFlavor Base required CDANullFlavor 📦2.0.1-sd This IG
ED.compression Base required CDACompressionAlgorithm 📦2.0.1-sd This IG
ED.integrityCheckAlgorithm Base required IntegrityCheckAlgorithm 📍2.0.0 THO v5.2
ED.mediaType Base example MediaType 📦2.0.0 THO v5.2
ED.representation Base required CDABinaryDataEncoding 📦2.0.1-sd This IG

Constraints

Id Grade Path(s) Description Expression
ed-base64 error ED If @representation='B64', then xmlText SHALL be a base64binary string. (representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?$')

 

Other representations of profile: CSV, Excel