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

Constraint : constraintSourcePatientInfo

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