(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode='XDSRegistryError') or
(self.errorCode='XDSRegistryBusy') or
(self.errorCode='XDSRegistryOutOfResources') or
(self.errorCode='XDSTooManyResults') or
(self.errorCode='XDSUnknownStoredQuery') or
(self.errorCode='XDSStoredQueryMissingParam') or
(self.errorCode='XDSStoredQueryParamNumber') or
(self.errorCode='XDSResultNotSinglePatient') or
(self.errorCode='XDSUnknownCommunity') or
(self.errorCode='XDSMissingHomeCommunityId') or
(self.errorCode='XDSUnavailableCommunity') 
)
