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

Specification of a default value of an instance of a numeric type.

Specializes

DefaultValueSpecification

Attributes

Name Data type Occurs Description
value Real 0..1 The default value of an instance of a numeric type, specified by this NumericDefaultValueSpecification.


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->forAll(c: Class | c.oclIsType(Primitive) and ((c.qualifiedName = "lra::datatypes::uml::kernel::Real") or (c.ancestor()->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