FHIR Chat · questionnaire item "choice" with a single value? · implementers

Stream: implementers

Topic: questionnaire item "choice" with a single value?


view this post on Zulip Jay Moore (Aug 21 2018 at 17:34):

If I have a Questionnaire item of type 'choice', is there a way to specify whether a single or multiple values are required?

view this post on Zulip Eric Haas (Aug 21 2018 at 17:54):

use Questionnaire.item.repeats

view this post on Zulip Jay Moore (Aug 21 2018 at 18:04):

use Questionnaire.item.repeats

Thanks, I suspected that was what 'repeats' was for. (Unfortunately, I now have to add repeats: true to all the questions that accept multiple values.)

view this post on Zulip Grahame Grieve (Aug 21 2018 at 20:43):

why is that unfortunate?

view this post on Zulip Eric Haas (Aug 21 2018 at 21:31):

or add to all the questions ...

view this post on Zulip Jay Moore (Aug 22 2018 at 13:40):

why is that unfortunate?

Only because we weren't using the 'repeated' field at all - and so now I need to add it to all the questions where we do allow multiple responses. Not a flaw in FHIR (except "repeated" is more confusing than something like "allowsMultiple"), just a flaw in our implementation.


Last updated: Apr 12 2022 at 19:14 UTC