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

Constraint : constraintSourcePatientId

Constraint Name
constraintSourcePatientId (type: ERROR, kind: )
Constraint Class
XDSOnDemandDocumentEntry
Package
rimihe
Description
sourcePatientId is unique on XDSDocumentEntry (IHE_ITI_TF V3, 4.2.3.2.22)
OCL
(self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() <2) and 
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() )