public static class QuestionnaireResponse.QuestionComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<QuestionnaireResponse.QuestionAnswerComponent> |
answer
The respondent's answer(s) to the question.
|
protected StringType |
linkId
Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
|
protected StringType |
text
The actual question as shown to the user to prompt them for an answer.
|
modifierExtension| Constructor and Description |
|---|
QuestionComponent() |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected StringType linkId
protected StringType text
protected List<QuestionnaireResponse.QuestionAnswerComponent> answer
public QuestionComponent()
public StringType getLinkIdElement()
linkId (Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the valuepublic boolean hasLinkIdElement()
public boolean hasLinkId()
public QuestionnaireResponse.QuestionComponent setLinkIdElement(StringType value)
value - linkId (Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the valuepublic String getLinkId()
public QuestionnaireResponse.QuestionComponent setLinkId(String value)
value - Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.public StringType getTextElement()
text (The actual question as shown to the user to prompt them for an answer.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public QuestionnaireResponse.QuestionComponent setTextElement(StringType value)
value - text (The actual question as shown to the user to prompt them for an answer.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic String getText()
public QuestionnaireResponse.QuestionComponent setText(String value)
value - The actual question as shown to the user to prompt them for an answer.public List<QuestionnaireResponse.QuestionAnswerComponent> getAnswer()
answer (The respondent's answer(s) to the question.)public boolean hasAnswer()
public QuestionnaireResponse.QuestionAnswerComponent addAnswer()
answer (The respondent's answer(s) to the question.)public QuestionnaireResponse.QuestionComponent addAnswer(QuestionnaireResponse.QuestionAnswerComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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 QuestionnaireResponse.QuestionComponent 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.