public static class QuestionnaireResponse.GroupQuestion extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition: Set of questions within this group. The order of questions within the group is relevant
| Constructor and Description |
|---|
GroupQuestion() |
| Modifier and Type | Method and Description |
|---|---|
QuestionnaireResponse.GroupQuestionAnswer |
addAnswer()
Adds and returns a new value for answer ()
|
QuestionnaireResponse.GroupQuestion |
addAnswer(QuestionnaireResponse.GroupQuestionAnswer theValue)
Adds a given new value for answer ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<QuestionnaireResponse.GroupQuestionAnswer> |
getAnswer()
Gets the value(s) for answer ().
|
QuestionnaireResponse.GroupQuestionAnswer |
getAnswerFirstRep()
Gets the first repetition for answer (),
creating it if it does not already exist.
|
String |
getLinkId()
Gets the value(s) for linkId ().
|
ca.uhn.fhir.model.primitive.StringDt |
getLinkIdElement()
Gets the value(s) for linkId ().
|
String |
getText()
Gets the value(s) for text ().
|
ca.uhn.fhir.model.primitive.StringDt |
getTextElement()
Gets the value(s) for text ().
|
boolean |
isEmpty() |
QuestionnaireResponse.GroupQuestion |
setAnswer(List<QuestionnaireResponse.GroupQuestionAnswer> theValue)
Sets the value(s) for answer ()
|
QuestionnaireResponse.GroupQuestion |
setLinkId(String theString)
Sets the value for linkId ()
|
QuestionnaireResponse.GroupQuestion |
setLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for linkId ()
|
QuestionnaireResponse.GroupQuestion |
setText(String theString)
Sets the value for text ()
|
QuestionnaireResponse.GroupQuestion |
setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GroupQuestion()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.primitive.StringDt getLinkIdElement()
null.
Definition: Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
public String getLinkId()
null.
Definition: Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
public QuestionnaireResponse.GroupQuestion setLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
public QuestionnaireResponse.GroupQuestion setLinkId(String theString)
Definition: Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
public ca.uhn.fhir.model.primitive.StringDt getTextElement()
null.
Definition: The actual question as shown to the user to prompt them for an answer.
public String getText()
null.
Definition: The actual question as shown to the user to prompt them for an answer.
public QuestionnaireResponse.GroupQuestion setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: The actual question as shown to the user to prompt them for an answer.
public QuestionnaireResponse.GroupQuestion setText(String theString)
Definition: The actual question as shown to the user to prompt them for an answer.
public List<QuestionnaireResponse.GroupQuestionAnswer> getAnswer()
null.
Definition: The respondent's answer(s) to the question
public QuestionnaireResponse.GroupQuestion setAnswer(List<QuestionnaireResponse.GroupQuestionAnswer> theValue)
Definition: The respondent's answer(s) to the question
public QuestionnaireResponse.GroupQuestionAnswer addAnswer()
Definition: The respondent's answer(s) to the question
public QuestionnaireResponse.GroupQuestion addAnswer(QuestionnaireResponse.GroupQuestionAnswer theValue)
Definition: The respondent's answer(s) to the question
theValue - The answer to add (must not be null)public QuestionnaireResponse.GroupQuestionAnswer getAnswerFirstRep()
Definition: The respondent's answer(s) to the question
Copyright © 2014–2018 University Health Network. All rights reserved.