Package ca.uhn.fhir.model.dstu2.valueset
Enum ResponseTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<ResponseTypeEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Fatal Error
Code Value: fatal-error The message was rejected because of some content in it.Display: OK
Code Value: ok The message was accepted and processed without error.Display: Transient Error
Code Value: transient-error Some internal unexpected error occurred - wait and try again. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<ResponseTypeEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: ResponseType -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseTypeEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic ResponseTypeEnum
Returns the enum constant of this type with the specified name.static ResponseTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
Display: OK
Code Value: ok The message was accepted and processed without error. -
TRANSIENT_ERROR
Display: Transient Error
Code Value: transient-error Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required. -
FATAL_ERROR
Display: Fatal Error
Code Value: fatal-error The message was rejected because of some content in it. There is no point in re-sending without change. The response narrative SHALL describe the issue.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: ResponseType- See Also:
-
VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
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
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-