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:

  1. Go to the Data Capture Gallery home page
  2. Click on HIV Case Report
  3. Scroll down to Occupations or Risk Factors
  4. 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 Screenshot

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)

Most upvoted comments

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 https://github.com/ndegwamartin can you please confirm if this is still an issue?

— Reply to this email directly, view it on GitHub https://github.com/google/android-fhir/issues/928#issuecomment-1964198739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HUUBZDV2LEZZ5X3QOF6LYVSHTFAVCNFSM5IJRK7KKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGQYTSOBXGM4Q . You are receiving this because you were mentioned.Message ID: @.***>

@ndegwamartin can you please confirm if this is still an issue?