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

Constraint : constraint_documentationOf

Constraint Name
constraint_documentationOf (type: ERROR, kind: )
Constraint Class
XDSSDBppcTemplateWithSD
Package
xdssdbppc
Description
The ClinicalDocument/documentationOf shall exist at least one, and shall have a typeCode attribute. the typeCode shall be 'DOC'. (ITI TF-3, Vol3, 5.1.2.3.2)
OCL
(self.documentationOf->size()>0) and
 self.documentationOf->exists(docu : POCDMT000040DocumentationOf | (not docu.typeCode.oclIsUndefined()) and docu.typeCode = ActRelationshipType::DOC)