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

Constraint : constraintLanguageCode

Constraint Name
constraintLanguageCode (type: ERROR, kind: )
Constraint Class
XDSStableDocumentEntry
Package
rimihe
Description
languageCode shall have a single value on XDSDocumentEntry (IHE_ITI_TF V3, 4.2.3.2.13)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | 
	(not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) 
)