Class FilterOperator
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.FilterOperator
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class FilterOperator extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterOperator.Builderstatic classFilterOperator.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static FilterOperatorDESCENDENT_OFDescendent Of (by subsumption)static FilterOperatorEQUALSEqualsstatic FilterOperatorEXISTSExistsstatic FilterOperatorGENERALIZESGeneralizes (by Subsumption)static FilterOperatorINIn Setstatic FilterOperatorIS_AIs A (by subsumption)static FilterOperatorIS_NOT_ANot (Is A) (by subsumption)static FilterOperatorNOT_INNot in Setstatic FilterOperatorREGEXRegular Expression
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterOperator.Builderbuilder()static Codecode(String value)Inherited factory method for creating FilterOperator objects from a passed string value.booleanequals(Object obj)FilterOperator.ValueSetgetValueAsEnumConstant()inthashCode()static FilterOperatorof(FilterOperator.ValueSet value)Factory method for creating FilterOperator objects from a passed enum value.static FilterOperatorof(String value)Factory method for creating FilterOperator objects from a passed string value.static Stringstring(String value)Inherited factory method for creating FilterOperator objects from a passed string value.FilterOperator.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
EQUALS
public static final FilterOperator EQUALS
EqualsThe 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 ExpressionThe specified property of the code matches the regex specified in the provided value.
-
IN
public static final FilterOperator 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 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 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
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
-
getValueAsEnumConstant
public FilterOperator.ValueSet getValueAsEnumConstant()
-
of
public static FilterOperator of(FilterOperator.ValueSet value)
Factory method for creating FilterOperator objects from a passed enum value.
-
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
-
toBuilder
public FilterOperator.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static FilterOperator.Builder builder()
-
-