Questionnaire Fragment
A Fragment for displaying FHIR Questionnaires and getting user responses as FHIR QuestionnareResponses.
For more information, see the QuestionnaireFragment developer guide.
Constructors
Types
Extras that can be passed to QuestionnaireFragment to define its behavior. When you create a QuestionnaireFragment, one of EXTRA_QUESTIONNAIRE_JSON_URI or EXTRA_QUESTIONNAIRE_JSON_STRING is required.
Functions
Override this method to specify when custom questionnaire components should be used. It should return a List of QuestionnaireItemViewHolderFactoryMatchers which are used to evaluate whether a custom QuestionnaireItemViewHolderFactory should be used to render a given questionnaire item.
Returns a org.hl7.fhir.r4.model.QuestionnaireResponse populated with any answers that are present on the rendered QuestionnaireFragment when it is called.