Class 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
Definition: The respondent's answer(s) to the question
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddGroup()
Adds and returns a new value for group ()addGroup
(QuestionnaireResponse.Group theValue) Adds a given new value for group ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getGroup()
Gets the value(s) for group ().Gets the first repetition for group (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatype
getValue()
Gets the value(s) for value[x] ().boolean
isEmpty()
setGroup
(List<QuestionnaireResponse.Group> theValue) Sets the value(s) for group ()setValue
(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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
GroupQuestionAnswer
public GroupQuestionAnswer()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
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
Sets the value(s) for value[x] ()Definition: The answer (or one of the answers) provided by the respondent to the question
-
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
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
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
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
-