Release 5 Preview #2

This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). 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

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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-stylestyle :

Identifies how the specified element should be rendered when displayed.

rendering-xhtmlxhtml :

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-markdownmarkdown :

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-styleSensitivestyleSensitive :

Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.