Logo Lanfrica

hassanismailtech/dxpay

Domaine:

healthcaredigital infrastructure

Type de record:

software
Créateur:
has
Hôte:
DiagnosticsPay is a diagnostic billing infrastructure for African hospital. It is a system where doctors can orders diagnostics, patient sees the aggregated bill and pays once, the system splits the payment to labs/imaging centers. The goal is to remove fragmented local payments and manual receipts. # DiagnosticsPay **A unified diagnostic billing and payment orchestration layer for African hospitals.** Built for the **Enyata x Interswitch Buildathon 2026**. **Live Demo:** dxpay.vercel.app **Live API Base URL:** dxpay.onrender.com --- ## The Problem In many African healthcare facilities, diagnostic services suffer from fragmented payment systems. Patients often move between departments (Labs, Radiology, Pharmacy), paying separately for tests and receiving multiple paper receipts. This creates: * **Workflow Delays:** Tests cannot start until individual payment confirmations are received. * **Revenue Leakage:** Manual reconciliation causes missing or untracked payments. * **Poor Patient Experience:** Long payment queues and financial confusion. ## Our Solution: The Orchestration Layer DiagnosticsPay introduces a **single payment orchestration layer**. Instead of patients paying each diagnostic unit separately, our platform aggregates all ordered diagnostics into **one unified bill**. 1. **Order:** Doctor orders multiple tests via the Terminal. 2. **Aggregate:** System generates a single, unified invoice. 3. **Pay:** Patient pays once digitally via Interswitch. 4. **Split (Core Innovation):** The backend **Payment Split Engine** automatically distributes the funds to the respective providers (e.g., Hematology Lab, Imaging Center, Hospital Admin). --- ## Tech Stack & Architecture We utilized a "Two Kingdoms" monorepo structure to optimize parallel development during the 72-hour sprint. ### **Frontend (`/frontend/diagnosticspay`)** * **Framework:** Next.js 16.2 (App Router) * **Language:** TypeScript * **Styling:** Tailwind CSS + Shadcn UI * **State Management:** Zustand * **Deployment:** Vercel ### **Backend (`/backend`)** * **Framework:** Node.js + Express.js * **Database:** PostgreSQL (Hosted on Neon.tech) * **Payment Gateway:** Interswitch APIs * **Deployment:** Render --- ## Local Setup Guide To run this project locally for ju …