Class SearchComparator

  • All Implemented Interfaces:
    Visitable

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

      • EQ

        public static final SearchComparator EQ
        Equals

        the value for the parameter in the resource is equal to the provided value.

      • NE

        public static final SearchComparator NE
        Not Equals

        the value for the parameter in the resource is not equal to the provided value.

      • GT

        public static final SearchComparator GT
        Greater Than

        the value for the parameter in the resource is greater than the provided value.

      • LT

        public static final SearchComparator LT
        Less Than

        the value for the parameter in the resource is less than the provided value.

      • GE

        public static final SearchComparator GE
        Greater or Equals

        the value for the parameter in the resource is greater or equal to the provided value.

      • LE

        public static final SearchComparator LE
        Less of Equal

        the value for the parameter in the resource is less or equal to the provided value.

      • SA

        public static final SearchComparator SA
        Starts After

        the value for the parameter in the resource starts after the provided value.

      • EB

        public static final SearchComparator EB
        Ends Before

        the value for the parameter in the resource ends before the provided value.

      • AP

        public static final SearchComparator AP
        Approximately

        the value for the parameter in the resource is approximately the same to the provided value.

    • Method Detail

      • of

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