Enum SearchComparator

    • Enum Constant Detail

      • EQ

        public static final SearchComparator EQ
        the value for the parameter in the resource is equal to the provided value
      • NE

        public static final SearchComparator NE
        the value for the parameter in the resource is not equal to the provided value
      • GT

        public static final SearchComparator GT
        the value for the parameter in the resource is greater than the provided value
      • LT

        public static final SearchComparator LT
        the value for the parameter in the resource is less than the provided value
      • GE

        public static final SearchComparator GE
        the value for the parameter in the resource is greater or equal to the provided value
      • LE

        public static final SearchComparator LE
        the value for the parameter in the resource is less or equal to the provided value
      • SA

        public static final SearchComparator SA
        the value for the parameter in the resource starts after the provided value
      • EB

        public static final SearchComparator EB
        the value for the parameter in the resource ends before the provided value
      • AP

        public static final SearchComparator AP
        the value for the parameter in the resource is approximately the same to the provided value.
    • Method Detail

      • values

        public static SearchComparator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchComparator c : SearchComparator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchComparator 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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromCode

        public static SearchComparator fromCode​(String codeString)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException