PH eReferral Implementation Guide
0.3.0-draft - draft
Philippines
PH eReferral Implementation Guide - Local Development build (v0.3.0-draft) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page documents the methodology used to produce the FHIR example resources in this Implementation Guide, tracing the path from the WHO SMART Guidelines framework through the Philippine eReferral data dictionary to validated, machine-readable FHIR Shorthand (FSH) instances.
The WHO SMART Guidelines define five layers for turning clinical recommendations into computable health content:
| Layer | Purpose | Philippine eReferral Artefact |
|---|---|---|
| L1 – Narrative | Personas, user scenarios, workflows | scenario.xml — User scenario 3.1: First antenatal care contact |
| L2 – Operational | DAK, process maps, use-case descriptions | Philippine Health Referral FHIR IG (PeRef): WHO SMART Guideline L2 Operational Guide (external document) |
| L3 – Machine-readable | Data elements, terminology mappings, decision logic | PeRef Logical Information Model (Data Dictionary) — the Excel workbook containing 46 data elements (REF-1 … REF-46) |
| L4 – Executable | FHIR profiles, FSH source, IG content | This Implementation Guide (input/fsh/) |
| L5 – Dynamic | Tests, examples, validation results | The 22 FHIR example instances and 2 transaction bundles documented below |
scenario.xml)The scenario describes Charity, a 24-year-old pregnant woman visiting a government health centre for the first time. Three personas interact across two business processes:
The scenario is modelled after the WHO ANC Digital Adaptation Kit (DAK) user-scenario format and provides the narrative context for every example resource.
The DRAFT Working Copy CDG Consensus – PeRef Logical Information Model (Data Dictionary) is the authoritative source for data-element definitions. Key sheets include:
| Sheet | Content |
|---|---|
| PeRef Logical Information Model | 46 data elements (REF-1 … REF-46) with columns for Element ID, Data Element, Clinical Information Group, FHIR Profile, FHIR Element (R4), Cardinality, Data Type, Value Set, and CDG Status |
| Workflow task Consensus | Mapping of each element to a workflow task (e.g. Create Referral Request, Assess Patient Condition) |
| Terminology Mapping | Placeholder for value-set and code-system bindings (to be populated) |
The 46 elements are organised into seven clinical information groups:
Plus logistics (REF-41), referral decision (REF-42), encounter context (REF-43 … REF-44), and navigator roles (REF-45 … REF-46).
Rather than treating the five WHO SMART layers as a strict waterfall sequence, this project works through them in short, incremental cycles. Each iteration takes a small slice of scope — a handful of new data elements, a scenario extension, or a set of stakeholder corrections — and pushes it through all five layers from narrative (L1) to validated outputs (L5) before circling back.
Key principles:
/dev/) is walked through with domain experts, clinicians, and implementers. Concrete examples — not abstract specifications — form the basis of discussion, making it easier to spot misunderstandings and missing elements.This approach aligns with agile delivery practices: deliver working software (a published IG with validated examples) frequently, welcome changing requirements, and rely on close collaboration with stakeholders over exhaustive up-front specification.
For this iterative approach to remain auditable and reproducible, every artefact that feeds the pipeline — the data dictionary (encrypted), scenario XML, CSV exports, FSH sources, generated JSON examples, and utility scripts — must be committed to the same Git repository as the IG itself.
If any input artefact lives outside version control (e.g. on a shared drive or in email), the chain from L3 data elements through L4 FSH source to L5 published examples is broken: there is no way to determine which version of the data dictionary produced a given set of FHIR resources, and stakeholder review feedback cannot be traced back to a specific commit.
Rule: If it is an input to or output of the pipeline, it belongs in this repository.
Note: The data dictionary Excel workbook is stored as a PGP-encrypted file (.xlsx.gpg). To decrypt:
gpg --decrypt \
"DRAFT Working Copy CDG Consensus - PeRef Logical Information Model (Data Dictionary).xlsx.gpg" \
> "DRAFT Working Copy CDG Consensus - PeRef Logical Information Model (Data Dictionary).xlsx"
The following pages provide in-depth coverage of each aspect of the project: