public enum ErrorCode extends Enum<ErrorCode>
Enum Constant and Description |
---|
_USER_DEFINED |
DOCUMENT_QUEUED
An XDR Recipient queued the document for future manual matching to a patient.
|
DOCUMENT_UNIQUE_ID_ERROR
The document associated with the DocumentUniqueId is not available.
|
DUPLICATE_UNIQUE_ID_IN_REGISTRY
A unique ID received for a submission set or folder was not unique within the registry.
|
EXTRA_METADATA_NOT_SAVED
Warning returned if extra meta data was present but not saved in the registry.
|
INVALID_DOCUMENT_CONTENT
The recipient has rejected this submission because it detected that one of the documents does
not match the metadata or has failed other requirements for the document content.
|
META_DATA_UPDATE_ERROR
General metadata update error.
|
META_DATA_UPDATE_OPERATION_ERROR
Document Registry/Recipient cannot decode the requested metadata update.
|
META_DATA_VERSION_ERROR
The version number included in the update request did not match the existing object.
|
MISSING_DOCUMENT
Document entry exists in metadata with no corresponding attached document.
|
MISSING_DOCUMENT_METADATA
MIME package contains MIME part with content-id header not found in metadata.
|
MISSING_HOME_COMMUNITY_ID
A value for the homeCommunityId is required and has not been specified
|
NON_IDENTICAL_HASH
Document being registered was a duplicate (unique ID already in registry) but the hash codes
do not match.
|
NON_IDENTICAL_SIZE
Document being registered was a duplicate (uniqueId already in registry)
but size does not match.
|
PARTIAL_APPEND_CONTENT_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PARTIAL_FOLDER_CONTENT_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PARTIAL_RELATIONSHIP_CONTENT_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PARTIAL_REPLACE_CONTENT_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PARTIAL_TRANSFORM_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PARTIAL_TRANSFORM_REPLACE_NOT_PROCESSED
An XDR Document Recipient did not process some part of the content.
|
PATIENT_ID_DOES_NOT_MATCH
A patient ID that is required to be identical in the document entries, folders and
submission sets contained in the request did not match.
|
PATIENT_ID_RECONCILIATION_ERROR
Update encountered error where Patient IDs did not match.
|
REFERENCE_EXISTS_EXCEPTION
An entryUUID passed in the Delete Document Set transaction is referenced by an Association
sourceObject or targetObject attribute.
|
REGISTRY_BUSY
Too much activity in the registry to process the request.
|
REGISTRY_DEPRECATED_DOCUMENT_ERROR
A register transaction was rejected because it submitted an association referencing
a deprecated document.
|
REGISTRY_DUPLICATE_UNIQUE_ID_IN_MESSAGE
The registry found a unique ID value that was used more than once within the submission.
|
REGISTRY_ERROR
Internal error in registry.
|
REGISTRY_METADATA_ERROR
The registry detected an error in the meta data.
|
REGISTRY_NOT_AVAILABLE
Repository was unable to access the registry.
|
REGISTRY_OUT_OF_RESOURCES
Resources are too low within the registry to process the request.
|
REMOVE_DOCUMENTS_ERROR
The Document Repository was not able to remove the document.
|
REPLACE_FAILED
Deprecated.
this error code is deprecated by IHE
|
REPOSITORY_BUSY
Too much activity in the repository to process the request.
|
REPOSITORY_DUPLICATE_UNIQUE_ID_IN_MESSAGE
The repository found a unique ID value that was used more than once within the submission.
|
REPOSITORY_ERROR
Internal error in repository.
|
REPOSITORY_METADATA_ERROR
The repository detected an error in the meta data.
|
REPOSITORY_OUT_OF_RESOURCES
Resources are too low within the repository to process the request.
|
RESULT_NOT_SINGLE_PATIENT
A query resulted in returning information about multiple patients,
which is forbidden because of security reasons.
|
SQL_ERROR
An error occurred when executing an SQL query.
|
STORED_QUERY_MISSING_PARAM
A required parameter to a stored query is missing.
|
STORED_QUERY_PARAM_NUMBER
A parameter which only accepts a single value is coded with multiple values.
|
TOO_MANY_RESULTS
A request produced too many results to finish the request.
|
TRANSCODING_ERROR
The requested document cannot be provided due to a transcoding/translation error.
|
UNAVAILABLE_COMMUNITY
A community which would have been contacted was not available
|
UNKNOWN_COMMUNITY
A value for the homeCommunityId is not recognized
|
UNKNOWN_PATIENT_ID
The patient ID referenced in the meta data is not known to the registry actor
via the Patient Identity Feed or is unknown because of patient identifier merge
or other reasons.
|
UNKNOWN_REPOSITORY_ID
The unique ID of a repository could not be resolved to a valid document repository
or the value does not match that of the document repository.
|
UNKNOWN_STORED_QUERY
The query ID provided in the request is not recognized.
|
UNREFERENCED_OBJECT_EXCEPTION
A metadata object is no longer referenced by any Association.
|
UNRESOLVED_REFERENCE_EXCEPTION
The recipient cannot resolve an entryUUID reference in the transaction.
|
Modifier and Type | Method and Description |
---|---|
String |
getOpcode() |
static String |
getOpcode(ErrorCode errorCode)
null -safe version of getOpcode() . |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode |
valueOfOpcode(String opcode)
Returns the error code that corresponds to the given opcode.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode MISSING_DOCUMENT
public static final ErrorCode MISSING_DOCUMENT_METADATA
public static final ErrorCode REGISTRY_NOT_AVAILABLE
public static final ErrorCode REGISTRY_ERROR
public static final ErrorCode REPOSITORY_ERROR
public static final ErrorCode REGISTRY_DUPLICATE_UNIQUE_ID_IN_MESSAGE
public static final ErrorCode REPOSITORY_DUPLICATE_UNIQUE_ID_IN_MESSAGE
public static final ErrorCode DUPLICATE_UNIQUE_ID_IN_REGISTRY
public static final ErrorCode NON_IDENTICAL_HASH
public static final ErrorCode NON_IDENTICAL_SIZE
public static final ErrorCode REGISTRY_BUSY
public static final ErrorCode REPOSITORY_BUSY
public static final ErrorCode REGISTRY_OUT_OF_RESOURCES
public static final ErrorCode REPOSITORY_OUT_OF_RESOURCES
public static final ErrorCode REGISTRY_METADATA_ERROR
public static final ErrorCode REPOSITORY_METADATA_ERROR
public static final ErrorCode TOO_MANY_RESULTS
public static final ErrorCode EXTRA_METADATA_NOT_SAVED
public static final ErrorCode UNKNOWN_PATIENT_ID
public static final ErrorCode PATIENT_ID_DOES_NOT_MATCH
public static final ErrorCode UNKNOWN_STORED_QUERY
public static final ErrorCode STORED_QUERY_MISSING_PARAM
public static final ErrorCode STORED_QUERY_PARAM_NUMBER
public static final ErrorCode REGISTRY_DEPRECATED_DOCUMENT_ERROR
public static final ErrorCode UNKNOWN_REPOSITORY_ID
public static final ErrorCode DOCUMENT_UNIQUE_ID_ERROR
public static final ErrorCode RESULT_NOT_SINGLE_PATIENT
public static final ErrorCode PARTIAL_FOLDER_CONTENT_NOT_PROCESSED
public static final ErrorCode PARTIAL_REPLACE_CONTENT_NOT_PROCESSED
public static final ErrorCode PARTIAL_TRANSFORM_NOT_PROCESSED
public static final ErrorCode PARTIAL_APPEND_CONTENT_NOT_PROCESSED
public static final ErrorCode PARTIAL_RELATIONSHIP_CONTENT_NOT_PROCESSED
public static final ErrorCode PARTIAL_TRANSFORM_REPLACE_NOT_PROCESSED
public static final ErrorCode DOCUMENT_QUEUED
public static final ErrorCode INVALID_DOCUMENT_CONTENT
public static final ErrorCode UNKNOWN_COMMUNITY
public static final ErrorCode MISSING_HOME_COMMUNITY_ID
public static final ErrorCode UNAVAILABLE_COMMUNITY
public static final ErrorCode TRANSCODING_ERROR
public static final ErrorCode META_DATA_UPDATE_ERROR
public static final ErrorCode PATIENT_ID_RECONCILIATION_ERROR
public static final ErrorCode META_DATA_UPDATE_OPERATION_ERROR
public static final ErrorCode META_DATA_VERSION_ERROR
public static final ErrorCode REMOVE_DOCUMENTS_ERROR
public static final ErrorCode UNRESOLVED_REFERENCE_EXCEPTION
public static final ErrorCode REFERENCE_EXISTS_EXCEPTION
public static final ErrorCode UNREFERENCED_OBJECT_EXCEPTION
@Deprecated public static final ErrorCode REPLACE_FAILED
public static final ErrorCode SQL_ERROR
public static final ErrorCode _USER_DEFINED
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getOpcode()
public static String getOpcode(ErrorCode errorCode)
null
-safe version of getOpcode()
.errorCode
- the error code. Can be null
.null
if errorCode was null
.public static ErrorCode valueOfOpcode(String opcode)
opcode
- the opcode. Can be null
.null
when the opcode is null
or empty,
_USER_DEFINED
when the code is not a standard one.Copyright © 2018 Open eHealth Foundation. All rights reserved.