Constraint Descriptor : rmim114 (type: WARNING, kind: )

Constraint : rmim114

Constraint Name
rmim114 (type: WARNING, kind: )
Constraint Class
ClinicalDocumentSpec
Package
cdabasic
Description
Ordered list style SHOULD be used only on the element list, with listType=ordered (RMIM-114)
OCL
self.validateByXPATHV2('every $nblock in //.[@styleCode] satisfies((every $ref in tokenize(string($nblock/@styleCode),\u0027\\s+\u0027) satisfies((data($ref)!=\u0027Arabic\u0027) and (data($ref)!=\u0027LittleRoman\u0027) and (data($ref)!=\u0027BigRoman\u0027) and (data($ref)!=\u0027LittleAlpha\u0027) and (data($ref)!=\u0027BigAlpha\u0027))) or ($nblock/@listType=\u0027ordered\u0027 and name($nblock)=\u0027list\u0027))')