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

Constraint : cdadt011

Constraint Name
cdadt011 (type: ERROR, kind: )
Constraint Class
CDSpec
Package
cdadt
Description
When UUID is used in codeSystem, the hexadecimal digits A-F SHALL be in upper case (CDADT-011)
OCL
self.codeSystem.oclIsUndefined() or 
(not self.matches(self.codeSystem, '[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}')) or 
self.matches(self.codeSystem, '[0-9A-Z]{8}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{12}')