FHIR Chat · Right way to ask question with two types · questionnaire

Stream: questionnaire

Topic: Right way to ask question with two types


view this post on Zulip Sergey Gerasimov (Sep 09 2020 at 10:43):

I need to create a questionnaire with the question that would ask patient about his temperature (so it would have item with type=Quantity) but also a patient should have an option to specify that he doesn't know his temperature.
My proposal is to send this as two items in group with some special extension for client that would render this, but I am not sure that this is a good way
What is the right way to do it?

view this post on Zulip Lloyd McKenzie (Sep 09 2020 at 12:55):

You could have a first question that asks whether a temperature is available, then a child question that is enabled if the answer is yes that captures the value (and if you wish, an additional child question that is enabled if the answer is 'no' that captures a reason why not). No group necessary and no extension - enableWhen is part of core.

view this post on Zulip Sergey Gerasimov (Sep 10 2020 at 12:37):

Thank you!


Last updated: Apr 12 2022 at 19:14 UTC