Aug 6, 2026

Med-Intel : AI-Powered National Health Intelligence & Rural OPD Management System

healthtech healthcare ai in healthcare ai healthtech data analysis

Overview

MED-INTEL is an enterprise-grade, privacy-first healthcare intelligence platform designed for district-level public health administration, rural healthcare facilities, doctors, and patients.

It provides real-time syndromic surveillance, intelligent OPD ticket booking with automated AI symptom classification, digital lab record access, AI clinical assistance for doctors, and automated pharmaceutical supply chain dispatching to prevent stockouts of life-saving medicines across primary health centers (PHCs).

🛡️ Hardware TEE Enclave & Privacy Guarantee

Medical records and AI symptom prompts are processed within hardware-isolated Trusted Execution Environments (TEE) (AMD SEV-SNP / Intel SGX). Host operating systems and hypervisors cannot inspect unencrypted memory. Data access strictly enforces ABHA ID / Mobile Number zero-knowledge binding, ensuring ABDM & DISHA compliance.


🏗️ System Architecture

                                  +-------------------------------------------------+
                                  |                 USER CLIENTS                    |
                                  |  (Mobile Web / Desktop Browsers / Kiosks)       |
                                  +------------------------+------------------------+
                                                           |
                                            HTTPS / WSS (TLS 1.3)
                                                           |
                                                           v
+-------------------------------------------------------------------------------------------------------------------+
|                                            MED-INTEL REVERSE PROXY                                                |
|                                         (Port 3000 Ingress Routing)                                               |
+-------------------------------------------------------------------------------------------------------------------+
                                                           |
                                                           v
+-------------------------------------------------------------------------------------------------------------------+
|                                         NODE.JS EXPRESS FULL-STACK SERVER                                         |
|                                                                                                                   |
|  +--------------------------------+   +---------------------------------+   +----------------------------------+  |
|  |     PATIENT & OPD ENGINE       |   |       DOCTOR CLINICAL SUITE     |   |    DISTRICT COMMAND CENTER      |  |
|  | - ABHA / Phone Auth            |   | - Real-time OPD Queue           |   | - AI Supply Chain Dispatch       |  |
|  | - Multilingual AI Triage       |   | - Digital RX Generator          |   | - Bed Capacity Monitor           |  |
|  | - Digital Lab Report Viewer    |   | - Geofenced WiFi Attendance     |   | - D3.js Outbreak Heatmaps        |  |
|  +--------------------------------+   +---------------------------------+   +----------------------------------+  |
|                                                          |                                                        |
+----------------------------------------------------------|--------------------------------------------------------+
                                                           |
                                                           v
+-------------------------------------------------------------------------------------------------------------------+
|                                  TRUSTED EXECUTION ENVIRONMENT (TEE) ENCLAVE                                      |
|                                    (Hardware Isolated Memory - AMD SEV-SNP)                                       |
|                                                                                                                   |
|  +-------------------------------------------------------------------------------------------------------------+  |
|  |  🔐 CONFIDENTIAL COMPUTING LAYER                                                                           |  |
|  |  - AES-256-GCM / RSA-4096 Data Encryption At-Rest & In-Flight                                             |  |
|  |  - Google Gemini 2.5 Flash Server Proxy (Zero-Knowledge AI Prompt Enclave)                                  |  |
|  |  - Attestation Token Verification (Hardware Cryptographic Proofs)                                           |  |
|  +-------------------------------------------------------------------------------------------------------------+  |
|                                                                                                                   |
+-------------------------------------------------------------------------------------------------------------------+
                                                           |
                                                           v
+-------------------------------------------------------------------------------------------------------------------+
|                                       DATA PERSISTENCE & ANALYTICS LAYER                                          |
|                                                                                                                   |
|  +----------------------------------+  +----------------------------------+  +---------------------------------+  |
|  |      IN-MEMORY / FIRESTORE       |  |     OFFLINE LOCALSTORAGE CACHE   |  |     NFHS-5 CENSUS INDICATORS    |  |
|  |  Dynamic Patient & Inventory DB  |  |   Resilient Offline OPD Sync     |  |   Epidemiological Calibration   |  |
|  +----------------------------------+  +----------------------------------+  +---------------------------------+  |
|                                                                                                                   |
+-------------------------------------------------------------------------------------------------------------------+
 

✨ Key Features

1. 👤 Patient Portal & ABDM Integration

  • ABHA / Mobile Auth: Frictionless login bound to the patient's registered mobile number or 14-digit ABHA Health ID.
  • Smart AI Triage & OPD Booking: Instant symptom analysis in English, Hindi, and regional languages automatically assigning patients to the right medical department.
  • Digital Health Locker & Lab Reports: View official laboratory test reports (CBC, Dengue NS1, Electrolytes, Ultrasound) and download official ABHA-verified PDFs.
  • Digital Prescriptions: View active medication routines, dosages, and doctor notes.

2. 🩺 Doctor Clinical Dashboard

  • Queue Management: Real-time patient OPD token system with urgency categorization (Red, Yellow, Green).
  • AI Clinical Summarizer: Automated symptom analysis and diagnostic suggestion engine powered by Gemini 2.5 Flash.
  • Digital Rx Generator: One-click prescription builder pre-linked with hospital medicine stock.
  • Geo-fenced WiFi Attendance: Automated doctor duty verification matching facility BSSIDs/SSIDs.

3. 🏛️ District Admin Command & Supply Chain Hub

  • AI Medicine Supply Dispatch: Predictive inventory monitoring that automatically generates transfer requests from District Drug Warehouses to rural PHCs before medicine stocks deplete.
  • Critical Bed Occupancy Tracking: Real-time departmental bed capacity alerts (ICU, Emergency, Maternity, General).
  • D3.js Syndromic Outbreak Heatmap: Visual geospatial cluster mapping detecting localized infectious outbreaks (Dengue, Malaria, Gastroenteritis).
  • Official Public Health Indicators: Calibrated with Census and NFHS-5 data for epidemiological accuracy.

🛠️ Tech Stack

  • Frontend: React 18, Vite, TypeScript, Tailwind CSS, Lucide Icons, Motion Animation Library, D3.js.
  • Backend: Node.js, Express, TypeScript (tsx in dev, esbuild for CJS production bundling).
  • AI Engine: Google @google/genai (Gemini 2.5 Flash) server-side proxy.
  • Security Protocols: Trusted Execution Environment (TEE), AES-256-GCM, ABDM ABHA zero-knowledge data binding.

🚀 Getting Started

Prerequisites

  • Node.js: v18.0.0 or higher
  • npm: v9.0.0 or higher

Installation & Local Setup

  1. Clone the Repository

    git clone https://github.com/your-username/med-intel.git
    cd med-intel
     
  2. Install Dependencies

    npm install
     
  3. Set Up Environment Variables Create a .env file or export your Gemini API key:

    GEMINI_API_KEY=your_gemini_api_key_here
     
  4. Start Development Server

    npm run dev
     

    Access the app at http://localhost:3000.

  5. Production Build

    npm run build
    npm start
     

🔒 Security & Privacy Standard Compliance

  • ABDM (Ayushman Bharat Digital Mission): Compatible with ABHA health card standards.
  • DISHA (Digital Information Security in Healthcare Act): Strict patient data ownership and privacy.
  • HIPAA Compliance Guidelines: Enclave-isolated storage and encrypted data transmission.

📄 License

Distributed under the MIT License. 

1

Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion

More Builds by Abhay Verma

cybersecurity wordpress security penetration testing malware scan vulnerability assessment