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 Country-State-City Drop down support in SDC #979

Closed
f-odhiambo opened this issue Dec 16, 2021 · 4 comments
Closed

Add Country-State-City Drop down support in SDC #979

f-odhiambo opened this issue Dec 16, 2021 · 4 comments
Labels
P1 High priority issue type:enhancement New feature or request

Comments

@f-odhiambo
Copy link
Collaborator

f-odhiambo commented Dec 16, 2021

Is your feature request related to a problem? Please describe.
At the moment a user has to type in a Country and City manually and this can be an issue saving data with inaccurate data due to user typos

Describe the solution you'd like
Add the ability to select Country, State and City from a dropdown filter list as opposed to filling an input test

Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

Would you like to work on the issue?
N/A

@f-odhiambo f-odhiambo added the type:enhancement New feature or request label Dec 16, 2021
@Tarun-Bhardwaj Tarun-Bhardwaj added this to To do in Data capture library via automation Jan 5, 2022
@fredhersch
Copy link
Collaborator

@f-odhiambo - just to clarify are you talking about dynamically populating the lists based on the selection.

So for example: If country is USA, then populate the State lists with ValueSet of states from USA and then City etc. This sounds like an example of answerExpression using FHIRPath (or CQL).

Alternatively, have you considered using a series of enableWhen options

@jingtang10
Copy link
Collaborator

jingtang10 commented Jan 5, 2022

Related(/same) issue #965

@f-odhiambo
Copy link
Collaborator Author

@f-odhiambo - just to clarify are you talking about dynamically populating the lists based on the selection.

So for example: If country is USA, then populate the State lists with ValueSet of states from USA and then City etc. This sounds like an example of answerExpression using FHIRPath (or CQL).

Alternatively, have you considered using a series of enableWhen options

Yes this is accurate. Will also review @jingtang10 related issue

@jingtang10
Copy link
Collaborator

duplicate of #1039
closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority issue type:enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

4 participants