Class VariableType

  • All Implemented Interfaces:
    Visitable

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

      • DICHOTOMOUS

        public static final VariableType DICHOTOMOUS
        Dichotomous

        The variable is dichotomous, such as present or absent.

      • CONTINUOUS

        public static final VariableType CONTINUOUS
        Continuous

        The variable is a continuous result such as a quantity.

      • DESCRIPTIVE

        public static final VariableType DESCRIPTIVE
        Descriptive

        The variable is described narratively rather than quantitatively.

    • Method Detail

      • of

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