Package org.hl7.fhir.r4.model
Enum Task.TaskStatus
- java.lang.Object
-
- java.lang.Enum<Task.TaskStatus>
-
- org.hl7.fhir.r4.model.Task.TaskStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Task.TaskStatus>
- Enclosing class:
- Task
public static enum Task.TaskStatus extends Enum<Task.TaskStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDThe potential performer has agreed to execute the task but has not yet started work.CANCELLEDThe task was not completed.COMPLETEDThe task has been completed.DRAFTThe task is not yet ready to be acted upon.ENTEREDINERRORThe task should never have existed and is retained only because of the possibility it may have used.FAILEDThe task was attempted but could not be completed due to some error.INPROGRESSThe task has been started but is not yet complete.NULLadded to help the parsers with the generic typesONHOLDThe task has been started but work has been paused.READYThe task is ready to be performed, but no action has yet been taken.RECEIVEDA potential performer has claimed ownership of the task and is evaluating whether to perform it.REJECTEDThe potential performer who claimed ownership of the task has decided not to execute it prior to performing any action.REQUESTEDThe task is ready to be acted upon and action is sought.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Task.TaskStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Task.TaskStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Task.TaskStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final Task.TaskStatus DRAFT
The task is not yet ready to be acted upon.
-
REQUESTED
public static final Task.TaskStatus REQUESTED
The task is ready to be acted upon and action is sought.
-
RECEIVED
public static final Task.TaskStatus RECEIVED
A potential performer has claimed ownership of the task and is evaluating whether to perform it.
-
ACCEPTED
public static final Task.TaskStatus ACCEPTED
The potential performer has agreed to execute the task but has not yet started work.
-
REJECTED
public static final Task.TaskStatus REJECTED
The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action.
-
READY
public static final Task.TaskStatus READY
The 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 Task.TaskStatus CANCELLED
The task was not completed.
-
INPROGRESS
public static final Task.TaskStatus INPROGRESS
The task has been started but is not yet complete.
-
ONHOLD
public static final Task.TaskStatus ONHOLD
The task has been started but work has been paused.
-
FAILED
public static final Task.TaskStatus FAILED
The task was attempted but could not be completed due to some error.
-
COMPLETED
public static final Task.TaskStatus COMPLETED
The task has been completed.
-
ENTEREDINERROR
public static final Task.TaskStatus ENTEREDINERROR
The task should never have existed and is retained only because of the possibility it may have used.
-
NULL
public static final Task.TaskStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Task.TaskStatus[] 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 (Task.TaskStatus c : Task.TaskStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Task.TaskStatus 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
-
fromCode
public static Task.TaskStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-