Class IssueType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.IssueType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class IssueType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssueType.Builderstatic classIssueType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static IssueTypeBUSINESS_RULEBusiness Rule Violationstatic IssueTypeCODE_INVALIDInvalid Codestatic IssueTypeCONFLICTEdit Version Conflictstatic IssueTypeDELETEDDeletedstatic IssueTypeDUPLICATEDuplicatestatic IssueTypeEXCEPTIONExceptionstatic IssueTypeEXPIREDSession Expiredstatic IssueTypeEXTENSIONUnacceptable Extensionstatic IssueTypeFORBIDDENForbiddenstatic IssueTypeINCOMPLETEIncomplete Resultsstatic IssueTypeINFORMATIONALInformational Notestatic IssueTypeINVALIDInvalid Contentstatic IssueTypeINVARIANTValidation rule failedstatic IssueTypeLOCK_ERRORLock Errorstatic IssueTypeLOGINLogin Requiredstatic IssueTypeMULTIPLE_MATCHESMultiple Matchesstatic IssueTypeNO_STORENo Store Availablestatic IssueTypeNOT_FOUNDNot Foundstatic IssueTypeNOT_SUPPORTEDContent not supportedstatic IssueTypePROCESSINGProcessing Failurestatic IssueTypeREQUIREDRequired element missingstatic IssueTypeSECURITYSecurity Problemstatic IssueTypeSTRUCTUREStructural Issuestatic IssueTypeSUPPRESSEDInformation Suppressedstatic IssueTypeTHROTTLEDThrottledstatic IssueTypeTIMEOUTTimeoutstatic IssueTypeTOO_COSTLYOperation Too Costlystatic IssueTypeTOO_LONGContent Too Longstatic IssueTypeTRANSIENTTransient Issuestatic IssueTypeUNKNOWNUnknown Userstatic IssueTypeVALUEElement value invalid
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueType.Builderbuilder()static Codecode(String value)Inherited factory method for creating IssueType objects from a passed string value.booleanequals(Object obj)IssueType.ValueSetgetValueAsEnumConstant()inthashCode()static IssueTypeof(IssueType.ValueSet value)Factory method for creating IssueType objects from a passed enum value.static IssueTypeof(String value)Factory method for creating IssueType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating IssueType objects from a passed string value.IssueType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
INVALID
public static final IssueType INVALID
Invalid ContentContent invalid against the specification or a profile.
-
STRUCTURE
public static final IssueType STRUCTURE
Structural IssueA structural issue in the content such as wrong namespace, unable to parse the content completely, invalid syntax, etc.
-
REQUIRED
public static final IssueType REQUIRED
Required element missingA required element is missing.
-
VALUE
public static final IssueType VALUE
Element value invalidAn element or header value is invalid.
-
INVARIANT
public static final IssueType INVARIANT
Validation rule failedA content validation rule failed - e.g. a schematron rule.
-
SECURITY
public static final IssueType SECURITY
Security ProblemAn authentication/authorization/permissions issue of some kind.
-
LOGIN
public static final IssueType LOGIN
Login RequiredThe client needs to initiate an authentication process.
-
UNKNOWN
public static final IssueType UNKNOWN
Unknown UserThe user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable).
-
EXPIRED
public static final IssueType EXPIRED
Session ExpiredUser session expired; a login may be required.
-
FORBIDDEN
public static final IssueType FORBIDDEN
ForbiddenThe user does not have the rights to perform this action.
-
SUPPRESSED
public static final IssueType SUPPRESSED
Information SuppressedSome information was not or might 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
public static final IssueType PROCESSING
Processing FailureProcessing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged.
-
NOT_SUPPORTED
public static final IssueType NOT_SUPPORTED
Content not supportedThe interaction, operation, resource or profile is not supported.
-
DUPLICATE
public static final IssueType DUPLICATE
DuplicateAn attempt was made to create a duplicate record.
-
MULTIPLE_MATCHES
public static final IssueType MULTIPLE_MATCHES
Multiple MatchesMultiple matching records were found when the operation required only one match.
-
NOT_FOUND
public static final IssueType NOT_FOUND
Not FoundThe 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.
-
DELETED
public static final IssueType DELETED
DeletedThe reference pointed to content (usually a resource) that has been deleted.
-
TOO_LONG
public static final IssueType TOO_LONG
Content Too LongProvided content is too long (typically, this is a denial of service protection type of error).
-
CODE_INVALID
public static final IssueType CODE_INVALID
Invalid CodeThe code or system could not be understood, or it was not valid in the context of a particular ValueSet.code.
-
EXTENSION
public static final IssueType EXTENSION
Unacceptable ExtensionAn extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized.
-
TOO_COSTLY
public static final IssueType TOO_COSTLY
Operation Too CostlyThe operation was stopped to protect server resources; e.g. a request for a value set expansion on all of SNOMED CT.
-
BUSINESS_RULE
public static final IssueType BUSINESS_RULE
Business Rule ViolationThe content/operation failed to pass some business rule and so could not proceed.
-
CONFLICT
public static final IssueType CONFLICT
Edit Version ConflictContent could not be accepted because of an edit conflict (i.e. version aware updates). (In a pure RESTful environment, this would be an HTTP 409 error, but this code may be used where the conflict is discovered further into the application architecture.).
-
TRANSIENT
public static final IssueType TRANSIENT
Transient IssueTransient processing issues. The system receiving the message may be able to resubmit the same content once an underlying issue is resolved.
-
LOCK_ERROR
public static final IssueType LOCK_ERROR
Lock ErrorA resource/record locking failure (usually in an underlying database).
-
NO_STORE
public static final IssueType NO_STORE
No Store AvailableThe persistent store is unavailable; e.g. the database is down for maintenance or similar action, and the interaction or operation cannot be processed.
-
EXCEPTION
public static final IssueType EXCEPTION
ExceptionAn unexpected internal error has occurred.
-
TIMEOUT
public static final IssueType TIMEOUT
TimeoutAn internal timeout has occurred.
-
INCOMPLETE
public static final IssueType INCOMPLETE
Incomplete ResultsNot all data sources typically accessed could be reached or responded in time, so the returned information might not be complete (applies to search interactions and some operations).
-
THROTTLED
public static final IssueType THROTTLED
ThrottledThe system is not prepared to handle this request due to load management.
-
INFORMATIONAL
public static final IssueType INFORMATIONAL
Informational NoteA 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.).
-
-
Method Detail
-
getValueAsEnumConstant
public IssueType.ValueSet getValueAsEnumConstant()
-
of
public static IssueType of(IssueType.ValueSet value)
Factory method for creating IssueType objects from a passed enum value.
-
of
public static IssueType of(String value)
Factory method for creating IssueType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating IssueType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating IssueType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public IssueType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static IssueType.Builder builder()
-
-