Clinical Document Architecture
2.0.0-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.0-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.0-sd
Active as of 2024-10-25 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.

Usage:

Formal Views of Template Content

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

This structure is derived from code

NameFlagsCard.TypeDescription & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace
... 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 & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace

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 & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace
... 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 & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace
... 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 & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace

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 & Constraintsdoco
.. code C 0..* code Primitive Type code
cs-pattern: cs attributes must not contain any whitespace
... 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