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

Data Type Profile: cs: Coded Simple Value

Official URL: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple Version: 2.0.1-sd
Active as of 2025-09-17 Computable Name: cs

Coded data in its simplest form, consists of a code. The code system and code system version is fixed by the context in which the value occurs. 'cs' is used for coded attributes that have a single HL7-defined value set.

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 code

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern
... id 0..0
... extension 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern
... value 0..1 code Primitive value for code

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

This structure is derived from code

Summary

Prohibited: 2 elements

Differential View

This structure is derived from code

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern
... id 0..0
... extension 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. code C 0..* code Primitive Type code
Constraints: cs-pattern
... value 0..1 code Primitive value for code

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
cs-patternerrorcodecs attributes must not contain any whitespace
: matches('^[^\\s]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

This structure is derived from code

Summary

Prohibited: 2 elements

 

Other representations of profile: CSV, Excel, Schematron