Package org.hl7.fhir.r4.model
Enum Task.TaskStatus
- All Implemented Interfaces:
Serializable
,Comparable<Task.TaskStatus>
- Enclosing class:
Task
-
Enum Constant Summary
Enum ConstantDescriptionThe potential performer has agreed to execute the task but has not yet started work.The task was not completed.The task has been completed.The task is not yet ready to be acted upon.The task should never have existed and is retained only because of the possibility it may have used.The task was attempted but could not be completed due to some error.The task has been started but is not yet complete.added to help the parsers with the generic typesThe task has been started but work has been paused.The task is ready to be performed, but no action has yet been taken.A potential performer has claimed ownership of the task and is evaluating whether to perform it.The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action.The task is ready to be acted upon and action is sought. -
Method Summary
Modifier and TypeMethodDescriptionstatic Task.TaskStatus
toCode()
static Task.TaskStatus
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 Details
-
DRAFT
The task is not yet ready to be acted upon. -
REQUESTED
The task is ready to be acted upon and action is sought. -
RECEIVED
A potential performer has claimed ownership of the task and is evaluating whether to perform it. -
ACCEPTED
The potential performer has agreed to execute the task but has not yet started work. -
REJECTED
The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action. -
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
The task was not completed. -
INPROGRESS
The task has been started but is not yet complete. -
ONHOLD
The task has been started but work has been paused. -
FAILED
The task was attempted but could not be completed due to some error. -
COMPLETED
The task has been completed. -
ENTEREDINERROR
The task should never have existed and is retained only because of the possibility it may have used. -
NULL
added to help the parsers with the generic types
-
-
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
-
fromCode
public static Task.TaskStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-