Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for unitOption and/or unitValueSet #1600

Closed
williamito opened this issue Sep 8, 2022 · 2 comments · Fixed by #2014
Closed

Add support for unitOption and/or unitValueSet #1600

williamito opened this issue Sep 8, 2022 · 2 comments · Fixed by #2014
Labels
effort:medium Medium effort - 3 to 5 days P3 Low priority issue type:enhancement New feature or request

Comments

@williamito
Copy link
Contributor

This is a continuation of #1550, see there for additional context.

A primary purpose of Questionnaire item type='quantity' is the ability for the user to select a unit from a list of options using the unitOption or unitValueSet extensions. We currently do not support either, so type='quantity' items are not very usable in SDC.

Describe the solution you'd like
Add support for unitOption or unitValueSet, where it should:

  1. Show a unit picker (dropdown?) in the rendered Questionnaire
  2. In the questionnareResponse, generate a valueQuantity
  3. Populate the valueQuantity with any unit, system, code information provided in questionnaire-unit
@shelaghm
Copy link

shelaghm commented Sep 9, 2022

Design mocks
Screen Shot 2022-09-08 at 12 12 58

@Tarun-Bhardwaj Tarun-Bhardwaj moved this to Backlog in Android FHIR SDK Sep 12, 2022
@Tarun-Bhardwaj Tarun-Bhardwaj added P3 Low priority issue effort:medium Medium effort - 3 to 5 days type:enhancement New feature or request and removed To be triaged labels Sep 14, 2022
@Tarun-Bhardwaj Tarun-Bhardwaj moved this from Backlog to Icebox in Android FHIR SDK Sep 16, 2022
@shelaghm
Copy link

shelaghm commented May 23, 2023

Updated icon: squarefoot @jingtang10 @santosh-pingle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:medium Medium effort - 3 to 5 days P3 Low priority issue type:enhancement New feature or request
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

3 participants