# 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: TotalDigitsSpecification
A specification of maximum number of digits in an instance of a numeric type. ## Specializes ## ValueSpaceSpecification ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
value | Integer | 0..1 | The maximum number of digits in an instance of a numeric type, specified by this TotalDigitsSpecification.
## Constraints
Type | Name | Specification
--- | --- | ---
Instance is specification for constraint that binds to a PrimitiveType instance of kind Real | LRA Invariant | inv: constraint.contraintBinding.instance.type-&gt;forAll(c: Class | c.oclIsType(Primitive) and ((c.qualifiedName = "lra::datatypes::uml::kernel::Real") or (c.ancestor()-&gt;exists(s: Class | s.qualifiedName = ("lra::datatypes::uml::kernel::Real")))))
Specification is exclusively by value or by reference | LRA Invariant | inv: if not self.value.oclIsUndefined() then self.valueRef.oclIsUndefined() else self.value.oclIsUndefined() and not self.valueRef.oclIsUndefined() endif
## Reference Model Type ##