Package com.ibm.fhir.model.type.code
Class QuestionnaireItemOperator
- 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.QuestionnaireItemOperator
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class QuestionnaireItemOperator extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionnaireItemOperator.Builderstatic classQuestionnaireItemOperator.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static QuestionnaireItemOperatorEQUALSEqualsstatic QuestionnaireItemOperatorEXISTSExistsstatic QuestionnaireItemOperatorGREATER_OR_EQUALSGreater or Equalsstatic QuestionnaireItemOperatorGREATER_THANGreater Thanstatic QuestionnaireItemOperatorLESS_OR_EQUALSLess or Equalsstatic QuestionnaireItemOperatorLESS_THANLess Thanstatic QuestionnaireItemOperatorNOT_EQUALSNot Equals
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuestionnaireItemOperator.Builderbuilder()static Codecode(String value)Inherited factory method for creating QuestionnaireItemOperator objects from a passed string value.booleanequals(Object obj)QuestionnaireItemOperator.ValueSetgetValueAsEnumConstant()inthashCode()static QuestionnaireItemOperatorof(QuestionnaireItemOperator.ValueSet value)Factory method for creating QuestionnaireItemOperator objects from a passed enum value.static QuestionnaireItemOperatorof(String value)Factory method for creating QuestionnaireItemOperator objects from a passed string value.static Stringstring(String value)Inherited factory method for creating QuestionnaireItemOperator objects from a passed string value.QuestionnaireItemOperator.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
-
EXISTS
public static final QuestionnaireItemOperator EXISTS
ExistsTrue if whether an answer exists is equal to the enableWhen answer (which must be a boolean).
-
EQUALS
public static final QuestionnaireItemOperator EQUALS
EqualsTrue if whether at least one answer has a value that is equal to the enableWhen answer.
-
NOT_EQUALS
public static final QuestionnaireItemOperator 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 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 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 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 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
-
getValueAsEnumConstant
public QuestionnaireItemOperator.ValueSet getValueAsEnumConstant()
-
of
public static QuestionnaireItemOperator of(QuestionnaireItemOperator.ValueSet value)
Factory method for creating QuestionnaireItemOperator objects from a passed enum value.
-
of
public static QuestionnaireItemOperator of(String value)
Factory method for creating QuestionnaireItemOperator 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 QuestionnaireItemOperator 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 QuestionnaireItemOperator 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 QuestionnaireItemOperator.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static QuestionnaireItemOperator.Builder builder()
-
-