FHIR Chat · Narrative - external stylesheet · implementers

Stream: implementers

Topic: Narrative - external stylesheet


view this post on Zulip Shamil Nizamov (Aug 08 2018 at 21:00):

One more possible inconsistency: in 2.4.0 Narrative "The XHTML content SHALL NOT contain … external stylesheet references …"
Later there, 2.4.0.4 Styling the XHTML "The XHTML fragment in the narrative may be styled using cascading stylesheets with either external or internal styles. External styles are applied using the class and id attributes on the XHTML elements ..."

If a reference is not allowed how do class and id can apply external CSS?

view this post on Zulip Grahame Grieve (Aug 08 2018 at 21:04):

In order to minimize manageability and security issues, authoring systems cannot specify the CSS stylesheet to use directly. Instead, the application that displays the resource provides the stylesheets.

view this post on Zulip Matthew Koch (Jan 03 2020 at 14:00):

Can't you do this via Bundle, though, using https://www.hl7.org/fhir/bundle-definitions.html#Bundle.link ?

view this post on Zulip René Spronk (Jan 03 2020 at 14:04):

Related observation: A document bundle may contain a Binary resource with the CSS. Whether the receiver actually uses that is up to agreement between parties.


Last updated: Apr 12 2022 at 19:14 UTC