Class QuestionnaireResponse.GroupQuestionAnswer
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse.GroupQuestionAnswer
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- QuestionnaireResponse
public static class QuestionnaireResponse.GroupQuestionAnswer extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: QuestionnaireResponse.group.question.answer ()Definition: The respondent's answer(s) to the question
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupQuestionAnswer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionnaireResponse.GroupaddGroup()Adds and returns a new value for group ()QuestionnaireResponse.GroupQuestionAnsweraddGroup(QuestionnaireResponse.Group theValue)Adds a given new value for group ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<QuestionnaireResponse.Group>getGroup()Gets the value(s) for group ().QuestionnaireResponse.GroupgetGroupFirstRep()Gets the first repetition for group (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatypegetValue()Gets the value(s) for value[x] ().booleanisEmpty()QuestionnaireResponse.GroupQuestionAnswersetGroup(List<QuestionnaireResponse.Group> theValue)Sets the value(s) for group ()QuestionnaireResponse.GroupQuestionAnswersetValue(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for value[x] ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
GroupQuestionAnswer
public GroupQuestionAnswer()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getValue
public ca.uhn.fhir.model.api.IDatatype getValue()
Gets the value(s) for value[x] (). creating it if it does not exist. Will not returnnull.Definition: The answer (or one of the answers) provided by the respondent to the question
-
setValue
public QuestionnaireResponse.GroupQuestionAnswer setValue(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for value[x] ()Definition: The answer (or one of the answers) provided by the respondent to the question
-
getGroup
public List<QuestionnaireResponse.Group> getGroup()
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull.Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
-
setGroup
public QuestionnaireResponse.GroupQuestionAnswer setGroup(List<QuestionnaireResponse.Group> theValue)
Sets the value(s) for group ()Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
-
addGroup
public QuestionnaireResponse.Group addGroup()
Adds and returns a new value for group ()Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
-
addGroup
public QuestionnaireResponse.GroupQuestionAnswer addGroup(QuestionnaireResponse.Group theValue)
Adds a given new value for group ()Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
- Parameters:
theValue- The group to add (must not benull)
-
getGroupFirstRep
public QuestionnaireResponse.Group getGroupFirstRep()
Gets the first repetition for group (), creating it if it does not already exist.Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
-
-