IssueType
public enum IssueType: String
A code that describes the type of issue.
URL: http://hl7.org/fhir/issue-type ValueSet: http://hl7.org/fhir/ValueSet/issue-type
-
Content invalid against the specification or a profile.
Declaration
Swift
case invalid = "invalid"
-
A structural issue in the content such as wrong namespace, or unable to parse the content completely, or invalid json syntax.
Declaration
Swift
case structure = "structure"
-
A required element is missing.
Declaration
Swift
case required = "required"
-
An element value is invalid.
Declaration
Swift
case value = "value"
-
A content validation rule failed - e.g. a schematron rule.
Declaration
Swift
case invariant = "invariant"
-
An authentication/authorization/permissions issue of some kind.
Declaration
Swift
case security = "security"
-
The client needs to initiate an authentication process.
Declaration
Swift
case login = "login"
-
The user or system was not able to be authenticated (either there is no process, or the proferred token is unacceptable).
Declaration
Swift
case unknown = "unknown"
-
User session expired; a login may be required.
Declaration
Swift
case expired = "expired"
-
The user does not have the rights to perform this action.
Declaration
Swift
case forbidden = "forbidden"
-
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.
Declaration
Swift
case suppressed = "suppressed"
-
Processing issues. These are expected to be final e.g. there is no point resubmitting the same content unchanged.
Declaration
Swift
case processing = "processing"
-
The resource or profile is not supported.
Declaration
Swift
case notSupported = "not-supported"
-
An attempt was made to create a duplicate record.
Declaration
Swift
case duplicate = "duplicate"
-
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.
Declaration
Swift
case notFound = "not-found"
-
Provided content is too long (typically, this is a denial of service protection type of error).
Declaration
Swift
case tooLong = "too-long"
-
The code or system could not be understood, or it was not valid in the context of a particular ValueSet.code.
Declaration
Swift
case codeInvalid = "code-invalid"
-
An extension was found that was not acceptable, could not be resolved, or a modifierExtension was not recognized.
Declaration
Swift
case extension_fhir = "extension"
-
The operation was stopped to protect server resources; e.g. a request for a value set expansion on all of SNOMED CT.
Declaration
Swift
case tooCostly = "too-costly"
-
The content/operation failed to pass some business rule, and so could not proceed.
Declaration
Swift
case businessRule = "business-rule"
-
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.)
Declaration
Swift
case conflict = "conflict"
-
Not all data sources typically accessed could be reached, or responded in time, so the returned information may not be complete.
Declaration
Swift
case incomplete = "incomplete"
-
Transient processing issues. The system receiving the error may be able to resubmit the same content once an underlying issue is resolved.
Declaration
Swift
case transient = "transient"
-
A resource/record locking failure (usually in an underlying database).
Declaration
Swift
case lockError = "lock-error"
-
The persistent store is unavailable; e.g. the database is down for maintenance or similar action.
Declaration
Swift
case noStore = "no-store"
-
An unexpected internal error has occurred.
Declaration
Swift
case exception = "exception"
-
An internal timeout has occurred.
Declaration
Swift
case timeout = "timeout"
-
The system is not prepared to handle this request due to load management.
Declaration
Swift
case throttled = "throttled"
-
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.).
Declaration
Swift
case informational = "informational"