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

Constraint : rmim002

Constraint Name
rmim002 (type: ERROR, kind: )
Constraint Class
ActSpec
Package
cdabasic
Description
The languageCode shall be from the valueSet HumanLanguage (RMIM-002)
OCL
self.languageCode.oclIsUndefined() or 
(not self.languageCode.nullFlavor.oclIsUndefined()) or
(
	(not self.languageCode.code.oclIsUndefined()) and 
	self.languageCode.matches(self.languageCode.code, '\\w+(\\-\\w+)?')
)