public static class Questionnaire.QuestionnaireItemEnableWhenComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
answer
A value that the referenced question is tested using the specified operator in order for the item to be enabled.
|
protected Enumeration<Questionnaire.QuestionnaireItemOperator> |
operator
Specifies the criteria by which the question is enabled.
|
protected StringType |
question
The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.
|
modifierExtension| Constructor and Description |
|---|
QuestionnaireItemEnableWhenComponent()
Constructor
|
QuestionnaireItemEnableWhenComponent(StringType question,
Enumeration<Questionnaire.QuestionnaireItemOperator> operator,
Type answer)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected StringType question
protected Enumeration<Questionnaire.QuestionnaireItemOperator> operator
public QuestionnaireItemEnableWhenComponent()
public QuestionnaireItemEnableWhenComponent(StringType question, Enumeration<Questionnaire.QuestionnaireItemOperator> operator, Type answer)
public StringType getQuestionElement()
question (The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.). This is the underlying object with id, value and extensions. The accessor "getQuestion" gives direct access to the valuepublic boolean hasQuestionElement()
public boolean hasQuestion()
public Questionnaire.QuestionnaireItemEnableWhenComponent setQuestionElement(StringType value)
value - question (The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.). This is the underlying object with id, value and extensions. The accessor "getQuestion" gives direct access to the valuepublic String getQuestion()
public Questionnaire.QuestionnaireItemEnableWhenComponent setQuestion(String value)
value - The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.public Enumeration<Questionnaire.QuestionnaireItemOperator> getOperatorElement()
operator (Specifies the criteria by which the question is enabled.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the valuepublic boolean hasOperatorElement()
public boolean hasOperator()
public Questionnaire.QuestionnaireItemEnableWhenComponent setOperatorElement(Enumeration<Questionnaire.QuestionnaireItemOperator> value)
value - operator (Specifies the criteria by which the question is enabled.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the valuepublic Questionnaire.QuestionnaireItemOperator getOperator()
public Questionnaire.QuestionnaireItemEnableWhenComponent setOperator(Questionnaire.QuestionnaireItemOperator value)
value - Specifies the criteria by which the question is enabled.public Type getAnswer()
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)public BooleanType getAnswerBooleanType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerBooleanType()
public DecimalType getAnswerDecimalType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDecimalType()
public IntegerType getAnswerIntegerType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerIntegerType()
public DateType getAnswerDateType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDateType()
public DateTimeType getAnswerDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDateTimeType()
public TimeType getAnswerTimeType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerTimeType()
public StringType getAnswerStringType() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerStringType()
public Coding getAnswerCoding() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerCoding()
public Quantity getAnswerQuantity() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerQuantity()
public Reference getAnswerReference() throws org.hl7.fhir.exceptions.FHIRException
answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerReference()
public boolean hasAnswer()
public Questionnaire.QuestionnaireItemEnableWhenComponent setAnswer(Type value)
value - answer (A value that the referenced question is tested using the specified operator in order for the item to be enabled.)protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Questionnaire.QuestionnaireItemEnableWhenComponent copy()
copy in class BackboneElementpublic void copyValues(Questionnaire.QuestionnaireItemEnableWhenComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.