public static class Questionnaire.GroupQuestion extends BaseIdentifiableElement implements IResourceBlock
Definition: Set of questions within this group. The order of questions within the group is relevant
| Constructor and Description |
|---|
GroupQuestion() |
| Modifier and Type | Method and Description |
|---|---|
CodingDt |
addConcept()
Adds and returns a new value for concept ()
|
Questionnaire.GroupQuestion |
addConcept(CodingDt theValue)
Adds a given new value for concept ()
|
Questionnaire.Group |
addGroup()
Adds and returns a new value for group ()
|
Questionnaire.GroupQuestion |
addGroup(Questionnaire.Group theValue)
Adds a given new value for group ()
|
CodingDt |
addOption()
Adds and returns a new value for option ()
|
Questionnaire.GroupQuestion |
addOption(CodingDt theValue)
Adds a given new value for option ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<CodingDt> |
getConcept()
Gets the value(s) for concept ().
|
CodingDt |
getConceptFirstRep()
Gets the first repetition for concept (),
creating it if it does not already exist.
|
List<Questionnaire.Group> |
getGroup()
Gets the value(s) for group ().
|
Questionnaire.Group |
getGroupFirstRep()
Gets the first repetition for group (),
creating it if it does not already exist.
|
String |
getLinkId()
Gets the value(s) for linkId ().
|
StringDt |
getLinkIdElement()
Gets the value(s) for linkId ().
|
List<CodingDt> |
getOption()
Gets the value(s) for option ().
|
CodingDt |
getOptionFirstRep()
Gets the first repetition for option (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getOptions()
Gets the value(s) for options ().
|
Boolean |
getRepeats()
Gets the value(s) for repeats ().
|
BooleanDt |
getRepeatsElement()
Gets the value(s) for repeats ().
|
Boolean |
getRequired()
Gets the value(s) for required ().
|
BooleanDt |
getRequiredElement()
Gets the value(s) for required ().
|
String |
getText()
Gets the value(s) for text ().
|
StringDt |
getTextElement()
Gets the value(s) for text ().
|
String |
getType()
Gets the value(s) for type ().
|
BoundCodeDt<AnswerFormatEnum> |
getTypeElement()
Gets the value(s) for type ().
|
boolean |
isEmpty() |
Questionnaire.GroupQuestion |
setConcept(List<CodingDt> theValue)
Sets the value(s) for concept ()
|
Questionnaire.GroupQuestion |
setGroup(List<Questionnaire.Group> theValue)
Sets the value(s) for group ()
|
Questionnaire.GroupQuestion |
setLinkId(String theString)
Sets the value for linkId ()
|
Questionnaire.GroupQuestion |
setLinkId(StringDt theValue)
Sets the value(s) for linkId ()
|
Questionnaire.GroupQuestion |
setOption(List<CodingDt> theValue)
Sets the value(s) for option ()
|
Questionnaire.GroupQuestion |
setOptions(ResourceReferenceDt theValue)
Sets the value(s) for options ()
|
Questionnaire.GroupQuestion |
setRepeats(boolean theBoolean)
Sets the value for repeats ()
|
Questionnaire.GroupQuestion |
setRepeats(BooleanDt theValue)
Sets the value(s) for repeats ()
|
Questionnaire.GroupQuestion |
setRequired(boolean theBoolean)
Sets the value for required ()
|
Questionnaire.GroupQuestion |
setRequired(BooleanDt theValue)
Sets the value(s) for required ()
|
Questionnaire.GroupQuestion |
setText(String theString)
Sets the value for text ()
|
Questionnaire.GroupQuestion |
setText(StringDt theValue)
Sets the value(s) for text ()
|
Questionnaire.GroupQuestion |
setType(AnswerFormatEnum theValue)
Sets the value(s) for type ()
|
Questionnaire.GroupQuestion |
setType(BoundCodeDt<AnswerFormatEnum> theValue)
Sets the value(s) for type ()
|
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 GroupQuestion()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic StringDt getLinkIdElement()
null.
Definition: An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
public String getLinkId()
null.
Definition: An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
public Questionnaire.GroupQuestion setLinkId(StringDt theValue)
Definition: An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
public Questionnaire.GroupQuestion setLinkId(String theString)
Definition: An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
public List<CodingDt> getConcept()
null.
Definition: Identifies a how this question is known in a particular terminology such as LOINC.
public Questionnaire.GroupQuestion setConcept(List<CodingDt> theValue)
Definition: Identifies a how this question is known in a particular terminology such as LOINC.
public CodingDt addConcept()
Definition: Identifies a how this question is known in a particular terminology such as LOINC.
public Questionnaire.GroupQuestion addConcept(CodingDt theValue)
Definition: Identifies a how this question is known in a particular terminology such as LOINC.
theValue - The concept to add (must not be null)public CodingDt getConceptFirstRep()
Definition: Identifies a how this question is known in a particular terminology such as LOINC.
public StringDt getTextElement()
null.
Definition: The actual question as shown to the user to prompt them for an answer.
public String getText()
null.
Definition: The actual question as shown to the user to prompt them for an answer.
public Questionnaire.GroupQuestion setText(StringDt theValue)
Definition: The actual question as shown to the user to prompt them for an answer.
public Questionnaire.GroupQuestion setText(String theString)
Definition: The actual question as shown to the user to prompt them for an answer.
public BoundCodeDt<AnswerFormatEnum> getTypeElement()
null.
Definition: The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected
public String getType()
null.
Definition: The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected
public Questionnaire.GroupQuestion setType(BoundCodeDt<AnswerFormatEnum> theValue)
Definition: The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected
public Questionnaire.GroupQuestion setType(AnswerFormatEnum theValue)
Definition: The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected
public BooleanDt getRequiredElement()
null.
Definition: If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
public Boolean getRequired()
null.
Definition: If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
public Questionnaire.GroupQuestion setRequired(BooleanDt theValue)
Definition: If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
public Questionnaire.GroupQuestion setRequired(boolean theBoolean)
Definition: If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
public BooleanDt getRepeatsElement()
null.
Definition: If true, the question may have more than one answer.
public Boolean getRepeats()
null.
Definition: If true, the question may have more than one answer.
public Questionnaire.GroupQuestion setRepeats(BooleanDt theValue)
Definition: If true, the question may have more than one answer.
public Questionnaire.GroupQuestion setRepeats(boolean theBoolean)
Definition: If true, the question may have more than one answer.
public ResourceReferenceDt getOptions()
null.
Definition: Reference to a value set containing a list of codes representing permitted answers for the question
public Questionnaire.GroupQuestion setOptions(ResourceReferenceDt theValue)
Definition: Reference to a value set containing a list of codes representing permitted answers for the question
public List<CodingDt> getOption()
null.
Definition: For a \"choice\" question, identifies one of the permitted answers for the question.
public Questionnaire.GroupQuestion setOption(List<CodingDt> theValue)
Definition: For a \"choice\" question, identifies one of the permitted answers for the question.
public CodingDt addOption()
Definition: For a \"choice\" question, identifies one of the permitted answers for the question.
public Questionnaire.GroupQuestion addOption(CodingDt theValue)
Definition: For a \"choice\" question, identifies one of the permitted answers for the question.
theValue - The option to add (must not be null)public CodingDt getOptionFirstRep()
Definition: For a \"choice\" question, identifies one of the permitted answers for the question.
public List<Questionnaire.Group> getGroup()
null.
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
public Questionnaire.GroupQuestion setGroup(List<Questionnaire.Group> theValue)
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
public Questionnaire.Group addGroup()
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
public Questionnaire.GroupQuestion addGroup(Questionnaire.Group theValue)
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
theValue - The group to add (must not be null)public Questionnaire.Group getGroupFirstRep()
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
Copyright © 2014–2016 University Health Network. All rights reserved.