# Logical Record Architecture for Health and Social Care
## Discharge Summary Release 0.02

Contents
The content of this release is not comprehensive and is not fully validated and must not be used in live system implementations.
# Reference Model Class: TS
TS is a string representation using standard notation of a point in time. This is implemented in the LRA as specified in ISO 21090. As with QTY both uncertainty and uncertaintyType within this data type are difficult to distinguish from uncertainty represented by URG and UVL., and from an LRA implementation perspective where they are required, it is believed they should be managed as specifically stated uncertain dates or ranges. These constraints on uncertainty are present in the LRA profile of QTY and not formally restated here. Otherwise this class and its constraints are used as represented in ISO 21090. This is implemented as described in ISO 21090. ## Specializes ## QTY ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
value | String | 0..1 | This is implemented as described in ISO 21090.
## Constraints
Type | Name | Specification
--- | --- | ---
null or value | Invariant | inv: isNull xor value.oclIsDefined
unnamed constraint | Invariant | def: hasTimezone : Boolean = value.pos("+") > 0 or value.pos("-") > 0
value is type Timestamp | LRA Invariant | inv: value.oclIsKindOf(Timestamp)