Class FilterOperator

  • All Implemented Interfaces:
    Visitable

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

      • EQUALS

        public static final FilterOperator EQUALS
        Equals

        The specified property of the code equals the provided value.

      • IS_A

        public static final FilterOperator IS_A
        Is A (by subsumption)

        Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself (include descendant codes and self).

      • DESCENDENT_OF

        public static final FilterOperator DESCENDENT_OF
        Descendent Of (by subsumption)

        Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, excluding the provided concept itself i.e. include descendant codes only).

      • IS_NOT_A

        public static final FilterOperator IS_NOT_A
        Not (Is A) (by subsumption)

        The specified property of the code does not have an is-a relationship with the provided value.

      • REGEX

        public static final FilterOperator REGEX
        Regular Expression

        The specified property of the code matches the regex specified in the provided value.

      • IN

        public static final FilterOperator IN
        In Set

        The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list).

      • NOT_IN

        public static final FilterOperator NOT_IN
        Not in Set

        The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list).

      • GENERALIZES

        public static final FilterOperator GENERALIZES
        Generalizes (by Subsumption)

        Includes all concept ids that have a transitive is-a relationship from the concept Id provided as the value, including the provided concept itself (i.e. include ancestor codes and self).

      • EXISTS

        public static final FilterOperator EXISTS
        Exists

        The specified property of the code has at least one value (if the specified value is true; if the specified value is false, then matches when the specified property of the code has no values).

    • Method Detail

      • of

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