Package ca.uhn.fhir.model.dstu2.valueset
Enum IssueTypeEnum
- java.lang.Object
-
- java.lang.Enum<IssueTypeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<IssueTypeEnum>
public enum IssueTypeEnum extends Enum<IssueTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSINESS_RULE_VIOLATIONDisplay: Business Rule Violation
Code Value: business-rule The content/operation failed to pass some business rule, and so could not proceed.CONTENT_NOT_SUPPORTEDDisplay: Content not supported
Code Value: not-supported The resource or profile is not supported.CONTENT_TOO_LONGDisplay: Content Too Long
Code Value: too-long Provided content is too long (typically, this is a denial of service protection type of error).DUPLICATEDisplay: Duplicate
Code Value: duplicate An attempt was made to create a duplicate record.EDIT_VERSION_CONFLICTDisplay: Edit Version Conflict
Code Value: conflict Content could not be accepted because of an edit conflict (i.e.ELEMENT_VALUE_INVALIDDisplay: Element value invalid
Code Value: value An element value is invalid.EXCEPTIONDisplay: Exception
Code Value: exception An unexpected internal error has occurred.FORBIDDENDisplay: Forbidden
Code Value: forbidden The user does not have the rights to perform this action.INCOMPLETE_RESULTSDisplay: Incomplete Results
Code Value: incomplete Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete.INFORMATION__SUPPRESSEDDisplay: Information Suppressed
Code Value: suppressed Some information was not or may not have been returned due to business rules, consent or privacy rules, or access permission constraints.INFORMATIONAL_NOTEDisplay: Informational Note
Code Value: informational A message unrelated to the processing success of the completed operation (examples of the latter include things like reminders of password expiry, system maintenance times, etc.).INVALID_CODEDisplay: Invalid Code
Code Value: code-invalid The code or system could not be understood, or it was not valid in the context of a particular ValueSet.code.INVALID_CONTENTDisplay: Invalid Content
Code Value: invalid Content invalid against the specification or a profile.LOCK_ERRORDisplay: Lock Error
Code Value: lock-error A resource/record locking failure (usually in an underlying database).LOGIN_REQUIREDDisplay: Login Required
Code Value: login The client needs to initiate an authentication process.NO_STORE_AVAILABLEDisplay: No Store Available
Code Value: no-store The persistent store is unavailable; e.g.NOT_FOUNDDisplay: Not Found
Code Value: not-found The reference provided was not found.OPERATION_TOO_COSTLYDisplay: Operation Too Costly
Code Value: too-costly The operation was stopped to protect server resources; e.g.PROCESSING_FAILUREDisplay: Processing Failure
Code Value: processing Processing issues.REQUIRED_ELEMENT_MISSINGDisplay: Required element missing
Code Value: required A required element is missing.SECURITY_PROBLEMDisplay: Security Problem
Code Value: security An authentication/authorization/permissions issue of some kind.SESSION_EXPIREDDisplay: Session Expired
Code Value: expired User session expired; a login may be required.STRUCTURAL_ISSUEDisplay: Structural Issue
Code Value: structure A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax.THROTTLEDDisplay: Throttled
Code Value: throttled The system is not prepared to handle this request due to load management.TIMEOUTDisplay: Timeout
Code Value: timeout An internal timeout has occurred.TRANSIENT_ISSUEDisplay: Transient Issue
Code Value: transient Transient processing issues.UNACCEPTABLE_EXTENSIONDisplay: Unacceptable Extension
Code Value: extension An extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized.UNKNOWN_USERDisplay: Unknown User
Code Value: unknown The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable).VALIDATION_RULE_FAILEDDisplay: Validation rule failed
Code Value: invariant A content validation rule failed - e.g.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<IssueTypeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: IssueType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueTypeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic IssueTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static IssueTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_CONTENT
public static final IssueTypeEnum INVALID_CONTENT
Display: Invalid Content
Code Value: invalid Content invalid against the specification or a profile.
-
STRUCTURAL_ISSUE
public static final IssueTypeEnum STRUCTURAL_ISSUE
Display: Structural Issue
Code Value: structure A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax.
-
REQUIRED_ELEMENT_MISSING
public static final IssueTypeEnum REQUIRED_ELEMENT_MISSING
Display: Required element missing
Code Value: required A required element is missing.
-
ELEMENT_VALUE_INVALID
public static final IssueTypeEnum ELEMENT_VALUE_INVALID
Display: Element value invalid
Code Value: value An element value is invalid.
-
VALIDATION_RULE_FAILED
public static final IssueTypeEnum VALIDATION_RULE_FAILED
Display: Validation rule failed
Code Value: invariant A content validation rule failed - e.g. a schematron rule.
-
SECURITY_PROBLEM
public static final IssueTypeEnum SECURITY_PROBLEM
Display: Security Problem
Code Value: security An authentication/authorization/permissions issue of some kind.
-
LOGIN_REQUIRED
public static final IssueTypeEnum LOGIN_REQUIRED
Display: Login Required
Code Value: login The client needs to initiate an authentication process.
-
UNKNOWN_USER
public static final IssueTypeEnum UNKNOWN_USER
Display: Unknown User
Code Value: unknown The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable).
-
SESSION_EXPIRED
public static final IssueTypeEnum SESSION_EXPIRED
Display: Session Expired
Code Value: expired User session expired; a login may be required.
-
FORBIDDEN
public static final IssueTypeEnum FORBIDDEN
Display: Forbidden
Code Value: forbidden The user does not have the rights to perform this action.
-
INFORMATION__SUPPRESSED
public static final IssueTypeEnum INFORMATION__SUPPRESSED
Display: Information Suppressed
Code Value: suppressed Some information was not or may not have been returned due to business rules, consent or privacy rules, or access permission constraints. This information may be accessible through alternate processes.
-
PROCESSING_FAILURE
public static final IssueTypeEnum PROCESSING_FAILURE
Display: Processing Failure
Code Value: processing Processing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged.
-
CONTENT_NOT_SUPPORTED
public static final IssueTypeEnum CONTENT_NOT_SUPPORTED
Display: Content not supported
Code Value: not-supported The resource or profile is not supported.
-
DUPLICATE
public static final IssueTypeEnum DUPLICATE
Display: Duplicate
Code Value: duplicate An attempt was made to create a duplicate record.
-
NOT_FOUND
public static final IssueTypeEnum NOT_FOUND
Display: Not Found
Code Value: not-found The reference provided was not found. In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the content is not found further into the application architecture.
-
CONTENT_TOO_LONG
public static final IssueTypeEnum CONTENT_TOO_LONG
Display: Content Too Long
Code Value: too-long Provided content is too long (typically, this is a denial of service protection type of error).
-
INVALID_CODE
public static final IssueTypeEnum INVALID_CODE
Display: Invalid Code
Code Value: code-invalid The code or system could not be understood, or it was not valid in the context of a particular ValueSet.code.
-
UNACCEPTABLE_EXTENSION
public static final IssueTypeEnum UNACCEPTABLE_EXTENSION
Display: Unacceptable Extension
Code Value: extension An extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized.
-
OPERATION_TOO_COSTLY
public static final IssueTypeEnum OPERATION_TOO_COSTLY
Display: Operation Too Costly
Code Value: too-costly The operation was stopped to protect server resources; e.g. a request for a value set expansion on all of SNOMED CT.
-
BUSINESS_RULE_VIOLATION
public static final IssueTypeEnum BUSINESS_RULE_VIOLATION
Display: Business Rule Violation
Code Value: business-rule The content/operation failed to pass some business rule, and so could not proceed.
-
EDIT_VERSION_CONFLICT
public static final IssueTypeEnum EDIT_VERSION_CONFLICT
Display: Edit Version Conflict
Code Value: conflict Content could not be accepted because of an edit conflict (i.e. version aware updates) (In a pure RESTful environment, this would be an HTTP 404 error, but this code may be used where the conflict is discovered further into the application architecture.)
-
INCOMPLETE_RESULTS
public static final IssueTypeEnum INCOMPLETE_RESULTS
Display: Incomplete Results
Code Value: incomplete Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete.
-
TRANSIENT_ISSUE
public static final IssueTypeEnum TRANSIENT_ISSUE
Display: Transient Issue
Code Value: transient Transient processing issues. The system receiving the error may be able to resubmit the same content once an underlying issue is resolved.
-
LOCK_ERROR
public static final IssueTypeEnum LOCK_ERROR
Display: Lock Error
Code Value: lock-error A resource/record locking failure (usually in an underlying database).
-
NO_STORE_AVAILABLE
public static final IssueTypeEnum NO_STORE_AVAILABLE
Display: No Store Available
Code Value: no-store The persistent store is unavailable; e.g. the database is down for maintenance or similar action.
-
EXCEPTION
public static final IssueTypeEnum EXCEPTION
Display: Exception
Code Value: exception An unexpected internal error has occurred.
-
TIMEOUT
public static final IssueTypeEnum TIMEOUT
Display: Timeout
Code Value: timeout An internal timeout has occurred.
-
THROTTLED
public static final IssueTypeEnum THROTTLED
Display: Throttled
Code Value: throttled The system is not prepared to handle this request due to load management.
-
INFORMATIONAL_NOTE
public static final IssueTypeEnum INFORMATIONAL_NOTE
Display: Informational Note
Code Value: informational A message unrelated to the processing success of the completed operation (examples of the latter include things like reminders of password expiry, system maintenance times, etc.).
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: IssueType- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<IssueTypeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static IssueTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IssueTypeEnum c : IssueTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IssueTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forCode
public static IssueTypeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-