Clinical Document Architecture
2.0.1-sd - release

This page is part of the CDA: Clinical Document Architecture (v2.0.1-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

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 2024-12-18 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
ele-1: All FHIR elements must have a @value or children
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
ele-1: All FHIR elements must have a @value or children
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