Clinical Document Architecture, published by Health Level 7. This guide is not an authorized publication; it is the continuous build for version 2.0.2-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
| Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Component | Version: 2.0.2-sd | |||
| Active as of 2025-12-11 | Computable Name: Component | |||
The CDA body can be either an unstructured blob, or can be comprised of structured markup. Every CDA document has exactly one body, associated with the ClinicalDocument class through the component relationship.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Template, Differentials, Snapshots and how the different presentations work.
This structure is derived from InfrastructureRoot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Component.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Component.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
This structure is derived from InfrastructureRoot
Differential View
This structure is derived from InfrastructureRoot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Component.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: body-choice |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: ActRelationshipHasComponent (required) Fixed Value: COMP | |
![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | NonXMLBody | A body in some format other than XML. | |
![]() ![]() ![]() |
0..1 | StructuredBody | A body comprised of one or more document sections. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Component.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Component.typeCode | Base | required | ActRelationshipHasComponent | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Component.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| body-choice | error | Component | Choice of the body required. |
(nonXMLBody | structuredBody).count() = 1
|
This structure is derived from InfrastructureRoot