Enum TaskStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<TaskStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.TaskStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<TaskStatus.ValueSet>
- Enclosing class:
- TaskStatus
public static enum TaskStatus.ValueSet extends Enum<TaskStatus.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskStatus.ValueSetfrom(String value)Factory method for creating TaskStatus.ValueSet values from a passed string value.Stringvalue()static TaskStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final TaskStatus.ValueSet DRAFT
DraftThe task is not yet ready to be acted upon.
-
REQUESTED
public static final TaskStatus.ValueSet REQUESTED
RequestedThe task is ready to be acted upon and action is sought.
-
RECEIVED
public static final TaskStatus.ValueSet RECEIVED
ReceivedA potential performer has claimed ownership of the task and is evaluating whether to perform it.
-
ACCEPTED
public static final TaskStatus.ValueSet ACCEPTED
AcceptedThe potential performer has agreed to execute the task but has not yet started work.
-
REJECTED
public static final TaskStatus.ValueSet REJECTED
RejectedThe potential performer who claimed ownership of the task has decided not to execute it prior to performing any action.
-
READY
public static final TaskStatus.ValueSet READY
ReadyThe task is ready to be performed, but no action has yet been taken. Used in place of requested/received/accepted/rejected when request assignment and acceptance is a given.
-
CANCELLED
public static final TaskStatus.ValueSet CANCELLED
CancelledThe task was not completed.
-
IN_PROGRESS
public static final TaskStatus.ValueSet IN_PROGRESS
In ProgressThe task has been started but is not yet complete.
-
ON_HOLD
public static final TaskStatus.ValueSet ON_HOLD
On HoldThe task has been started but work has been paused.
-
FAILED
public static final TaskStatus.ValueSet FAILED
FailedThe task was attempted but could not be completed due to some error.
-
COMPLETED
public static final TaskStatus.ValueSet COMPLETED
CompletedThe task has been completed.
-
ENTERED_IN_ERROR
public static final TaskStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThe task should never have existed and is retained only because of the possibility it may have used.
-
-
Method Detail
-
values
public static TaskStatus.ValueSet[] 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 (TaskStatus.ValueSet c : TaskStatus.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskStatus.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static TaskStatus.ValueSet from(String value)
Factory method for creating TaskStatus.ValueSet values 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
-
-