FHIR Chat · Additional-text field for Choice Questions · questionnaire

Stream: questionnaire

Topic: Additional-text field for Choice Questions


view this post on Zulip Sravanti Cherukuri (Mar 29 2021 at 18:15):

How do i represent below question using FHIR Questionnaire resource

I know how to represent a multi select question(choice) using FHIR Questionnaire Resource. But here i need to have additional text field for couple of answer options. Please let me know standard way to achieve this.

Here is the sample Json i used for implementing multi choice question

AdditionaText_Question_JSON_FHIR.PNG
AdditionaText_Question_FHIR.PNG

view this post on Zulip Lloyd McKenzie (Mar 29 2021 at 18:17):

Child questions that have 'enableWhen' if the parent answer is a particular value.

view this post on Zulip Sravanti Cherukuri (Mar 29 2021 at 18:27):

@Lloyd :Do you mean I should consider additional text fields next to answer options ("Los Angeles" and "San Diego") in the above example as child questions of this question "What city do you live in ?"

view this post on Zulip Lloyd McKenzie (Mar 29 2021 at 18:37):

Yes

view this post on Zulip Sravanti Cherukuri (Mar 31 2021 at 18:56):

@Lloyd :Is there any extension available in FHIR to paint additional text field next to every answer option for a multi choice question in UI

view this post on Zulip Sravanti Cherukuri (Mar 31 2021 at 18:56):

any sample reference FHIR questionnaire will be helpful

view this post on Zulip Paul Lynch (Mar 31 2021 at 19:42):

What is your use case for wanting to do that?

view this post on Zulip Lloyd McKenzie (Mar 31 2021 at 21:08):

An example of what you're trying to do would be helpful

view this post on Zulip Sravanti Cherukuri (Apr 01 2021 at 00:10):

In a Questionnaire i want to show attached multi choice Question (with additional text field showing next to them for few choice options) any fhir extensions to paint this scenario.
AdditionaText_Question_FHIR.PNG

view this post on Zulip Lloyd McKenzie (Apr 01 2021 at 02:17):

We just answered that above - you use child questions. What do you mean by "paint additional text field"?

view this post on Zulip Paul Lynch (Apr 01 2021 at 17:44):

Also, what is the question you are asking next to "Los Angeles" and "San Diego"?

view this post on Zulip Sravanti Cherukuri (Apr 28 2021 at 18:05):

If any additional comments user wants to enter after opting the option im collecting in that textbox

view this post on Zulip Lloyd McKenzie (Apr 28 2021 at 18:07):

Why are you capturing comments for some cities but not other - and why is there no prompt telling the user what to fill in?

view this post on Zulip Sravanti Cherukuri (Apr 28 2021 at 20:52):

Use case is for capturing only few cities and yeah i am showing the prompt but missed sending here


Last updated: Apr 12 2022 at 19:14 UTC