Class 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:
    Serialized Form
    • Method Detail

      • 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

      • getGroup

        public List<QuestionnaireResponse.GroupgetGroup()
        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

      • addGroup

        public QuestionnaireResponse.Group 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

      • getGroupFirstRep

        public QuestionnaireResponse.Group 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