Class QuestionnaireResponse.Group
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class QuestionnaireResponse.Group extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: QuestionnaireResponse.group ()Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionnaireResponse.GroupaddGroup()Adds and returns a new value for group ()QuestionnaireResponse.GroupaddGroup(QuestionnaireResponse.Group theValue)Adds a given new value for group ()QuestionnaireResponse.GroupQuestionaddQuestion()Adds and returns a new value for question ()QuestionnaireResponse.GroupaddQuestion(QuestionnaireResponse.GroupQuestion theValue)Adds a given new value for question ()<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.StringgetLinkId()Gets the value(s) for linkId ().ca.uhn.fhir.model.primitive.StringDtgetLinkIdElement()Gets the value(s) for linkId ().List<QuestionnaireResponse.GroupQuestion>getQuestion()Gets the value(s) for question ().QuestionnaireResponse.GroupQuestiongetQuestionFirstRep()Gets the first repetition for question (), creating it if it does not already exist.ResourceReferenceDtgetSubject()Gets the value(s) for subject ().StringgetText()Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDtgetTextElement()Gets the value(s) for text ().StringgetTitle()Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDtgetTitleElement()Gets the value(s) for title ().booleanisEmpty()QuestionnaireResponse.GroupsetGroup(List<QuestionnaireResponse.Group> theValue)Sets the value(s) for group ()QuestionnaireResponse.GroupsetLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for linkId ()QuestionnaireResponse.GroupsetLinkId(String theString)Sets the value for linkId ()QuestionnaireResponse.GroupsetQuestion(List<QuestionnaireResponse.GroupQuestion> theValue)Sets the value(s) for question ()QuestionnaireResponse.GroupsetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject ()QuestionnaireResponse.GroupsetText(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for text ()QuestionnaireResponse.GroupsetText(String theString)Sets the value for text ()QuestionnaireResponse.GroupsetTitle(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for title ()QuestionnaireResponse.GroupsetTitle(String theString)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
-
-
-
-
Constructor Detail
-
Group
public Group()
-
-
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
-
getLinkIdElement
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public QuestionnaireResponse.Group setLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for linkId ()Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
setLinkId
public QuestionnaireResponse.Group setLinkId(String theString)
Sets the value for linkId ()Definition: Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
-
getTitleElement
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public QuestionnaireResponse.Group setTitle(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for title ()Definition: Text that is displayed above the contents of the group
-
setTitle
public QuestionnaireResponse.Group setTitle(String theString)
Sets the value for title ()Definition: Text that is displayed above the contents of the group
-
getTextElement
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public QuestionnaireResponse.Group setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()Definition: Additional text for the group, used for display purposes
-
setText
public QuestionnaireResponse.Group setText(String theString)
Sets the value for text ()Definition: Additional text for the group, used for display purposes
-
getSubject
public ResourceReferenceDt 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
public QuestionnaireResponse.Group setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()Definition: More specific subject this section's answers are about, details the subject given in QuestionnaireResponse
-
getGroup
public List<QuestionnaireResponse.Group> 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
public QuestionnaireResponse.Group setGroup(List<QuestionnaireResponse.Group> theValue)
Sets the value(s) for group ()Definition: A sub-group within a group. The ordering of groups within this group is relevant
-
addGroup
public QuestionnaireResponse.Group 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
public QuestionnaireResponse.Group addGroup(QuestionnaireResponse.Group theValue)
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
public QuestionnaireResponse.Group 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
public List<QuestionnaireResponse.GroupQuestion> 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
public QuestionnaireResponse.Group setQuestion(List<QuestionnaireResponse.GroupQuestion> theValue)
Sets the value(s) for question ()Definition: Set of questions within this group. The order of questions within the group is relevant
-
addQuestion
public QuestionnaireResponse.GroupQuestion 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
public QuestionnaireResponse.Group addQuestion(QuestionnaireResponse.GroupQuestion theValue)
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
public QuestionnaireResponse.GroupQuestion 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
-
-