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 |
|---|
Questionnaire.GroupQuestion() |
| Modifier and Type | Method and Description |
|---|---|
CodingDt |
addChoice()
Adds and returns a new value for choice (Selected options)
|
Questionnaire.Group |
addGroup()
Adds and returns a new value for group (Nested questionnaire group)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
IDatatype |
getAnswer()
Gets the value(s) for answer[x] (Single-valued answer to the question).
|
List<CodingDt> |
getChoice()
Gets the value(s) for choice (Selected options).
|
CodingDt |
getChoiceFirstRep()
Gets the first repetition for choice (Selected options),
creating it if it does not already exist.
|
IDatatype |
getData()
Gets the value(s) for data[x] (Structured answer).
|
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.
|
CodeableConceptDt |
getName()
Gets the value(s) for name (Code or name of the question).
|
ResourceReferenceDt |
getOptions()
Gets the value(s) for options (Valueset containing the possible options).
|
StringDt |
getRemarks()
Gets the value(s) for remarks (Remarks about the answer given).
|
StringDt |
getText()
Gets the value(s) for text (Text of the question as it is shown to the user).
|
boolean |
isEmpty() |
Questionnaire.GroupQuestion |
setAnswer(IDatatype theValue)
Sets the value(s) for answer[x] (Single-valued answer to the question)
|
Questionnaire.GroupQuestion |
setChoice(List<CodingDt> theValue)
Sets the value(s) for choice (Selected options)
|
Questionnaire.GroupQuestion |
setData(IDatatype theValue)
Sets the value(s) for data[x] (Structured answer)
|
Questionnaire.GroupQuestion |
setGroup(List<Questionnaire.Group> theValue)
Sets the value(s) for group (Nested questionnaire group)
|
Questionnaire.GroupQuestion |
setName(CodeableConceptDt theValue)
Sets the value(s) for name (Code or name of the question)
|
Questionnaire.GroupQuestion |
setOptions(ResourceReferenceDt theValue)
Sets the value(s) for options (Valueset containing the possible options)
|
Questionnaire.GroupQuestion |
setRemarks(String theString)
Sets the value for remarks (Remarks about the answer given)
|
Questionnaire.GroupQuestion |
setRemarks(StringDt theValue)
Sets the value(s) for remarks (Remarks about the answer given)
|
Questionnaire.GroupQuestion |
setText(String theString)
Sets the value for text (Text of the question as it is shown to the user)
|
Questionnaire.GroupQuestion |
setText(StringDt theValue)
Sets the value(s) for text (Text of the question as it is shown to the user)
|
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 CodeableConceptDt getName()
null.
Definition: Structured name for the question that identifies this question within the Questionnaire or Group
public Questionnaire.GroupQuestion setName(CodeableConceptDt theValue)
Definition: Structured name for the question that identifies this question within the Questionnaire or Group
public StringDt getText()
null.
Definition:
public Questionnaire.GroupQuestion setText(StringDt theValue)
Definition:
public Questionnaire.GroupQuestion setText(String theString)
Definition:
public IDatatype getAnswer()
null.
Definition: Single-valued answer to the question
public Questionnaire.GroupQuestion setAnswer(IDatatype theValue)
Definition: Single-valued answer to the question
public List<CodingDt> getChoice()
null.
Definition: Selections made by the user from the list of options
public Questionnaire.GroupQuestion setChoice(List<CodingDt> theValue)
Definition: Selections made by the user from the list of options
public CodingDt addChoice()
Definition: Selections made by the user from the list of options
public CodingDt getChoiceFirstRep()
Definition: Selections made by the user from the list of options
public ResourceReferenceDt getOptions()
null.
Definition: Reference to a valueset containing the possible options
public Questionnaire.GroupQuestion setOptions(ResourceReferenceDt theValue)
Definition: Reference to a valueset containing the possible options
public IDatatype getData()
null.
Definition: Structured answer in the form of a FHIR Resource or datatype
public Questionnaire.GroupQuestion setData(IDatatype theValue)
Definition: Structured answer in the form of a FHIR Resource or datatype
public StringDt getRemarks()
null.
Definition: The remark contains information about the answer given. This is additional information about the answer the author wishes to convey, but should not be used to contain information that is part of the answer itself.
public Questionnaire.GroupQuestion setRemarks(StringDt theValue)
Definition: The remark contains information about the answer given. This is additional information about the answer the author wishes to convey, but should not be used to contain information that is part of the answer itself.
public Questionnaire.GroupQuestion setRemarks(String theString)
Definition: The remark contains information about the answer given. This is additional information about the answer the author wishes to convey, but should not be used to contain information that is part of the answer itself.
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.Group getGroupFirstRep()
Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant
Copyright © 2014 University Health Network. All rights reserved.