errorCodes allowed are those defined on IHE (XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy,XDSRepositoryBusy,XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSTooManyResults, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumbe0r,XDSRegistryDeprecatedDocumentError, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity ), or [errorCode, codeContext] shall be from be [4705, 'Policy Violation'], [4702, 'Weak Authentication'], [4706, 'Unknown policy'], [4701, 'No consent'], [2201, 'Processing deferred'] (WP34_D342_V2.2 3.6.1.5)