This page is part of the CDA: Clinical Document Architecture (v2.0.2-sd: CDA 2.0 - Informative) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Subject | Version: 2.0.2-sd | |||
| Active as of 2025-12-12 | Computable Name: Subject | |||
The subject participant represents the primary target of the entries recorded in the document. Most of the time the subject is the same as the recordTarget, but need not be, for instance when the subject is a fetus observed in an obstetrical ultrasound.
The subject participant can be ascribed to a CDA section or a CDA entry. It propagates to nested components, unless overridden. The subject of a document is presumed to be the patient.
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: ![]() ![]() |
|---|---|---|---|---|
![]() |
InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) | ||
![]() ![]() |
0..1 | cs | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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) | |
![]() ![]() |
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: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Subject.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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) | |
![]() ![]() |
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: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Subject.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
This structure is derived from InfrastructureRoot
Differential View
This structure is derived from InfrastructureRoot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
InfrastructureRoot | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) | ||
![]() ![]() |
0..1 | cs | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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) | |
![]() ![]() |
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: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Subject.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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) | |
![]() ![]() |
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: ParticipationTargetSubject (required) Fixed Value: SBJ | |
![]() ![]() |
0..1 | cs | Binding: CDAContextControl (required) Fixed Value: OP | |
![]() ![]() |
0..1 | CE | Binding: TargetAwareness (example) | |
![]() ![]() |
1..1 | RelatedSubject | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subject.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeId.nullFlavor | Base | required | CDANullFlavor | 📦2.0.2-sd | This IG |
| Subject.typeCode | Base | required | ParticipationTargetSubject | 📦2.0.0 | THO v5.2 |
| Subject.contextControlCode | Base | required | CDAContextControl | 📦2.0.2-sd | This IG |
| Subject.awarenessCode | Base | example | TargetAwareness | 📦2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Subject.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
This structure is derived from InfrastructureRoot