android-fhir: SDC library does not render valueSet widgets on the Questionnaire
Describe the bug For Open Choice items configured with the answer format value sets i.e. answerValueSet, the widgets Do Not render successfully on the Questionnaire. This can be observed with the HIV Case Report questionnaire Occupation form field.
Component SDC library
To Reproduce Steps to reproduce the behavior:
- Go to the Data Capture Gallery home page
- Click on HIV Case Report
- Scroll down to Occupations or Risk Factors
- Confirm that the corresponding widgets do not render
Expected behavior The questionnaire should render the open-choice widget when the answer format is defined as a valueSet See the open-choice answerFormats in Questionnaire ticket with attached screenshot here #689
Screenshots
See the Occupation and Risk Factor fields in the HIV Case Report questionnaire screenshot below

Smartphone (please complete the following information):
- Device: Nexus 7 2012 Emulator
- Android version: 9.0(Pie ) - API 28
- Build number: sdk_gphone_x86-userdebug 9 PSR1.180720.093
- Version: (1)1.0.0
Additional context This bug needs to be fixed before issue #552 can be implemented/closed
Would you like to work on the issue?
@kevinmost contributed to the the working implementation as assigned here #801
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (5 by maintainers)
Hi All
Just for scoping: If the expectation is that all valuesets need to be expanded for passing to the SDK, then this requirement would no longer apply, as at the end, even with compose, the valuesets would have the expansion.
Compose is used in defining valuesets I wouldn’t set any tooling expectations on it, because some valuesets will be intensionally defined and there the .compose will not contain the codes. So at the end, what would matter is the .expand.
Cheers
José
On Mon, Feb 26, 2024 at 2:52 PM Jing Tang @.***> wrote:
@ndegwamartin can you please confirm if this is still an issue?