Package org.hl7.fhir.r4.model
Enum Questionnaire.QuestionnaireItemOperator
- java.lang.Object
-
- java.lang.Enum<Questionnaire.QuestionnaireItemOperator>
-
- org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator
-
- All Implemented Interfaces:
Serializable,Comparable<Questionnaire.QuestionnaireItemOperator>
- Enclosing class:
- Questionnaire
public static enum Questionnaire.QuestionnaireItemOperator extends Enum<Questionnaire.QuestionnaireItemOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALTrue if whether at least one answer has a value that is equal to the enableWhen answer.EXISTSTrue if whether an answer exists is equal to the enableWhen answer (which must be a boolean).GREATER_OR_EQUALTrue if whether at least no answer has a value that is greater or equal to the enableWhen answer.GREATER_THANTrue if whether at least no answer has a value that is greater than the enableWhen answer.LESS_OR_EQUALTrue if whether at least no answer has a value that is less or equal to the enableWhen answer.LESS_THANTrue if whether at least no answer has a value that is less than the enableWhen answer.NOT_EQUALTrue if whether at least no answer has a value that is equal to the enableWhen answer.NULLadded to help the parsers with the generic types
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Questionnaire.QuestionnaireItemOperatorfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Questionnaire.QuestionnaireItemOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static Questionnaire.QuestionnaireItemOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXISTS
public static final Questionnaire.QuestionnaireItemOperator EXISTS
True if whether an answer exists is equal to the enableWhen answer (which must be a boolean).
-
EQUAL
public static final Questionnaire.QuestionnaireItemOperator EQUAL
True if whether at least one answer has a value that is equal to the enableWhen answer.
-
NOT_EQUAL
public static final Questionnaire.QuestionnaireItemOperator NOT_EQUAL
True if whether at least no answer has a value that is equal to the enableWhen answer.
-
GREATER_THAN
public static final Questionnaire.QuestionnaireItemOperator GREATER_THAN
True if whether at least no answer has a value that is greater than the enableWhen answer.
-
LESS_THAN
public static final Questionnaire.QuestionnaireItemOperator LESS_THAN
True if whether at least no answer has a value that is less than the enableWhen answer.
-
GREATER_OR_EQUAL
public static final Questionnaire.QuestionnaireItemOperator GREATER_OR_EQUAL
True if whether at least no answer has a value that is greater or equal to the enableWhen answer.
-
LESS_OR_EQUAL
public static final Questionnaire.QuestionnaireItemOperator LESS_OR_EQUAL
True if whether at least no answer has a value that is less or equal to the enableWhen answer.
-
NULL
public static final Questionnaire.QuestionnaireItemOperator NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Questionnaire.QuestionnaireItemOperator[] 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 (Questionnaire.QuestionnaireItemOperator c : Questionnaire.QuestionnaireItemOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Questionnaire.QuestionnaireItemOperator 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
-
fromCode
public static Questionnaire.QuestionnaireItemOperator fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-