Profile Comparison between http://hl7.org/fhir/StructureDefinition/rendering-style vs http://hl7.org/fhir/StructureDefinition/rendering-style

Left:Rendering Style (http://hl7.org/fhir/StructureDefinition/rendering-style)
Right:Rendering Style (http://hl7.org/fhir/StructureDefinition/rendering-style)

Messages

InformationStructureDefinition.commentValues for comment differ: 'This extension would be equivalent to setting the HTML 'style' attribute on the root element for the element containing the extension. NOTE: HTML styles can include references to external content (images, fonts, etc.), which may constitute a security issue, as resolving the link can allow tracking. See [here for more detail](http://hl7.org/fhir/security.html#narrative). For questionnaires, see additional guidance and examples in the [SDC implementation guide](http://hl7.org/fhir/uv/sdc/STU4-ballot/rendering.html#rendering-style). This style applies to the base string. If there is also a rendering-xhtml or rendering-markdown extension, they must declare any relevant styles within those extension values.' vs 'This extension would be equivalent to setting the HTML 'style' attribute on the root element for the element containing the extension. NOTE: HTML styles can include references to external content (images, fonts, etc.), which may constitute a security issue, as resolving the link can allow tracking. See [here for more detail](http://hl7.org/fhir/security.html#narrative). For questionnaires, see additional guidance and examples in the [SDC implementation guide](http://hl7.org/fhir/uv/sdc/2025Jan/rendering.html#rendering-style). This style applies to the base string. If there is also a rendering-xhtml or rendering-markdown extension, they must declare any relevant styles within those extension values. Setting styles on elements can be risky. It presumes knowledge of how elements are rendered 'by default'. For example, setting the color of an element to 'blue' to highlight it might be fine - unless the default background color for a particular renderer is already blue. As well, it's not a given that all elements will be represented by a single HTML element. One element might be referenced by a collection of table cells that span rows and columns. Setting a border style on all of those cells wouldn't give the desired results and auto-tweaking the border style on each cell (deciding whether the border is top,left, right, etc.) would require complex coding. Finally, systems might not be using HTML for their UI at all and will need to map the specified styles to their own UI mechanism. For this reason, this element is best used when: a) the default UI characteristics are already well understood (because the specification applies to a single system or to a set of systems that are already required to comply with specific UI expectations b) the set of allowed style values is tightly controlled to only those that are necessary and sensible in that context'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Extension
      .copyright
        .descriptionIndicates an HTML style that should be applied when rendering this element.
          .experimentalfalse
            .fhirVersion5.0.0
              .jurisdiction
                ..jurisdiction[0]http://unstats.un.org/unsd/methods/m49/m49.htm#001
                  .kindcomplex-type
                    .nameRenderingStyle
                      .publisherHL7 International / FHIR Infrastructure
                        .purpose
                          .statusactive
                            .titleRendering Style
                              .typeExtension
                                .urlhttp://hl7.org/fhir/StructureDefinition/rendering-style

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. Extension 0..1ExtensionHtml style value
                                  0..1ExtensionHtml style value
                                    ... id 0..1idUnique id for inter-element referencing0..1idUnique id for inter-element referencing
                                      ... Slices for extension 0..00..0
                                        ... url 1..1uri"http://hl7.org/fhir/StructureDefinition/rendering-style"1..1uri"http://hl7.org/fhir/StructureDefinition/rendering-style"

                                          doco Documentation for this format