FHIR Chat · Editting text of item in Questionnaire · clinFHIR

Stream: clinFHIR

Topic: Editting text of item in Questionnaire


view this post on Zulip Ben Schrijver (Nov 21 2016 at 12:06):

Hi, I am trying to create a Questionnaire-instance, but I run into a problem editting the text of an item. There is a textarea in the editor, but if I edit the text in there I edit the text backbone-element of the resource and not of the text of the indivual item. For clarity, see screenshot: questionnaire.png Is this a bug, a feature, or am I doing something wrong?

view this post on Zulip David Hay (Nov 23 2016 at 05:42):

Hi Ben, That text box is intended to be for the text element of the resource - not the currently selected element (I should make that clearer). To enter text for an element (if it has a datatype of type string) you select the datatype alongside the element (it will be the word 'string') and then another textbox to the upper right should appear that you can use...

view this post on Zulip Ben Schrijver (Nov 23 2016 at 09:53):

@David Hay Thanks David for your reply, I think I already know what the problem is: I'd like to edit Questionnaire.item.text but the text-child of an item is hidden in the Child elements list, as (not) seen in my screenshot. So, I cannot click on the word string, because it's not shown. I guess things like id, text and meta are hidden, which makes sense, but in this case forms an issue. I'll work around it.

view this post on Zulip David Hay (Nov 23 2016 at 14:07):

Oh, I see - yes I believe you are correct - I've outsmarted myself! Will look into that...

view this post on Zulip David Hay (Dec 02 2016 at 17:14):

OK fixed the 'text' issue...

view this post on Zulip Ben Schrijver (Dec 05 2016 at 10:08):

Great!


Last updated: Apr 12 2022 at 19:14 UTC