Class TaskStatus

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class TaskStatus
    extends Code
    • Field Detail

      • DRAFT

        public static final TaskStatus DRAFT
        Draft

        The task is not yet ready to be acted upon.

      • REQUESTED

        public static final TaskStatus REQUESTED
        Requested

        The task is ready to be acted upon and action is sought.

      • RECEIVED

        public static final TaskStatus RECEIVED
        Received

        A potential performer has claimed ownership of the task and is evaluating whether to perform it.

      • ACCEPTED

        public static final TaskStatus ACCEPTED
        Accepted

        The potential performer has agreed to execute the task but has not yet started work.

      • REJECTED

        public static final TaskStatus REJECTED
        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 TaskStatus READY
        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 TaskStatus CANCELLED
        Cancelled

        The task was not completed.

      • IN_PROGRESS

        public static final TaskStatus IN_PROGRESS
        In Progress

        The task has been started but is not yet complete.

      • ON_HOLD

        public static final TaskStatus ON_HOLD
        On Hold

        The task has been started but work has been paused.

      • FAILED

        public static final TaskStatus FAILED
        Failed

        The task was attempted but could not be completed due to some error.

      • COMPLETED

        public static final TaskStatus COMPLETED
        Completed

        The task has been completed.

      • ENTERED_IN_ERROR

        public static final TaskStatus ENTERED_IN_ERROR
        Entered in Error

        The task should never have existed and is retained only because of the possibility it may have used.

    • Method Detail

      • 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
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code