Package com.ibm.fhir.model.type.code
Enum QuestionnaireItemOperator.ValueSet
- java.lang.Object
-
- java.lang.Enum<QuestionnaireItemOperator.ValueSet>
-
- com.ibm.fhir.model.type.code.QuestionnaireItemOperator.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<QuestionnaireItemOperator.ValueSet>
- Enclosing class:
- QuestionnaireItemOperator
public static enum QuestionnaireItemOperator.ValueSet extends Enum<QuestionnaireItemOperator.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSEqualsEXISTSExistsGREATER_OR_EQUALSGreater or EqualsGREATER_THANGreater ThanLESS_OR_EQUALSLess or EqualsLESS_THANLess ThanNOT_EQUALSNot Equals
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuestionnaireItemOperator.ValueSetfrom(String value)Factory method for creating QuestionnaireItemOperator.ValueSet values from a passed string value.Stringvalue()static QuestionnaireItemOperator.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static QuestionnaireItemOperator.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXISTS
public static final QuestionnaireItemOperator.ValueSet EXISTS
ExistsTrue if whether an answer exists is equal to the enableWhen answer (which must be a boolean).
-
EQUALS
public static final QuestionnaireItemOperator.ValueSet EQUALS
EqualsTrue if whether at least one answer has a value that is equal to the enableWhen answer.
-
NOT_EQUALS
public static final QuestionnaireItemOperator.ValueSet NOT_EQUALS
Not EqualsTrue if whether at least no answer has a value that is equal to the enableWhen answer.
-
GREATER_THAN
public static final QuestionnaireItemOperator.ValueSet GREATER_THAN
Greater ThanTrue if whether at least no answer has a value that is greater than the enableWhen answer.
-
LESS_THAN
public static final QuestionnaireItemOperator.ValueSet LESS_THAN
Less ThanTrue if whether at least no answer has a value that is less than the enableWhen answer.
-
GREATER_OR_EQUALS
public static final QuestionnaireItemOperator.ValueSet GREATER_OR_EQUALS
Greater or EqualsTrue if whether at least no answer has a value that is greater or equal to the enableWhen answer.
-
LESS_OR_EQUALS
public static final QuestionnaireItemOperator.ValueSet LESS_OR_EQUALS
Less or EqualsTrue if whether at least no answer has a value that is less or equal to the enableWhen answer.
-
-
Method Detail
-
values
public static QuestionnaireItemOperator.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 (QuestionnaireItemOperator.ValueSet c : QuestionnaireItemOperator.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 QuestionnaireItemOperator.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 QuestionnaireItemOperator.ValueSet from(String value)
Factory method for creating QuestionnaireItemOperator.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
-
-