Enum Task.TaskStatus

All Implemented Interfaces:
Serializable, Comparable<Task.TaskStatus>
Enclosing class:

public static enum Task.TaskStatus extends Enum<Task.TaskStatus>
  • Enum Constant Details

    • DRAFT

      public static final Task.TaskStatus DRAFT
      The task is not yet ready to be acted upon.

      public static final Task.TaskStatus REQUESTED
      The task is ready to be acted upon and action is sought.

      public static final Task.TaskStatus RECEIVED
      A potential performer has claimed ownership of the task and is evaluating whether to perform it.

      public static final Task.TaskStatus ACCEPTED
      The potential performer has agreed to execute the task but has not yet started work.

      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
      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.

      public static final Task.TaskStatus CANCELLED
      The task was not completed.

      public static final Task.TaskStatus INPROGRESS
      Task has been started but is not yet complete.
    • ONHOLD

      public static final Task.TaskStatus ONHOLD
      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.

      public static final Task.TaskStatus COMPLETED
      The task has been completed.

      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 Details

    • values

      public static Task.TaskStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromCode

      public static Task.TaskStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()