public static class Questionnaire.QuestionnaireItemEnableWhenComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
answer
If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.
|
protected BooleanType |
answered
If present, indicates that this item should be enabled only if the specified question is answered or not answered.
|
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, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected StringType question
protected BooleanType answered
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 getAnsweredElement()
answered (If present, indicates that this item should be enabled only if the specified question is answered or not answered.). This is the underlying object with id, value and extensions. The accessor "getAnswered" gives direct access to the valuepublic boolean hasAnsweredElement()
public boolean hasAnswered()
public Questionnaire.QuestionnaireItemEnableWhenComponent setAnsweredElement(BooleanType value)
value - answered (If present, indicates that this item should be enabled only if the specified question is answered or not answered.). This is the underlying object with id, value and extensions. The accessor "getAnswered" gives direct access to the valuepublic boolean getAnswered()
public Questionnaire.QuestionnaireItemEnableWhenComponent setAnswered(boolean value)
value - If present, indicates that this item should be enabled only if the specified question is answered or not answered.public Type getAnswer()
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)public BooleanType getAnswerBooleanType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerBooleanType()
public DecimalType getAnswerDecimalType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDecimalType()
public IntegerType getAnswerIntegerType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerIntegerType()
public DateType getAnswerDateType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDateType()
public DateTimeType getAnswerDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerDateTimeType()
public InstantType getAnswerInstantType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerInstantType()
public TimeType getAnswerTimeType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerTimeType()
public StringType getAnswerStringType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerStringType()
public UriType getAnswerUriType() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerUriType()
public Attachment getAnswerAttachment() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerAttachment()
public Coding getAnswerCoding() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerCoding()
public Quantity getAnswerQuantity() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerQuantity()
public Reference getAnswerReference() throws org.hl7.fhir.exceptions.FHIRException
answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAnswerReference()
public boolean hasAnswer()
public Questionnaire.QuestionnaireItemEnableWhenComponent setAnswer(Type value)
value - answer (If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 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 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 class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.