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

Constraint : rmim005

Constraint Name
rmim005 (type: ERROR, kind: )
Constraint Class
ObservationSpec
Package
cdabasic
Description
The languageCode shall be from the valueSet HumanLanguage (RMIM-005)
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+)?')
)