public static class Questionnaire.QuestionnaireItemEnableWhenComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
answer
An answer that the referenced question must match in order for the item to be enabled.
|
protected BooleanType |
hasAnswer
An indication that this item should be enabled only if the specified question is answered (hasAnswer=true) or not answered (hasAnswer=false).
|
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)
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected StringType question
protected BooleanType hasAnswer
public QuestionnaireItemEnableWhenComponent()
public QuestionnaireItemEnableWhenComponent(StringType question)
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 BooleanType getHasAnswerElement()
hasAnswer (An indication that this item should be enabled only if the specified question is answered (hasAnswer=true) or not answered (hasAnswer=false).). This is the underlying object with id, value and extensions. The accessor "getHasAnswer" gives direct access to the valuepublic boolean hasHasAnswerElement()
public boolean hasHasAnswer()
public Questionnaire.QuestionnaireItemEnableWhenComponent setHasAnswerElement(BooleanType value)
value - hasAnswer (An indication that this item should be enabled only if the specified question is answered (hasAnswer=true) or not answered (hasAnswer=false).). This is the underlying object with id, value and extensions. The accessor "getHasAnswer" gives direct access to the valuepublic boolean getHasAnswer()
public Questionnaire.QuestionnaireItemEnableWhenComponent setHasAnswer(boolean value)
value - An indication that this item should be enabled only if the specified question is answered (hasAnswer=true) or not answered (hasAnswer=false).public Type getAnswer()
answer (An answer that the referenced question must match in order for the item to be enabled.)public BooleanType getAnswerBooleanType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerBooleanType()
public DecimalType getAnswerDecimalType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerDecimalType()
public IntegerType getAnswerIntegerType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerIntegerType()
public DateType getAnswerDateType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerDateType()
public DateTimeType getAnswerDateTimeType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerDateTimeType()
public TimeType getAnswerTimeType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerTimeType()
public StringType getAnswerStringType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerStringType()
public UriType getAnswerUriType() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerUriType()
public Attachment getAnswerAttachment() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerAttachment()
public Coding getAnswerCoding() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerCoding()
public Quantity getAnswerQuantity() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerQuantity()
public Reference getAnswerReference() throws FHIRException
answer (An answer that the referenced question must match in order for the item to be enabled.)FHIRExceptionpublic boolean hasAnswerReference()
public boolean hasAnswer()
public Questionnaire.QuestionnaireItemEnableWhenComponent setAnswer(Type value)
value - answer (An answer that the referenced question must match in order for the item to be enabled.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic Questionnaire.QuestionnaireItemEnableWhenComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.