The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
Describe the bug
In new datacapture library (version 1.1.0) read-only mode for questionnaire isn't working correctly. When adding this setting to the builder (setIsReadOnly(true)) Questionnaire Fragment doesn't show the questionnaire.
Component
datacapture 1.1.0
To Reproduce
This issue can be replicated in Demo app by setting read-only mode in the QustionnaireFragement builder in the EditPatientFragment
After adding the mode:
Run the demo app
Click on "Patient List"
Click on any patient in the list
Click on "Edit Patient"
Observe no questionnaire rendered
Expected behavior
As in previous(1.0.0) version of the lib, read-only mode should render questionnaire and responses (if provided) in a non-editable fashion.
Screenshots
Smartphone (please complete the following information):
Describe the bug In new datacapture library (version 1.1.0) read-only mode for questionnaire isn't working correctly. When adding this setting to the builder (setIsReadOnly(true)) Questionnaire Fragment doesn't show the questionnaire.
Component datacapture 1.1.0
To Reproduce This issue can be replicated in Demo app by setting read-only mode in the QustionnaireFragement builder in the EditPatientFragment After adding the mode:
Expected behavior As in previous(1.0.0) version of the lib, read-only mode should render questionnaire and responses (if provided) in a non-editable fashion.
Screenshots
Smartphone (please complete the following information):
Would you like to work on the issue? No