How-to guidesGuide 4 of 8

Before you submit: a FHIR XML checklist for ePI

The identifiers, metadata, version links, narrative rules and images to check in every ePI XML file before it goes to JFDA.

On this page

JFDA validates every ePI twice: once for the XML structure, and once for the narrative against the approved paper leaflet. A failure in either means rejection. This checklist covers the points to confirm before a file is submitted.

It is based on JFDA's FHIR XML Guidance (v1.2) and Narrative Guidance (v1.3), and on the ePI Regulatory Guidance, which is still a draft.

1. Start from the right source

  • Do not create the file with Word's "Save as XML" or with online PDF- or Word-to-XML converters. JFDA's Narrative Guidance says the result does not conform to FHIR.
  • One language per file. English is always required; Arabic is required when the approved paper leaflet has it.
  • Text direction, including right-to-left for Arabic, is handled by the reader, not inside the XML.

2. Bundle and metadata

  • Bundle type is document.
  • language is set, for example en or ar, and timestamp is present.
  • meta.profile is present on the Bundle, Composition, MedicinalProductDefinition and Organization, using the ePI profile URLs, for example http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/Bundle-uv-epi. A missing profile can pass a structure check and still fail conformance.
  • Composition has version, identifier, subject (the product) and author (the MAH).

3. The four identifier systems

Each identifier must use its exact system:

  • Bundle: https://leaflet.healthcare/sid/doc, the document across its versions.
  • Composition: https://leaflet.healthcare/sid/composition, this version only.
  • MedicinalProductDefinition: https://leaflet.healthcare/sid/product, one per product (dose form and strength).
  • Organization: https://leaflet.healthcare/sid/organization, one per MAH.

Values are real UUIDs generated by a standard tool or library. Never type them by hand, reuse them by accident, or use generic IDs such as org-001. No field may hold a placeholder like "TBD" or "N/A".

  • Bundle…/sid/doctype: document language timestamp meta.profileThe document across its versions
  • Composition…/sid/compositionversion relatesTo subject author meta.profileNew for every version and language
  • section › text › divOne div. No nested div, no br.Narrative
  • contained Binarysrc="#id" alt contentTypeImages
  • MedicinalProductDefinition…/sid/productmeta.profileOne per product · never changes
  • Organization…/sid/organizationmeta.profileOne per MAH · never changes
The parts of an ePI file that JFDA's checks look at, with the identifier system each uses. Systems start with https://leaflet.healthcare.

4. Versions and translations

  • Composition.version is "1" for the baseline, then 2, 3 and so on.
  • A new version gets a new Composition identifier and a relatesTo of type replaces, pointing to the previous Composition identifier.
  • A translation gets its own identifiers and a relatesTo of type transforms, pointing to the source-language Composition identifier.
  • Organization and MedicinalProductDefinition identifiers never change across versions or languages. One MAH with two Organization UUIDs may be rejected as a duplicate.
  • The Debug Portal does not check relatesTo; the Submission Portal does. A clean debug report is not the whole story.

5. Narrative rules

  • Exactly one div per section text, and no nested div: content inside one will not display.
  • No br tags.
  • No empty inline tags, and spaces do not count as content. Only an anchor a may be empty.
  • In tables, text goes only inside th and td.
  • Repeat each section title as visible text inside its div.
  • Our own tip, not a JFDA rule: avoid HTML entities such as   or °. The Narrative Guidance lists them, but XML only predefines five (<, >, &, ", '), so standard parsers may reject the file. Type the character itself or use a numeric reference such as  .

6. Images

  • Embed each image as a Binary contained in the Composition, JFDA's preferred method, and reference it as src="#id".
  • Every contained Binary is used in the narrative. Unused ones may be ignored or rejected.
  • contentType matches the image, for example image/png.
  • Give every image alt text, as JFDA's examples do.

7. Validate before you submit

  1. Run the file through JFDA's Debug Portal for the structured check.
  2. Compare the narrative with the approved paper leaflet word for word: no additions, omissions or rewording.
  3. Have the MAH review the whole file. JFDA is explicit that a vendor or automated tool does not move that responsibility.

For the regulatory side, including which leaflets need an ePI, read our ePI checklist for MAHs.

What JFDA has not yet settled

  • Which Composition.status to submit: the examples use both preliminary and final.
  • The system URL for Composition.type, which the guidance gives in three different forms.
  • Whether the Bundle identifier stays the same for a new version; two pages of the guidance differ.
  • How to show a local agent in the XML, and whether JFDA issues UUIDs or accepts company-generated ones.

Check these with JFDA or the Debug Portal rather than guessing.

How NASHRA can help

NASHRA builds and audits ePIs against JFDA's published guidance, with expert review against the approved paper leaflet, and the final sign-off stays with you. See our services or join the Founding Beta.

Sources

    Have a leaflet
    to convert?

    Build it in the Founding Beta, free. Or request a meeting.