Class Questionnaire.Group
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Questionnaire.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:
- Questionnaire
public static class Questionnaire.Group extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Questionnaire.group ()Definition: A collection of related questions (or further groupings of questions)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodingDtaddConcept()Adds and returns a new value for concept ()Questionnaire.GroupaddConcept(CodingDt theValue)Adds a given new value for concept ()Questionnaire.GroupaddGroup()Adds and returns a new value for group ()Questionnaire.GroupaddGroup(Questionnaire.Group theValue)Adds a given new value for group ()Questionnaire.GroupQuestionaddQuestion()Adds and returns a new value for question ()Questionnaire.GroupaddQuestion(Questionnaire.GroupQuestion theValue)Adds a given new value for question ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<CodingDt>getConcept()Gets the value(s) for concept ().CodingDtgetConceptFirstRep()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.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<Questionnaire.GroupQuestion>getQuestion()Gets the value(s) for question ().Questionnaire.GroupQuestiongetQuestionFirstRep()Gets the first repetition for question (), creating it if it does not already exist.BooleangetRepeats()Gets the value(s) for repeats ().ca.uhn.fhir.model.primitive.BooleanDtgetRepeatsElement()Gets the value(s) for repeats ().BooleangetRequired()Gets the value(s) for required ().ca.uhn.fhir.model.primitive.BooleanDtgetRequiredElement()Gets the value(s) for required ().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()Questionnaire.GroupsetConcept(List<CodingDt> theValue)Sets the value(s) for concept ()Questionnaire.GroupsetGroup(List<Questionnaire.Group> theValue)Sets the value(s) for group ()Questionnaire.GroupsetLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for linkId ()Questionnaire.GroupsetLinkId(String theString)Sets the value for linkId ()Questionnaire.GroupsetQuestion(List<Questionnaire.GroupQuestion> theValue)Sets the value(s) for question ()Questionnaire.GroupsetRepeats(boolean theBoolean)Sets the value for repeats ()Questionnaire.GroupsetRepeats(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for repeats ()Questionnaire.GroupsetRequired(boolean theBoolean)Sets the value for required ()Questionnaire.GroupsetRequired(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for required ()Questionnaire.GroupsetText(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for text ()Questionnaire.GroupsetText(String theString)Sets the value for text ()Questionnaire.GroupsetTitle(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for title ()Questionnaire.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: An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.
-
getLinkId
public String getLinkId()
Gets the value(s) for linkId (). creating it if it does not exist. This method may returnnull.Definition: An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.
-
setLinkId
public Questionnaire.Group setLinkId(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for linkId ()Definition: An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.
-
setLinkId
public Questionnaire.Group setLinkId(String theString)
Sets the value for linkId ()Definition: An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a 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: The human-readable name for this section of the questionnaire
-
getTitle
public String getTitle()
Gets the value(s) for title (). creating it if it does not exist. This method may returnnull.Definition: The human-readable name for this section of the questionnaire
-
setTitle
public Questionnaire.Group setTitle(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for title ()Definition: The human-readable name for this section of the questionnaire
-
setTitle
public Questionnaire.Group setTitle(String theString)
Sets the value for title ()Definition: The human-readable name for this section of the questionnaire
-
getConcept
public List<CodingDt> getConcept()
Gets the value(s) for concept (). creating it if it does not exist. Will not returnnull.Definition: Identifies a how this group of questions is known in a particular terminology such as LOINC.
-
setConcept
public Questionnaire.Group setConcept(List<CodingDt> theValue)
Sets the value(s) for concept ()Definition: Identifies a how this group of questions is known in a particular terminology such as LOINC.
-
addConcept
public CodingDt addConcept()
Adds and returns a new value for concept ()Definition: Identifies a how this group of questions is known in a particular terminology such as LOINC.
-
addConcept
public Questionnaire.Group addConcept(CodingDt theValue)
Adds a given new value for concept ()Definition: Identifies a how this group of questions is known in a particular terminology such as LOINC.
- Parameters:
theValue- The concept to add (must not benull)
-
getConceptFirstRep
public CodingDt getConceptFirstRep()
Gets the first repetition for concept (), creating it if it does not already exist.Definition: Identifies a how this group of questions is known in a particular terminology such as LOINC.
-
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 Questionnaire.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 Questionnaire.Group setText(String theString)
Sets the value for text ()Definition: Additional text for the group, used for display purposes
-
getRequiredElement
public ca.uhn.fhir.model.primitive.BooleanDt getRequiredElement()
Gets the value(s) for required (). creating it if it does not exist. Will not returnnull.Definition: If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
getRequired
public Boolean getRequired()
Gets the value(s) for required (). creating it if it does not exist. This method may returnnull.Definition: If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
setRequired
public Questionnaire.Group setRequired(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for required ()Definition: If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
setRequired
public Questionnaire.Group setRequired(boolean theBoolean)
Sets the value for required ()Definition: If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
getRepeatsElement
public ca.uhn.fhir.model.primitive.BooleanDt getRepeatsElement()
Gets the value(s) for repeats (). creating it if it does not exist. Will not returnnull.Definition: Whether the group may occur multiple times in the instance, containing multiple sets of answers
-
getRepeats
public Boolean getRepeats()
Gets the value(s) for repeats (). creating it if it does not exist. This method may returnnull.Definition: Whether the group may occur multiple times in the instance, containing multiple sets of answers
-
setRepeats
public Questionnaire.Group setRepeats(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for repeats ()Definition: Whether the group may occur multiple times in the instance, containing multiple sets of answers
-
setRepeats
public Questionnaire.Group setRepeats(boolean theBoolean)
Sets the value for repeats ()Definition: Whether the group may occur multiple times in the instance, containing multiple sets of answers
-
getGroup
public List<Questionnaire.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 Questionnaire.Group setGroup(List<Questionnaire.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 Questionnaire.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 Questionnaire.Group addGroup(Questionnaire.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 Questionnaire.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<Questionnaire.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 Questionnaire.Group setQuestion(List<Questionnaire.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 Questionnaire.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 Questionnaire.Group addQuestion(Questionnaire.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 Questionnaire.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
-
-