Medic / CHT Feedback - Claim Subscription → openIMIS Interoperability
Purpose
When a Community Health Worker (CHW) provides care in the field, the insurance system should know about it and respond. This workflow connects CHT, the tool CHWs use daily, directly to openIMIS: when a claim is validated, the CHW is automatically notified and can submit feedback without any manual administrative step. The goal is simple reduce the gap between care delivery and health financing, while keeping CHWs in the loop.
This workflow enables CHT (Community Health Toolkit) to subscribe to claim validation events emitted by openIMIS, and to automatically trigger CHW (Community Health Worker) feedback collection when a claim reaches the validated status.
It demonstrates how a community health platform can be integrated into a health financing loop using FHIR Subscription resources, enabling timely clinical feedback tied to adjudicated claims.
Trigger
A claim status change in openIMIS where Claim.status transitions to validated.
Workflow
|
| ||||||
|---|---|---|---|---|---|---|---|
Workflow Maturity | Newly Defined - Specified and approved. Initial implementation in progress. | ||||||
Referenced Standards | HL7 FHIR Subscription Resource (R4): https://hl7.org/fhir/subscription.html HL7 FHIR Financial Module: http://hl7.org/fhir/financial-module.html | ||||||
Assumptions & Prerequisites |
| ||||||
Actors |
| ||||||
Validations | openHIM (IOL) must validate:
openIMIS (FIS) must validate:
|
Diagram
Workflow Steps
Step 1 — CHT Subscribes to Claim Validation Events
CHT submits a FHIR Subscription resource to openHIM, specifying:
Criteria:
Claim?status=validatedChannel type:
rest-hookEndpoint: CHT's HTTPS webhook URL
Transaction: POST /fhir/Subscription (CHT → openHIM → openIMIS)
Step 2 — Claim Validation in openIMIS
When an adjudicator validates a claim in openIMIS:
Claim.statuschanges tovalidatedopenIMIS identifies all active matching subscriptions
Notification dispatch is triggered
Transaction: Internal FIS processing
Step 3 — Claim Validation Notification Sent
openIMIS pushes a notification to the CHT webhook endpoint defined in the subscription.
Transaction: REST-hook notification (openIMIS → CHT) Resource: Claim (validated)
Step 4 — CHT Processes the Notification
Upon receiving the notification, CHT:
Optionally fetches full claim details:
GET /fhir/Claim/{claimUUID}(CHT → openHIM → openIMIS)Creates a feedback task assigned to the responsible CHW
Notifies the CHW to complete the feedback form
Step 5 — Feedback Submission (CHT → openIMIS)
After the CHW completes the feedback form, CHT submits it to openIMIS as a FHIR Communication resource.
Transaction: POST /fhir/Communication (CHT → openHIM → openIMIS)
Interaction Table
# | Interaction | From | To | FHIR Resource / Action | Reference |
|---|---|---|---|---|---|
1 | Claim Subscription request | PoS (CHT) | IOL (openHIM) |
| |
2 | Forward Subscription request | IOL | FIS (openIMIS) |
| — |
3 | Subscription Management | FIS | FIS | Internal — persist & filter active subscriptions | — |
4 | Claim Validation | FIS | FIS | Internal — | — |
5 | Claim Validation Notification | FIS (openIMIS) | PoS (CHT) | REST-hook: | |
6 (opt.) | Fetch Claim Details | PoS (CHT) | IOL |
| — |
7 (opt.) | Forward Claim Request | IOL | FIS |
| — |
8 | Collect CHW Feedback | PoS | PoS | Internal — CHW completes feedback form | — |
9 | Communication request (Feedback) | PoS (CHT) | IOL |
| |
10 | Forward Communication request | IOL | FIS |
| — |
FHIR Resources Summary
Resource | Purpose |
|---|---|
| Registers CHT's interest in |
| Represents the validated claim triggering the notification |
| Carries the CHW feedback from CHT back to openIMIS |
Source code
Demo & Docs
https://openimis.atlassian.net/wiki/x/IwCzDAE
sandbox/claim_submit_schedular at develop · openimis/sandbox : Claim Submit Schedular Module for openIMIS testing process
sandbox/mock_claim_subscription at develop · openimis/sandbox : A lightweight Flask-based application to manage FHIR Subscriptions from openIMIS, store callback notifications, and provide a simple API and UI layer for polling and monitoring
Maxime Ngoe , can we verify the feedback also in openIMIS once , I am sure it should be working, but will have to make sure this functionality is also working as well. how about json_ext as well.