FHIR Chat · rendering-styleSensitive context of use · questionnaire

Stream: questionnaire

Topic: rendering-styleSensitive context of use


view this post on Zulip Paul Lynch (Sep 27 2019 at 20:01):

The styleSenstive page says, "Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential". That sounds like the presence of this extension affects the entire Questionnaire. However, the context of use says "Use on Element ID Element", which I think means it could be placed on any part of the Questionnaire, presumably affecting just that piece? The description and the context of use seem to contradict each other.

view this post on Zulip Paul Lynch (Sep 30 2019 at 16:06):

Suppose rendering-styleSenstive appears on a particular item's "text" attribute, and nowhere else in the Questionnaire.
1) Can a system ignore rendering-style placed on other items, or even other attributes of that item?
2) If a system cannot render the style for that item's text, does the prevent the whole Questionnaire from being rendered?

view this post on Zulip Lloyd McKenzie (Sep 30 2019 at 16:09):

I'm pretty sure that styleSensitive is defined to only be allowed on the root. The intention is to say that if you don't support the 'style' extensions that appear within the Questionnaire everywhere they appear, you can't render or allow entry into the form.

view this post on Zulip Paul Lynch (Sep 30 2019 at 16:35):

"Context of Use: Use on Element ID Element". @Lloyd McKenzie That means anywhere, doesn't it?

view this post on Zulip Lloyd McKenzie (Sep 30 2019 at 16:42):

Yeah. And that's wrong. It should just be Questionnaire. Change request? :)

view this post on Zulip Paul Lynch (Sep 30 2019 at 17:51):

Isn't http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive intended to apply to more than just Questionnaire? I don't see any reference to Questionnaire in its description.

view this post on Zulip Lloyd McKenzie (Sep 30 2019 at 19:00):

Perhaps it should apply to Resource. But yes, it's intended to apply to more. I think in SDC, we only expect support for it on the Questionnaire root.

view this post on Zulip Paul Lynch (Sep 30 2019 at 19:25):

Yes, on http://build.fhir.org/ig/HL7/sdc/rendering.html, "Location" is set to "root".


Last updated: Apr 12 2022 at 19:14 UTC