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
typeisdocument. languageis set, for exampleenorar, andtimestampis present.meta.profileis present on the Bundle, Composition, MedicinalProductDefinition and Organization, using the ePI profile URLs, for examplehttp://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) andauthor(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: documentlanguagetimestampmeta.profileThe document across its versionsComposition…/sid/compositionversionrelatesTosubjectauthormeta.profileNew for every version and languagesection › text › divOne div. No nested div, no br.Narrativecontained Binarysrc="#id"altcontentTypeImagesMedicinalProductDefinition…/sid/productmeta.profileOne per product · never changesOrganization…/sid/organizationmeta.profileOne per MAH · never changes
4. Versions and translations
Composition.versionis "1" for the baseline, then 2, 3 and so on.- A new version gets a new Composition identifier and a
relatesToof typereplaces, pointing to the previous Composition identifier. - A translation gets its own identifiers and a
relatesToof typetransforms, 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
divper section text, and no nesteddiv: content inside one will not display. - No
brtags. - No empty inline tags, and spaces do not count as content. Only an anchor
amay be empty. - In tables, text goes only inside
thandtd. - 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.
contentTypematches the image, for exampleimage/png.- Give every image
alttext, as JFDA's examples do.
7. Validate before you submit
- Run the file through JFDA's Debug Portal for the structured check.
- Compare the narrative with the approved paper leaflet word for word: no additions, omissions or rewording.
- 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.statusto submit: the examples use bothpreliminaryandfinal. - 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
- JFDA HL7 FHIR XML Guidance (v1.2): Fundamentals, Versioning, Bundle, Composition, Organization, Binary and Validation pages.
- JFDA Narrative Guidance (v1.3): Best Practices, Div, Inline, Table, Section and Symbols pages.
- JFDA ePI Regulatory Guidance (v1, draft), sections 7, 10 and 12.1.
