Clinical Document Architecture
2.0.1 - active

Clinical Document Architecture, published by Health Level 7. This is not an authorized publication; it is the continuous build for version 2.0.1). This version is based on the current content of https://github.com/HL7/CDA-core-2.0/ and changes regularly. See the Directory of published versions

Data Type Profile: ts: Point in Time

Official URL: http://hl7.org/cda/stds/core/StructureDefinition/ts-simple Version: 2.0.1
Active as of 2023-10-03 Computable Name: ts

A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.

Usage:

Formal Views of Profile Content

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

This structure is derived from string

NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
... id 0..0
... extension 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')

This structure is derived from string

Summary

Prohibited: 2 elements

Differential View

This structure is derived from string

NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
... id 0..0
... extension 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
ts-pattern: A timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ts-patternerrorstringA timestamp may be any portion from YYYY to YYYYMMDDhhmmss. If precise to the second, may include fractional seconds, and an offset of +/-HHMM
: matches('^[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\\.[0-9]+)([+-][0-9]{1,4})?$')

This structure is derived from string

Summary

Prohibited: 2 elements

 

Other representations of profile: CSV, Excel, Schematron