STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Extensions for rendering data elements

Scope and Usage

This profile defines extensions governing how data elements should be rendered when presented to a user, printed, etc.

XHTML-based extensions

These extensions make use of XHTML capabilities to influence the rendering of data elements. In theory, systems displaying data using a technology other than XHTML could parse the information in the style string and attempt to map it to their own internal display syntax. However, it is likely that not all of the markup instructions would map well. Support for these extensions by software using mechanisms other than XHTML for rendering is therefore unlikely.

When generating narrative that includes elements with one of these extensions, the narrative covering these elements SHOULD apply the guidance provided by these extensions to how the element appears in the narrative.

Note: Implementers should be cautious around the use of sophisticated formatting capabilities. Not all browsers and other XHTML rendering tools support all styles and XHTML capabilities, or at least don't support them well. This is particularly true for mobile solutions. Limiting to simple capabilities increases the likelihood of interoperability and consistent rendering across devices.

Content

Extensions:
rendering-styleHtml style value :

Identifies how the specified element should be rendered when displayed.

rendering-xhtmlString equivalent with html markup :

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

rendering-markdownString equivalent with markdown :

This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about markdown. Note that using HTML xhtml can allow for greater precision of display.

rendering-styleSensitiveAre styles important for processing? :

Indicates that the style extensions (style, markdown) and xhtml) in this resource are essential to the interpretation of the styled text and that it cannot be rendered without the style without losing essential information.