Enum FilterOperator.ValueSet
- java.lang.Object
-
- java.lang.Enum<FilterOperator.ValueSet>
-
- com.ibm.fhir.model.type.code.FilterOperator.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<FilterOperator.ValueSet>
- Enclosing class:
- FilterOperator
public static enum FilterOperator.ValueSet extends Enum<FilterOperator.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESCENDENT_OFDescendent Of (by subsumption)EQUALSEqualsEXISTSExistsGENERALIZESGeneralizes (by Subsumption)INIn SetIS_AIs A (by subsumption)IS_NOT_ANot (Is A) (by subsumption)NOT_INNot in SetREGEXRegular Expression
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterOperator.ValueSetfrom(String value)Factory method for creating FilterOperator.ValueSet values from a passed string value.Stringvalue()static FilterOperator.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static FilterOperator.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final FilterOperator.ValueSet EQUALS
EqualsThe specified property of the code equals the provided value.
-
IS_A
public static final FilterOperator.ValueSet 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.ValueSet 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.ValueSet 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.ValueSet REGEX
Regular ExpressionThe specified property of the code matches the regex specified in the provided value.
-
IN
public static final FilterOperator.ValueSet IN
In SetThe 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.ValueSet NOT_IN
Not in SetThe 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.ValueSet 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.ValueSet EXISTS
ExistsThe 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
-
values
public static FilterOperator.ValueSet[] 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 (FilterOperator.ValueSet c : FilterOperator.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterOperator.ValueSet 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 nameNullPointerException- if the argument is null
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static FilterOperator.ValueSet from(String value)
Factory method for creating FilterOperator.ValueSet values 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
-
-