FHIR Chat · SDC questionnaire advanced rendering · implementers

Stream: implementers

Topic: SDC questionnaire advanced rendering


view this post on Zulip Matthew Koch (Jan 03 2020 at 18:46):

Hello, I see in one of the SDC examples for questionnaire / advanced rendering (R4) there is a _text attribute in addition to a text attribute for the items. Is this intentional? Trying to work out what to do if I want to apply the http://hl7.org/fhir/R4/extension-rendering-xhtml.html extension to the text element.

http://hl7.org/fhir/uv/sdc/2019May/questionnaire-sdc-profile-example-render.json.html

view this post on Zulip Yuriy Khamzyaev (Jan 21 2020 at 16:41):

Hi! Do you know if we can extend itemControl extension to control rendering of question input?
Fhir docs say:
Terminology Binding The codes SHALL be taken from Questionnaire Item UI Control Codes; other codes may be used where these codes are not suitable

So if text-box value is not enough, can we add additional value?

view this post on Zulip Paul Lynch (Jan 21 2020 at 16:53):

Hello, I see in one of the SDC examples for questionnaire / advanced rendering (R4) there is a _text attribute in addition to a text attribute for the items. Is this intentional?

@Matthew Koch Yes. Because in JSON representation the "text" attribute value is just a string, "_text" is the place to put extensions. You might have both "text" and "_text".

view this post on Zulip Paul Lynch (Jan 21 2020 at 16:59):

@Yuriy Khamzyaev Yes, since it is extensible you can add other values if the existing ones are not suitable, though it is unlikely anyone else will understand the values you add. It might be better, if you think there might be a general need for another value, to discuss here whether it should be added to the specification.

view this post on Zulip Matthew Koch (Jan 21 2020 at 16:59):

Thanks I ended up figuring this out after doing some more reading. I should have followed up here!

view this post on Zulip Paul Lynch (Jan 21 2020 at 17:00):

FYI, there is a "questionnaire" stream also.

view this post on Zulip Lloyd McKenzie (Jan 21 2020 at 18:03):

You are free to define codes in a supplementary code system and send them in the itemControl extension if the ones defined don't cover what you need. However, you can't expect other systems that comply with SDC to understand or adhere to those codes. If you have a requirement that's general purpose, you might want to submit a change proposal so your needs can be represented in the official value set @Yuriy Khamzyaev

view this post on Zulip Yuriy Khamzyaev (Jan 21 2020 at 18:39):

@Lloyd McKenzie @Paul Lynch Thanks a lot for info! Yeah, we don't need this value to be general purpose yet, but it could become in future.

view this post on Zulip Lloyd McKenzie (Jan 21 2020 at 19:18):

The question isn't so much whether you need the value to be general purpose as whether you think the value you need is likely to be relevant to a decent number of others in the community


Last updated: Apr 12 2022 at 19:14 UTC