Interoperability & Integration
Standards (FHIR R4, Kenya Core, MCP, OpenHIE), connector patterns per source system, the ingestion pipeline and an integration maturity ladder.
In short
- RADAR speaks FHIR R4 for system-to-system exchange, built on DHA's Kenya Core implementation guide, and MCP for connecting the AI agent to tools.
- Every source uses the same seven-step connector pipeline; raw data is kept so it can be re-processed.
- Sources climb an integration maturity ladder (L0 manual → L4 publish/subscribe). The MVP only needs L1–L2.
- Anything already on LATTICE goes through LATTICE.
Why it matters
“Integrate everything at once” is a challenge: too many systems, standards and business rules, high infrastructure and maintenance costs, and a brittle result that is hard to sustain. Proposal A single repeatable connector pattern, open standards, and a ladder that lets each source start simple is how RADAR stays incremental and sustainable — and how a new stream can be added later as a configuration change rather than a rebuild.
How this document connects
← Builds on
02 · Surveillance LandscapeEvery source in the inventory needs a connector pattern.03 · Minimum Event RecordThe MER is the exchange profile systems publish and subscribe to.04 · System ArchitectureThe architecture fixes where the interoperability layer sits.10 · Data GovernanceGovernance decides which data a connector may pull and at what granularity.1Principles
Federated
Sources remain the system of record. RADAR holds identities, timestamps and pointers.
Standards first
Reuse Kenya Core, national code lists and existing IGs before inventing anything.
Minimum necessary
Pull only the fields RADAR uses, at the coarsest granularity that works.
Start low, climb
Begin at the integration level a partner can support today.
2Standards stack
| Concern | Standard | Status / note |
|---|---|---|
| Exchange format | HL7 FHIR R4 (4.0.1) | Named in the proposal; DHA's declared national version Research |
| National base profiles | Kenya Core IG v1.0.0 (DHA) | Patient, Practitioner, Organization, Location, Encounter, Observation, Condition, Task; identifier patterns; national terminologies |
| Laboratory | Kenya Diagnostics FHIR IG (NPHL) | Draft v0.1.0 — ServiceRequest, DiagnosticReport, Observation |
| Surveillance | Draft Kenya surveillance FHIR IG (build.fhir.org) | Review before writing MER profiles |
| Aggregate data | DHIS2 Web API (JSON) / ADX | KHIS2 route |
| Terminology | ICD-11 / ICD-10, LOINC, SNOMED CT subset, national data dictionary | As referenced by Kenya Core |
| Places | KMHFL facility codes; county / sub-county / ward codes | Needed for linking across sources |
| Architecture | OpenHIE; OpenHIM as interoperability layer | Gateway, client auth, ATNA audit trail |
| AI tools | Model Context Protocol (spec 2026-07-28) | Agent ↔ tool interface; see below |
| Security | OAuth 2.x / OpenID Connect; mutual TLS between systems | Via Keycloak and the gateway |
DHA publishes its requirements as layered FHIR implementation guides, with Kenya Core as the foundation. Resources can be checked locally with the HL7 FHIR validator against the IG packages; DHA runs a separate certification assessment in which interoperability is one domain — passing validation is not the same as being certified. Research Run the validator in CI from day one and engage DHA early on certification scope and timing.
3One connector pipeline for every source
| Step | What happens | Checks and outputs |
|---|---|---|
| Extract | Pull or receive data via the source's route (API, file, FHIR, LATTICE) | Incremental where possible (since last watermark); retries with back-off |
| Land | Store the raw payload unchanged with metadata | Checksum, source, received-at; immutable |
| Validate | Schema, required fields, value ranges, dates not in the future | Failures → quarantine + alert to data steward |
| Map | Transform to MER / FHIR fields | Versioned mapping; FHIR validator on output |
| Code | Map local codes to national code lists (syndrome, species, admin unit, facility) | Unmapped codes flagged, never guessed |
| Link | Match to an existing MER or open a new one (doc 03) | Link method and confidence recorded |
| Publish | Write MER changes; emit event on the bus | Counts in/out per step to the data-quality dashboard |
4Connector plan by source
Starting level and target per source. Recommended — confirm during the dataset inventory (doc 02).
| Source | Route | Start → target | Notes |
|---|---|---|---|
| KHIS2 (IDSR) | DHIS2 Web API, analytics endpoints | L2 → L3 | Weekly pull of priority-disease data elements by org unit; map org units to admin codes |
| m-Dharura | Export or API | L1/L2 → L4 | Signals, verification outcome and times; free text treated as untrusted input (doc 12) |
| KABS | Dashboard export or API | L1/L2 → L3 | Syndrome, species, counts, GPS; generalise coordinates on ingest |
| EOC / DMT-PHE log | Native (RADAR is the record) | L4 | Paper back-entry form for outages |
| LIMS (NPHL) | FHIR (Diagnostics IG) | L3 | Result + specimen ID only; link via specimen ID where quoted in EBS/ADaM |
| ADaM / SHIELD | Export or API | L1 → L2 | Aggregate line-list counts per event; no personal data in RADAR |
| KMD | Data feed per agreement | L1 → L2 | Gridded or station rainfall; public products (e.g. CHIRPS) as a fallback |
| NDMA | Monthly bulletin | L0/L1 | Extract drought phase and vegetation condition by county |
| EarthRanger | REST API | L2 | Wildlife health event types only |
| WHO EIOS | Platform export / API (confirm) | L1 → L2 | Media signals tagged Kenya and neighbours |
5Integration maturity ladder
The ladder makes “integration” concrete and measurable. It also feeds the Gate 2 threshold of ≥ 80% dataset integration from baseline: “integrated” should be defined as Level 2 or higher with automated, monitored flows. Recommended
6FHIR and MCP: different jobs
The proposal names both FHIR R4 and the Model Context Protocol (MCP) as RADAR's open integration protocols. Proposal They are complementary:
- FHIR moves records between systems under contracts that validators can check.
- MCP gives the AI agent a controlled set of tools — look up an MER, fetch a trigger card, search guidelines, request a GHEC-AI hand-off.
MCP design rules
- Target the current specification (2026-07-28). It makes the protocol stateless (no session handshake), adds
Mcp-Method/Mcp-Nameheaders so gateways can route and authorise without parsing bodies, moves server-initiated requests to multi-round-trip requests, and tightens OAuth (issuer validation per RFC 9207; Client ID Metadata Documents instead of dynamic registration). Roots, Sampling and Logging are deprecated. Research - Read-only by default. Tools that write or send anything outside RADAR (e.g. GHEC-AI hand-off) only execute after a named officer approves the action in the DMT-PHE workspace.
- Narrow, typed tools. Each tool has a strict input/output schema and returns only minimum-necessary fields.
- Everything logged. Each tool call (who, what, parameters, result size) goes to the audit log.
- Route through the gateway so the same authentication, rate limits and audit apply as for FHIR traffic.
7The GHEC-AI interface
GHEC-AI (Sobek) is the downstream response-matching layer: it matches approved response needs to available workforce and capacity. Only minimum-necessary operational information passes, through secure API/MCP interfaces, and only after authorised escalation. Proposal Initial interface specifications, agreed jointly with Sobek, are an MVP component.
| Direction | Fields (draft) | Excluded |
|---|---|---|
| RADAR → GHEC-AI | mer_id, hazard, escalation level, affected admin units, required capacities (e.g. RRT, IPC, lab, RCCE, vector control), urgency, authorising officer and time | Any patient-level data; free-text case notes |
| GHEC-AI → RADAR | Request status, proposed team (role counts), approval, deployment and arrival times | Personal data of responders beyond role and team ID |
Details of the workflow and sequence are in doc 08.
8Data quality management
- Four dimensions tracked per source per week: completeness, timeliness (lag from event to arrival), validity (passes checks), uniqueness (duplicates).
- Data stewards at KNPHI own each source's quarantine queue and the relationship with its custodian.
- Feedback to sources: recurring problems go back to the custodian — RADAR should improve source data over time, not silently patch it.
9Testing interoperability
- Contract tests per connector using captured, de-identified sample payloads.
- A synthetic data generator that can replay realistic outbreaks (RVF, cholera) end-to-end in development.
- FHIR validation against Kenya Core and the MER profiles on every build.
- Staging replays of de-identified real feeds before any connector goes to production.
10Open questions
- Which sources does LATTICE cover today, and on what timeline will it cover more? Owner: KNPHI · month 1
- Does DHA require RADAR to route through a national HIE gateway? Owner: DHA liaison
- Which GHEC-AI version and API will Sobek expose, and on what infrastructure? Data residency for the hand-off must be confirmed. Owner: WSU + Sobek · MVP
- Exact definition of “dataset integrated” for the 80% threshold. Owner: TWG + MEL · Gate 1
Sources
- INV-110654 proposal — Conceptual Design (FHIR R4, MCP), “How RADAR will fit” (LATTICE, GHEC-AI).
- RADAR deck — slide 5 “RADAR approach to integration/interoperability”.
- DHA — Kenya Core FHIR IG; Nanto Health — How DHA tests interoperability in Kenya (vendor guide; verify with DHA).
- NPHL — Kenya Diagnostics FHIR IG.
- Model Context Protocol — The 2026-07-28 Specification.
- OpenHIM — About the OpenHIM.
- Sobek — GHEC AI.