(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode='XDSRegistryError') or
(self.errorCode='XDSRepositoryError') or
(self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or
(self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or
(self.errorCode='XDSDuplicateUniqueIdInRegistry') or
(self.errorCode='XDSNonIdenticalHash') or
(self.errorCode='XDSRegistryBusy') or
(self.errorCode='XDSRegistryOutOfResources') or
(self.errorCode='XDSRegistryMetadataError') or
(self.errorCode='XDSRepositoryMetadataError') or
(self.errorCode='XDSExtraMetadataNotSaved') or
(self.errorCode='XDSUnknownPatientId') or
(self.errorCode='XDSPatientIdDoesNotMatch') or
(self.errorCode='XDSRegistryDeprecatedDocumentError')
)
