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

Constraint : rmim110

Constraint Name
rmim110 (type: ERROR, kind: )
Constraint Class
ClinicalDocumentSpec
Package
cdabasic
Description
renderMultimedia SHALL refer to a single observationMedia, or to multiple regionOfInterest (RMIM-110)
OCL
self.validateByXPATHV2('every $referencedObject in data(//cda:renderMultiMedia/@referencedObject) satisfies(count(tokenize(string($referencedObject),\u0027\\s+\u0027))<2 or (every $ref in tokenize(string($referencedObject),\u0027\\s+\u0027) satisfies(some $om in //cda:regionOfInterest satisfies $om/@ID=$ref)))')