Class TaskStatus
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.TaskStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class TaskStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskStatus.Builderstatic classTaskStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static TaskStatusACCEPTEDAcceptedstatic TaskStatusCANCELLEDCancelledstatic TaskStatusCOMPLETEDCompletedstatic TaskStatusDRAFTDraftstatic TaskStatusENTERED_IN_ERROREntered in Errorstatic TaskStatusFAILEDFailedstatic TaskStatusIN_PROGRESSIn Progressstatic TaskStatusON_HOLDOn Holdstatic TaskStatusREADYReadystatic TaskStatusRECEIVEDReceivedstatic TaskStatusREJECTEDRejectedstatic TaskStatusREQUESTEDRequested
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating TaskStatus objects from a passed string value.booleanequals(Object obj)TaskStatus.ValueSetgetValueAsEnumConstant()inthashCode()static TaskStatusof(TaskStatus.ValueSet value)Factory method for creating TaskStatus objects from a passed enum value.static TaskStatusof(String value)Factory method for creating TaskStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating TaskStatus objects from a passed string value.TaskStatus.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
DRAFT
public static final TaskStatus DRAFT
DraftThe task is not yet ready to be acted upon.
-
REQUESTED
public static final TaskStatus REQUESTED
RequestedThe task is ready to be acted upon and action is sought.
-
RECEIVED
public static final TaskStatus RECEIVED
ReceivedA potential performer has claimed ownership of the task and is evaluating whether to perform it.
-
ACCEPTED
public static final TaskStatus ACCEPTED
AcceptedThe potential performer has agreed to execute the task but has not yet started work.
-
REJECTED
public static final TaskStatus 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 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 CANCELLED
CancelledThe task was not completed.
-
IN_PROGRESS
public static final TaskStatus IN_PROGRESS
In ProgressThe task has been started but is not yet complete.
-
ON_HOLD
public static final TaskStatus ON_HOLD
On HoldThe task has been started but work has been paused.
-
FAILED
public static final TaskStatus FAILED
FailedThe task was attempted but could not be completed due to some error.
-
COMPLETED
public static final TaskStatus COMPLETED
CompletedThe task has been completed.
-
ENTERED_IN_ERROR
public static final TaskStatus 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
-
getValueAsEnumConstant
public TaskStatus.ValueSet getValueAsEnumConstant()
-
of
public static TaskStatus of(TaskStatus.ValueSet value)
Factory method for creating TaskStatus objects from a passed enum value.
-
of
public static TaskStatus of(String value)
Factory method for creating TaskStatus objects 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
-
string
public static String string(String value)
Inherited factory method for creating TaskStatus objects 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
-
code
public static Code code(String value)
Inherited factory method for creating TaskStatus objects 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
-
toBuilder
public TaskStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static TaskStatus.Builder builder()
-
-