Class QuestionnaireResponse.Group
- 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: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
- 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 ()Adds and returns a new value for question ()Adds a given new value for question ()<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.Gets the value(s) for linkId ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for linkId ().Gets the value(s) for question ().Gets the first repetition for question (), creating it if it does not already exist.Gets the value(s) for subject ().getText()
Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for text ().getTitle()
Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for title ().boolean
isEmpty()
setGroup
(List<QuestionnaireResponse.Group> theValue) Sets the value(s) for group ()setLinkId
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for linkId ()Sets the value for linkId ()setQuestion
(List<QuestionnaireResponse.GroupQuestion> theValue) Sets the value(s) for question ()setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject ()setText
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for text ()Sets the value for text ()setTitle
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for title ()Sets the value for title ()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
-
Group
public Group()
-
-
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
-
getLinkIdElement
Gets the value(s) for linkId (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
getLinkId
Gets the value(s) for linkId (). creating it if it does not exist. This method may returnnull
.Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
setLinkId
Sets the value(s) for linkId ()Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
setLinkId
Sets the value for linkId ()Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
getTitleElement
Gets the value(s) for title (). creating it if it does not exist. Will not returnnull
.Definition: Text that is displayed above the contents of the group
-
getTitle
Gets the value(s) for title (). creating it if it does not exist. This method may returnnull
.Definition: Text that is displayed above the contents of the group
-
setTitle
Sets the value(s) for title ()Definition: Text that is displayed above the contents of the group
-
setTitle
Sets the value for title ()Definition: Text that is displayed above the contents of the group
-
getTextElement
Gets the value(s) for text (). creating it if it does not exist. Will not returnnull
.Definition: Additional text for the group, used for display purposes
-
getText
Gets the value(s) for text (). creating it if it does not exist. This method may returnnull
.Definition: Additional text for the group, used for display purposes
-
setText
Sets the value(s) for text ()Definition: Additional text for the group, used for display purposes
-
setText
Sets the value for text ()Definition: Additional text for the group, used for display purposes
-
getSubject
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull
.Definition: More specific subject this section's answers are about, details the subject given in QuestionnaireResponse
-
setSubject
Sets the value(s) for subject ()Definition: More specific subject this section's answers are about, details the subject given in QuestionnaireResponse
-
getGroup
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull
.Definition: A sub-group within a group. The ordering of groups within this group is relevant
-
setGroup
Sets the value(s) for group ()Definition: A sub-group within a group. The ordering of groups within this group is relevant
-
addGroup
Adds and returns a new value for group ()Definition: A sub-group within a group. The ordering of groups within this group is relevant
-
addGroup
Adds a given new value for group ()Definition: A sub-group within a group. The ordering of groups within this group 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: A sub-group within a group. The ordering of groups within this group is relevant
-
getQuestion
Gets the value(s) for question (). creating it if it does not exist. Will not returnnull
.Definition: Set of questions within this group. The order of questions within the group is relevant
-
setQuestion
Sets the value(s) for question ()Definition: Set of questions within this group. The order of questions within the group is relevant
-
addQuestion
Adds and returns a new value for question ()Definition: Set of questions within this group. The order of questions within the group is relevant
-
addQuestion
Adds a given new value for question ()Definition: Set of questions within this group. The order of questions within the group is relevant
- Parameters:
theValue
- The question to add (must not benull
)
-
getQuestionFirstRep
Gets the first repetition for question (), creating it if it does not already exist.Definition: Set of questions within this group. The order of questions within the group is relevant
-