Data Capture Config
The App developers may provide the DataCaptureConfig for the DataCapture library by implementing Provider interface in the Application class. The library would load and cache the configuration by calling Provider.getDataCaptureConfig.
NOTE: App developers should make sure that Provider.getDataCaptureConfig provides a constant DataCaptureConfig throughout the lifecycle of the application.
Constructors
Types
A class that can provide the DataCaptureConfig for the Structured Data Capture Library. To do this, implement the DataCaptureConfig.Provider interface on your Application class. You should provide the same configuration throughout the lifecycle of your application. The library may cache the configuration and different configurations will be ignored.
Properties
A QuestionnaireItemViewHolderFactoryMatchersProviderFactory may be set by the client to provide QuestionnaireItemViewHolderFactoryMatchers to add custom questionnaire components or override the behaviour of existing components in the sdc.
Resolves a URL to the media binary content.
An ExternalAnswerValueSetResolver may be set to provide answer options dynamically for choice
and open-choice
type questions.
A XFhirQueryResolver may be set by the client to resolve x-fhir-query for the library. See https://build.fhir.org/ig/HL7/sdc/expressions.html#fhirquery for more details.