This page is part of the Electronic Medicinal Product Information (ePI) FHIR Implementation Guide (v1.0.0-ballot: STU1 Ballot 1) based on FHIR v5.0.0-ballot. . For a full list of available versions, see the Directory of published versions
Changing the content of a resource requires both the @date attribute, @last updated, and @version in the parent Bundle containing the changed resource to be updated. No need to update the other resources in the bundle unless they have also been updated.
Managing the resources discretely.
Managing the resources as a document in a Bundle.
Managing the document as a static Bundle versions that are manually updated vs managing a dynamic Bundle that is automatically updated anytime one of its leaf resources is updated.
All data elements associated with controlled vocabularies are case sensitive. Refer to local guidance for case sensitivity rules.
All display names are language specific and shall match the language of the document. French display name for French documents and English display names for English documents.
NOTE:
Images are converted into Base64 encoding and incorporated into the Binary resource.
Images are rendered by the style sheet as provided, with no resizing or adjustments to resolution made by the style sheet. Only include images that are clear and easy to read.
All images require a meaningful description in the text element to allow screen reader software to describe the image to visually impaired audiences. Images should also have descriptive, yet simple, file names. This helps search engines find the image.
Colours should meet the WCAG AA accessibility level for contrast.
When authoring the ePI take into consideration the fact that it will be viewed on different screen sizes. Small screens may require more steps to access the same amount of information than on desktop or laptop screens.
Alternative text (or alt text) is text that describes an image. It makes it possible for people using assistive technologies to access the information conveyed by an image. It also helps search engines better understand the purpose of the image.
Recommendations for authors when writing alternative text for images:
All ePI section and sub-section headings are managed as controlled vocabularies. They shall have a code and display name.
NOTE:
Web Content Accessibility Guidelines (WCAG) explains how to make web content more accessible to people with disabilities. Accessibility involves a wide range of disabilities, including visual, auditory, physical, speech, cognitive, language, learning, and neurological disabilities. Although these guidelines cover a wide range of issues, they are not able to address the needs of people with all types, degrees, and combinations of disability. These guidelines also make Web content more usable by older individuals with changing abilities due to aging and often improve usability for users in general.
WCAG covers web sites, applications, and other digital content. It is developed by the World Wide Web Consortium (W3C) Web Accessibility Initiative (WAI). WCAG is an international standard.
There are three levels of conformance:
FHIR ePIs are encouraged to fulfill the success criteria for the WCAG 2.1, Level AA standard.
NOTE:
As per the FHIR specification, narrative text in FHIR is encoded with xhtml. The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes.
For convenience, this section outlines HTML elements commonly used by ePIs. However, refer to the HTML v4.0 standard for details on compliant formatting.
NOTE:
The P element is used to define paragraphs.
The BR element is used to define line breaks.
NOTE:
The B element is used to define bold text.
The I element is used to define italicized text.
The U element is used to define underlined text.
Use the paragraph style attribute to Coloured paragraph text.
Use the paragraph style attribute for shading paragraphs or adding a background to paragraph text. [INSERT a list of standardized class attributes and meanings]
NOTE:
The UL element is used to create an unordered list.
The OL element is sued to create an ordered list
For XML, the following characters must be escaped to prevent validation errors.
Special characters that need to be escaped in XML:
Special Characters | Escape String |
---|---|
” | " |
’ | ' |
< | < |
> | > |
& | & |
Enclose text the sup element for superscript and enclose text within the sub element for subscript.
The TABLE element is used to create a table.
The THEAD element is used to designate an entire row or rows as the table header.
The TFOOT element is used to define the table footer.
The TR element is used to define table rows.
The TH element is used to define header cells.
The TD element is used to define non-header cells.
The COLSPAN elements are used to merge columns.
The ROWSPAN elements are used to merge rows. The @frame attribute specifies which of the table’s outside borders are visible:
The @rules attribute specifies which of the table’s internal borders are visible:
The table/@ID attribute is used to give the table a unique identifier. For example, <tbody ID="t1">. Use the linkHtml/@href attribute to create cross-reference links to this table.
NOTE:
Recommendations on how to handle:
Black triangle
Black box warnings
To create hypertext links from text to text within the ePI’s Composition resource:
Add an id to a block of text or table:
<div id="a1">
<p>sample text</p>
</div>
And a link to the sample text:
<p><a href="#a1">refer to sample text</a></p>
To create hypertext links from text to content outside of the ePI document use the following format:
<A href="http://www.w3.org/">W3C Web site</A>
In some contexts, it is useful to link between the two representations of the same content: structured data, and human readable narrative. This can be used to assert that the text is a representation of the data, or specifically that the data is derived from some particular text. This specification defines the extensions narrativeLink and originalText to establish these links.
Refer to section 2.4.0.5 of the FHIR Narrative for further detail.
The ePI’s XHTML SHALL not reference any external stylesheets. This is to ensure there is no active content that could introduce security issues.