Logical Record Architecture for Health and Social Care

Discharge Summary Release 0.02

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: MaxLengthSpecification

A specification of the maximum number of characters allowable in an instance of a string-based type or the maximum number of octets allowable in an instance of a binary type.

Specializes

ValueSpaceSpecification

Attributes

Name Data type Occurs Description
value Integer 0..1 The maximum number of characters of an instance of a string-based type or the minimum number of octets of an instance of a binary type, specified by this MaxLengthSpecification.


Constraints

Type Name Specification
Instance is specification for constraint that binds to a PrimitiveType instance of kind String LRA Invariant inv: constraint.contraintBinding.instance.type->forAll(c: Class | c.oclIsType(Primitive) and ((c.qualifiedName = "lra::datatypes::uml::kernel::String") or (c.ancestor()->exists(s: Class | s.qualifiedName = ("lra::datatypes::uml::kernel::String")))))
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