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

Constraint : rmim115

Constraint Name
rmim115 (type: WARNING, kind: )
Constraint Class
ClinicalDocumentSpec
Package
cdabasic
Description
Unordered list style SHOULD be used only on the element list, with listType=unordered (RMIM-115)
OCL
self.validateByXPATHV2('every $nblock in //.[@styleCode] satisfies ((every $ref in tokenize(string($nblock/@styleCode),\u0027\\s+\u0027) satisfies((data($ref)!=\u0027Disc\u0027) and (data($ref)!=\u0027Circle\u0027) and (data($ref)!=\u0027Square\u0027))) or (name($nblock)=\u0027list\u0027 and ($nblock/@listType=\u0027unordered\u0027 or not($nblock/@listType))))')