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

Constraint : constraintHash_singleValue

Constraint Name
constraintHash_singleValue (type: ERROR, kind: )
Constraint Class
XDSStableDocumentEntry
Package
rimihe
Description
If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF V3, 4.2.3.2.10)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | 
	(not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and 
(self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and  (sl.name = 'hash') )->size()<2)