Constraint Descriptor : Weight_UnitValue (type: ERROR, kind: )

Constraint : Weight_UnitValue

Constraint Name
Weight_UnitValue (type: ERROR, kind: )
Constraint Class
VitalSign_Weight
Package
rcsc
Description
The observation described by the code 3141-9(Weight) SHALL have a value element with type PQ and the unit of value SHALL be 'kg' coming from the table of description of the value set : Vital Sign(1.3.6.1.4.1.19376.1.4.1.6.5.11540) : table number is 6.5.5.75-1
OCL
self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='kg' ))