Class QuestionnaireResponse.GroupQuestionAnswer

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse.GroupQuestionAnswer
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.GroupQuestionAnswer extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: QuestionnaireResponse.group.question.answer ()

Definition: The respondent's answer(s) to the question

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getValue

      public ca.uhn.fhir.model.api.IDatatype getValue()
      Gets the value(s) for value[x] (). creating it if it does not exist. Will not return null.

      Definition: The answer (or one of the answers) provided by the respondent to the question

    • setValue

      public QuestionnaireResponse.GroupQuestionAnswer setValue(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for value[x] ()

      Definition: The answer (or one of the answers) provided by the respondent to the question

    • getGroup

      Gets the value(s) for group (). creating it if it does not exist. Will not return null.

      Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant

    • setGroup

      Sets the value(s) for group ()

      Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant

    • addGroup

      Adds and returns a new value for group ()

      Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant

    • addGroup

      Adds a given new value for group ()

      Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant

      Parameters:
      theValue - The group to add (must not be null)
    • getGroupFirstRep

      Gets the first repetition for group (), creating it if it does not already exist.

      Definition: Nested group, containing nested question for this question. The order of groups within the question is relevant