Constraint : constraintAuthorInstitution_XON

Constraint Name constraintAuthorInstitution_XON (ERROR)
Class of the constraint Author_XDSDocumentEntry
Package rimihe
Description
AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) )