German (DEU) electronic Product Information Leaflet (ePIL) Implementation Guide
0.7.0 - ci-build
German (DEU) electronic Product Information Leaflet (ePIL) Implementation Guide - Local Development build (v0.7.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page documents the eCAPI (electronic Consumer API) output behavior and the differences to the eAAPI input profiles.
The eCAPI delivers ePIL documents in depth 2 or depth 3. The consumer cannot control or request a specific depth — the system delivers the document as it is stored. Consumers must be prepared to handle both variants.
Depth 2 — Chapters with content only:
QRD Root (200000029894)
├── Chapter 1 (title + text)
├── Chapter 2 (title + text)
├── Chapter 3 (title + text)
├── Chapter 4 (title + text)
├── Chapter 5 (title + text)
└── Chapter 6 (title + text)
Depth 3 — Chapters with subsections:
QRD Root (200000029894)
├── Chapter 1 (title + text)
│ └── Subsections...
├── Chapter 2 (title + text)
│ ├── Do not take/use X
│ ├── Warnings and precautions
│ ├── ...
│ └── X contains {excipient}
├── ...
A single document may contain a mix — some chapters at depth 2 (text only), others at depth 3 (with subsections). Consumers should not assume uniform depth across all chapters.
Each individual chapter is delivered as either depth 2 or depth 3 — never a mix of both. When a chapter is delivered at depth 2, its text element contains the complete content (all subsection content is merged into the chapter text). The content is not missing — it is simply not split into subsections. When a chapter is delivered at depth 3, the subsections carry the detailed content and the chapter's own text element alone does not contain the full content.
In the eAAPI input profiles, certain subsections are mandatory (1..1) per the QRD template. In the eCAPI output profiles, all subsections are optional (0..1). The chapters themselves (1-6) remain required.
| Element | eAAPI (Input) | eCAPI (Output) |
|---|---|---|
| Chapters 1-6 | Required (1..1) | Required (1..1) |
| Chapter subsections | Per QRD template (1..1 or 0..1) | All optional (0..1) |
| Subsection minimum counts | Enforced (e.g. chapter 2: 5..*) | Not enforced (0..*) |
Change detection is exclusively available in eCAPI output documents and is not present in eAAPI input documents.
When a document replaces a previous version, the eCAPI output may include:
DEU-ePIL-Section-Change extension (0..1) on sections at any level — valueBoolean = true indicates the section content has changed compared to the previous versionrelatesTo with type replaces — references the previous version with a publicationDate in YYYY-MM formatA bidirectional invariant ensures consistency: if any section has the change extension set to true, a relatesTo[replaces] entry must be present, and vice versa.
For details on change detection, see Chapter Change Marking.
text element contains the complete content (subsection content is merged in). Render it directly — nothing is missing.text element alone is not sufficient. Consumers must either: