FHIR Chat · Questionnaire single/multi select · implementers

Stream: implementers

Topic: Questionnaire single/multi select


view this post on Zulip Tom Stanis (Sep 05 2020 at 04:25):

Hi! I'm exploring FHIR Questionnaires as a possible schema to represent our patient questionnaire. I've been trying to figure out how to distinguish between items where a patient can select only one option vs. where they can select multiple options (radio buttons vs. checkboxes). There is the 'choice' type which seems to indicate multi-select. The only way I can see to do single select is to use the questionnaire-optionexclusive extension on every choice. Feels like I'm missing something...

view this post on Zulip Grahame Grieve (Sep 05 2020 at 05:50):

check out the SDC FHIR IG

view this post on Zulip Grahame Grieve (Sep 05 2020 at 05:50):

and there's a #questionnaire stream

view this post on Zulip Lloyd McKenzie (Sep 05 2020 at 13:53):

repeats=true means multiple answers are possible. repeats=false means you can only specify a single answer. (There are extensions that allow you to define minimum and maximum number of answers allowed

view this post on Zulip Tom Stanis (Sep 05 2020 at 16:13):

Thanks. This looks like what I want: http://hl7.org/fhir/stu3/valueset-questionnaire-item-control.html

view this post on Zulip Lloyd McKenzie (Sep 05 2020 at 16:16):

Control can mandate a specific format, but is orthogonal to whether you can pick more than one. For example, you could choose a control of 'checkbox', but if 'repeats=false', then you'd still be limited to only one answer. (Picking radio-buttons when repeats=true might prevent the user from meeting the intention because of the limitations of the control, but a QuestionnaireResponse instance would validate perfectly fine if there were multiple selected answers.)


Last updated: Apr 12 2022 at 19:14 UTC