public static class Questionnaire.Group extends BaseIdentifiableElement implements IResourceBlock
Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire
| Constructor and Description |
|---|
Questionnaire.Group() |
| Modifier and Type | Method and Description |
|---|---|
Questionnaire.Group |
addGroup()
Adds and returns a new value for group (Nested questionnaire group)
|
Questionnaire.GroupQuestion |
addQuestion()
Adds and returns a new value for question (Questions in this group)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<Questionnaire.Group> |
getGroup()
Gets the value(s) for group (Nested questionnaire group).
|
Questionnaire.Group |
getGroupFirstRep()
Gets the first repetition for group (Nested questionnaire group),
creating it if it does not already exist.
|
StringDt |
getHeader()
Gets the value(s) for header (Text that is displayed above the contents of the group).
|
BoundCodeableConceptDt<QuestionnaireGroupNameEnum> |
getName()
Gets the value(s) for name (Code or name of the section on a questionnaire).
|
List<Questionnaire.GroupQuestion> |
getQuestion()
Gets the value(s) for question (Questions in this group).
|
Questionnaire.GroupQuestion |
getQuestionFirstRep()
Gets the first repetition for question (Questions in this group),
creating it if it does not already exist.
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (The subject this group's answers are about).
|
StringDt |
getText()
Gets the value(s) for text (Additional text for the group).
|
boolean |
isEmpty() |
Questionnaire.Group |
setGroup(List<Questionnaire.Group> theValue)
Sets the value(s) for group (Nested questionnaire group)
|
Questionnaire.Group |
setHeader(String theString)
Sets the value for header (Text that is displayed above the contents of the group)
|
Questionnaire.Group |
setHeader(StringDt theValue)
Sets the value(s) for header (Text that is displayed above the contents of the group)
|
Questionnaire.Group |
setName(BoundCodeableConceptDt<QuestionnaireGroupNameEnum> theValue)
Sets the value(s) for name (Code or name of the section on a questionnaire)
|
Questionnaire.Group |
setName(QuestionnaireGroupNameEnum theValue)
Sets the value(s) for name (Code or name of the section on a questionnaire)
|
Questionnaire.Group |
setQuestion(List<Questionnaire.GroupQuestion> theValue)
Sets the value(s) for question (Questions in this group)
|
Questionnaire.Group |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (The subject this group's answers are about)
|
Questionnaire.Group |
setText(String theString)
Sets the value for text (Additional text for the group)
|
Questionnaire.Group |
setText(StringDt theValue)
Sets the value(s) for text (Additional text for the group)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeableConceptDt<QuestionnaireGroupNameEnum> getName()
null.
Definition: Structured name for a section of a predefined list of questions this questionnaire is responding to.
public Questionnaire.Group setName(BoundCodeableConceptDt<QuestionnaireGroupNameEnum> theValue)
Definition: Structured name for a section of a predefined list of questions this questionnaire is responding to.
public Questionnaire.Group setName(QuestionnaireGroupNameEnum theValue)
Definition: Structured name for a section of a predefined list of questions this questionnaire is responding to.
public StringDt getHeader()
null.
Definition:
public Questionnaire.Group setHeader(StringDt theValue)
Definition:
public Questionnaire.Group setHeader(String theString)
Definition:
public StringDt getText()
null.
Definition: Additional text for the group, used for display purposes
public Questionnaire.Group setText(StringDt theValue)
Definition: Additional text for the group, used for display purposes
public Questionnaire.Group setText(String theString)
Definition: Additional text for the group, used for display purposes
public ResourceReferenceDt getSubject()
null.
Definition: More specific subject this section's answers are about, details the subject given in Questionnaire
public Questionnaire.Group setSubject(ResourceReferenceDt theValue)
Definition: More specific subject this section's answers are about, details the subject given in Questionnaire
public List<Questionnaire.Group> getGroup()
null.
Definition: A sub-group within a group. The ordering of groups within this group is relevant
public Questionnaire.Group setGroup(List<Questionnaire.Group> theValue)
Definition: A sub-group within a group. The ordering of groups within this group is relevant
public Questionnaire.Group addGroup()
Definition: A sub-group within a group. The ordering of groups within this group is relevant
public Questionnaire.Group getGroupFirstRep()
Definition: A sub-group within a group. The ordering of groups within this group is relevant
public List<Questionnaire.GroupQuestion> getQuestion()
null.
Definition: Set of questions within this group. The order of questions within the group is relevant
public Questionnaire.Group setQuestion(List<Questionnaire.GroupQuestion> theValue)
Definition: Set of questions within this group. The order of questions within the group is relevant
public Questionnaire.GroupQuestion addQuestion()
Definition: Set of questions within this group. The order of questions within the group is relevant
public Questionnaire.GroupQuestion getQuestionFirstRep()
Definition: Set of questions within this group. The order of questions within the group is relevant
Copyright © 2014 University Health Network. All rights reserved.