Global Core Electronic Medicinal Product Information (ePI), published by HL7 International / Biomedical Research and Regulation. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/emedicinal-product-info/ and changes regularly. See the Directory of published versions
| Page standards status: Informative |
Standard formatting and content structures for ePI narrative content โ ensuring consistency, quality, and global interoperability across jurisdictions.
Separate content from style using external CSS/XSLT.
FHIR structured elements use XML or JSON. Narrative text is XHTML inside <div> tags.
WCAG Level AA. Fluid tables, relative font sizes, scalable images.
Rules for table structure, borders, colspan/rowspan, and nested lists.
SVG preferred. Base64 embedded within a Contained Binary resource.
Escape characters, diacriticals, common symbols, and named entities for XML-safe content.
<p> โ Paragraph<strong>, <em>, <sup>, <sub>, <img>. Do not nest lists or tables inside <p>.<ol> / <ul> โ Lists<li> children. List items may contain <div>, <p>, <img>, or nested lists.<table> โ Tablewidth="100%" for fluid layouts. Always include <thead> and <tbody>.<footer> โ Footer<p> and <a>.<span> โ Inline Span<strong> for bold<b>. The semantic <strong> tag improves accessibility.<em> for italics<i>. Use <em> for semantic emphasis.em/rem for font sizespx font sizes โ breaks mobile responsiveness.width: 100% for tablesmax-width: 100% for imagesalt text.| Class Name | Preview | CSS Equivalent |
|---|---|---|
| bold | Bold Text | { font-weight: bold } |
| italics | Italics Text | { font-style: italic } |
| underline | Underlined Text | { text-decoration: underline } |
| strikethrough | { text-decoration: line-through } | |
| left / right / center / justify | Text Alignment | { text-align: left|right|center|justify } |
| border-left / right / top / bottom | Border Side | { border-[side]: 1px solid grey } |
| arabic / little-roman / big-roman | 1, 2, 3 / i, ii, iii / I, II, III | { list-style-type: decimal|lower-roman|upper-roman } |
| little-alpha / big-alpha | a, b, c / A, B, C | { list-style-type: lower-alpha|upper-alpha } |
| disc / circle / square / unlist | โ / โ / โ / (none) | { list-style-type: disc|circle|square|none } |
<ul> and <ol> tags must only contain <li> children. <li> items can contain <div>, <p>, headings, images, and tables as children.
| XHTML Structure | Rendered Output |
|---|---|
<ol>
<li>Bullet text #1</li>
<li>
<div><p>Bullet text #2</p>
<ul>
<li>Sub-bullet #1</li>
<li>Sub-bullet #2</li>
</ul>
</div>
</li>
</ol> |
|
Use the <a> tag with its href attribute for hypertext links within ePI narrative. Example:<a href="https://example.com">Visit site</a>
Use anchor IDs for in-document cross-references between sections:<a href="#section-4">See Section 4</a>
The following characters are reserved in XML and must be escaped. Web browsers automatically convert escaped forms back to normal display characters.
| Character Name | Display | Escaped Form (XML) |
|---|---|---|
| Ampersand | & | & |
| Less-than | < | < |
| Greater-than | > | > |
| Quotes | " | " |
| Apostrophe | ' | ' |
Symbols can be added as regular UTF-8 text or replaced with named entities. Refer to W3C resources for a comprehensive list.
| Result | Description | Named Entity | Numeric |
|---|---|---|---|
| Non-breaking space | |   | |
| < | Less than | < | < |
| > | Greater than | > | > |
| โค | Less than or equal to | โ | ≤ |
| โฅ | Greater than or equal to | โ | ≦ |
| & | Ampersand | & | & |
| © | Copyright | © | © |
| ® | Registered trademark | ® | ® |
| ° | Degree sign | ° | ° |
| € | Euro | € | € |
| β | Beta | β | โ |
Diacritical marks use combining numeric character references. Refer to W3C resources for a comprehensive list.
| Mark | Character | Construct | Result |
|---|---|---|---|
| ` | a | à | ร |
| ยด | a | á | รก |
| ^ | a | â | รข |
| ~ | a | ã | รฃ |
| ` | O | Ò | ร |
| ยด | O | Ó | ร |
Only <thead>, <tbody>, <tfoot>, <caption>, and <colgroup> are permitted as direct children of <table>. Do not use tables for layout and alignment.
SVG (Scalable Vector Graphics) is preferred for ePI images due to lossless scalability across devices. JPEG and PNG are acceptable for legacy content only.
All images must be embedded as Base64 objects within a Contained Binary resource to ensure the ePI is exchanged as a single self-contained file.
Always include descriptive alt text for every image. Ensure colors within images meet WCAG Level AA contrast requirements.
Use max-width: 100%; height: auto; for all images to ensure they scale correctly across desktop and mobile viewports.
<a> tag. Always check local regulations to confirm if audio and video are permitted in your jurisdiction.
Each language must be a separate ePI document. Do not mix multiple languages within a single ePI Composition.
Text direction (e.g., RTL for Arabic, vertical for Japanese) is managed by the stylesheet โ not the underlying XML/JSON content.
a + b<sup>2</sup> renders as a + bยฒ