(
	(not self.registryResponse.oclIsUndefined()) and 
	(not self.registryResponse.registryErrorList.oclIsUndefined()) and 
	self.registryResponse.registryErrorList.registryError->size()>0
) or
(
	(self.documentResponse->size()>0) and 
	self.documentResponse->forAll(doc : DocumentResponseType | not doc.document.oclIsUndefined())
) 