Class TaskIntent

  • All Implemented Interfaces:
    Visitable

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

      • UNKNOWN

        public static final TaskIntent UNKNOWN
        Unknown

        The intent is not known. When dealing with Task, it's not always known (or relevant) how the task was initiated - i. e. whether it was proposed, planned, ordered or just done spontaneously.

      • PROPOSAL

        public static final TaskIntent PROPOSAL
      • ORIGINAL_ORDER

        public static final TaskIntent ORIGINAL_ORDER
      • REFLEX_ORDER

        public static final TaskIntent REFLEX_ORDER
      • FILLER_ORDER

        public static final TaskIntent FILLER_ORDER
      • INSTANCE_ORDER

        public static final TaskIntent INSTANCE_ORDER
    • Method Detail

      • of

        public static TaskIntent of​(String value)
        Factory method for creating TaskIntent 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 TaskIntent 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 TaskIntent 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