Dynamic answer options in drop down of questionnaire #2227
Answered
by
MJ1998
mansikalraa
asked this question in
Q&A
-
Hi, Can anyone help me with populating dropdown answer options in questionnaire with data retrieved from some other source, i.e., the answer options are dynamic and not known before. |
Beta Was this translation helpful? Give feedback.
Answered by
MJ1998
Nov 15, 2023
Replies: 1 comment 1 reply
-
Hi @mansikalraa In short, you can use one of the configuration option in Let us know if you still need help with this. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fredhersch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mansikalraa
In short, you can use one of the configuration option in
DataCaptureConfig
:valueSetResolverExternal
. So you would need to implementresolve()
which takes in the custom value set uri and gives back a List<Coding> which is populated as answer options. Check kdoc for more information.Let us know if you still need help with this.