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

Constraint : constraintServiceStopTime

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