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

Constraint : constraintLegalAuthenticator_XCN

Constraint Name
constraintLegalAuthenticator_XCN (type: ERROR, kind: )
Constraint Class
XDSOnDemandDocumentEntry
Package
rimihe
Description
legalAuthenticator must have the structure XCN if present (IHE_ITI_TF V3, 4.2.3.2.14)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | 
	(not sl.valueList.oclIsUndefined()) and 
	(sl.valueList.value->forAll(val : String | sl.isXCN(val))) 
)