Questionnaire Fragment
A Fragment for displaying FHIR Questionnaires and getting user responses as FHIR QuestionnaireResponses.
For more information, see the QuestionnaireFragment developer guide.
Types
Helper to create QuestionnaireFragment with appropriate Bundle arguments.
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.
Data class that holds a matcher function (matches) which evaluates whether a given factory should be used to display a given Questionnaire.QuestionnaireItemComponent.
Provides the QuestionnaireItemViewHolderFactoryMatchers which are used to evaluate whether a custom QuestionnaireItemViewHolderFactory should be used to render a given questionnaire item.
Properties
Provides a QuestionnaireItemViewHolderFactoryMatchers which are used to evaluate whether a custom QuestionnaireItemViewHolderFactory should be used to render a given questionnaire item. The provider may be provided by the application developer via DataCaptureConfig, otherwise default no-op implementation is used.
Functions
Returns a QuestionnaireResponse populated with any answers that are present on the rendered QuestionnaireFragment when it is called.