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

Constraint : constraintSize

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