Package org.hl7.fhir.dstu3.model
Enum OperationOutcome.IssueType
- All Implemented Interfaces:
Serializable
,Comparable<OperationOutcome.IssueType>
- Enclosing class:
OperationOutcome
-
Enum Constant Summary
Enum ConstantDescriptionThe content/operation failed to pass some business rule, and so could not proceed.The code or system could not be understood, or it was not valid in the context of a particular ValueSet.code.Content could not be accepted because of an edit conflict (i.e.An attempt was made to create a duplicate record.An unexpected internal error has occurred.User session expired; a login may be required.An extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized.The user does not have the rights to perform this action.Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete.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.).Content invalid against the specification or a profile.A content validation rule failed - e.g.A resource/record locking failure (usually in an underlying database).The client needs to initiate an authentication process.The persistent store is unavailable; e.g.The reference provided was not found.The resource or profile is not supported.added to help the parsers with the generic typesProcessing issues.A required element is missing.An authentication/authorization/permissions issue of some kind.A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax.Some information was not or may not have been returned due to business rules, consent or privacy rules, or access permission constraints.The system is not prepared to handle this request due to load management.An internal timeout has occurred.The operation was stopped to protect server resources; e.g.Provided content is too long (typically, this is a denial of service protection type of error).Transient processing issues.The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable).An element value is invalid. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationOutcome.IssueType
toCode()
static OperationOutcome.IssueType
Returns the enum constant of this type with the specified name.static OperationOutcome.IssueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
Content invalid against the specification or a profile. -
STRUCTURE
A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax. -
REQUIRED
A required element is missing. -
VALUE
An element value is invalid. -
INVARIANT
A content validation rule failed - e.g. a schematron rule. -
SECURITY
An authentication/authorization/permissions issue of some kind. -
LOGIN
The client needs to initiate an authentication process. -
UNKNOWN
The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable). -
EXPIRED
User session expired; a login may be required. -
FORBIDDEN
The user does not have the rights to perform this action. -
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
Processing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged. -
NOTSUPPORTED
The resource or profile is not supported. -
DUPLICATE
An attempt was made to create a duplicate record. -
NOTFOUND
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. -
TOOLONG
Provided content is too long (typically, this is a denial of service protection type of error). -
CODEINVALID
The code or system could not be understood, or it was not valid in the context of a particular ValueSet.code. -
EXTENSION
An extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized. -
TOOCOSTLY
The operation was stopped to protect server resources; e.g. a request for a value set expansion on all of SNOMED CT. -
BUSINESSRULE
The content/operation failed to pass some business rule, and so could not proceed. -
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
Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete. -
TRANSIENT
Transient processing issues. The system receiving the error may be able to resubmit the same content once an underlying issue is resolved. -
LOCKERROR
A resource/record locking failure (usually in an underlying database). -
NOSTORE
The persistent store is unavailable; e.g. the database is down for maintenance or similar action. -
EXCEPTION
An unexpected internal error has occurred. -
TIMEOUT
An internal timeout has occurred. -
THROTTLED
The system is not prepared to handle this request due to load management. -
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.). -
NULL
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromCode
public static OperationOutcome.IssueType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-