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

Constraint : rmim065

Constraint Name
rmim065 (type: ERROR, kind: )
Constraint Class
ClinicalDocumentSpec
Package
cdabasic
Description
Only these combination of relatedDocument MAY be present : (APND), (RPLC), (XFR), (XFRM, RPLC), (XFRM, APND) (RMIM-065)
OCL
self.relatedDocument->size()<2 or 
(
	self.relatedDocument->size()=2 and 
	self.relatedDocument->select(rd : POCDMT000040RelatedDocument | 
		(not rd.typeCode.oclIsUndefined()) and 
		rd.typeCode=XActRelationshipDocument::XFRM
	)->size()=1
)