Home  /  Products  /  iCare Case Study

iCare: Engineering a digital patient registry and real-time medicine logistics platform.

How we architected and deployed a mission-critical healthcare platform across hospital networks in Punjab and Madhya Pradesh to manage lifelong registries for rare blood disorders and prevent life-threatening medicine stock-outs.

View System Architecture ↓ View Conference Demonstrations Deploy in Your State / Hospital

1. The Problem: Fragmented Records & Life-Threatening Stock-Outs

Hemophilia and Thalassemia are chronic, lifelong blood disorders requiring continuous medical supervision and regular infusions of high-cost clotting factor concentrates. In public healthcare infrastructure, managing these conditions across distributed district hospitals presents severe operational failure modes:

  • Physical Paper Records: Patients carrying physical health cards or registers frequently lose them during travel, leaving emergency clinicians without historical dosage, inhibitor status, or transfusion reaction records.
  • Cold-Chain & Expiry Waste: Factor concentrate vials are expensive and perishable. Due to lack of real-time inventory visibility, one district hospital might face an acute stock-out during a trauma emergency while a neighbouring facility holds expiring surplus stock.
  • No Inter-District Portability: A registered patient visiting relatives in another district was effectively a stranger at the local hospital counter, requiring manual administrative approvals before emergency care could be administered.

2. Operational Constraints in Public Hospital Networks

Engineering enterprise software for commercial offices is straightforward; engineering systems for district-level public hospitals in India means solving for harsh infrastructural constraints:

  • Intermittent 2G/3G Connectivity: Hospital counters in rural and semi-urban districts experience daily internet dropouts. Software cannot lock up or drop transactions when connectivity is lost.
  • High-Pressure, Non-Technical Operators: Clinic nurses, pharmacists, and counter clerks handle hundreds of outpatient visits daily. Interfaces must be high-contrast, keyboard-efficient, and require zero training to prevent data entry mistakes.
  • Strict Regulatory & Privacy Compliance: Zero tolerance for exposure of Patient Health Information (PHI). Data must remain isolated by health administrative boundary, with tamper-proof audit trails for every vial dispensed.

3. System Architecture & Technical Design

iCare was engineered with a modular, highly resilient architecture. The stack combines a lightweight React client layer, a high-throughput Node.js/Express REST backend, and a PostgreSQL database enforcing relational integrity across multi-centre stock ledgers.

iCare Core Architecture & Data Flow
District Hospital PWA React · Local Storage Cache State Health HQ Real-Time Analytics & Allocations Nginx Reverse Proxy SSL · Rate Limiting · RBAC Node.js API Services Express · ABDM/FHIR Transformers PostgreSQL Cluster Multi-Tenant RLS · Audit Ledger
Secure TLS encrypted transport across all tiers with strict multi-tenant database partitioning.
Relational Double-Entry Stock Transfers
Medicine transfers between treatment centres operate on an immutable double-entry ledger within PostgreSQL transactions. When Hospital A dispatches 50 vials of Factor VIII to Hospital B, stock is placed into a verified transit state and cannot be double-dispensed or lost in accounting reconciliation.

4. Key Technical Decisions & Trade-Offs

  • PostgreSQL ACID over NoSQL for Inventory: While MongoDB offered quick prototyping for flexible patient forms, medicine inventories required strict relational constraints, check constraints against negative balances, and deterministic row locking during high-concurrency clinic hours.
  • Server-Rendered Lightweight Bundles: Avoided heavy client-side asset overhead. Keeping the JavaScript payload under 120KB ensured sub-second initial paint times even on 3G cellular dongles at remote hospital counters.
  • Zero PHI Exposure on Client Storage: Patient identifying information is never stored unencrypted in local browser storage. Session authentication uses cryptographically signed, short-lived tokens with strict CSP and CORS boundaries.

5. Standards & ABDM Alignment Roadmap

iCare's data schemas are designed in line with Ayushman Bharat Digital Mission (ABDM) guidelines and HL7/FHIR data models:

  • ABHA ID Compatibility: Patient registration schemas map cleanly to Ayushman Bharat Health Account (ABHA) identifiers for upcoming unified citizen health records.
  • FHIR Bundle Modeling: Diagnostic visits, clotting factor infusions, and adverse reaction logs conform to FHIR Resource definitions (Patient, Encounter, MedicationDispense, Condition).
  • DPDP Act Compliance: Purpose-limited data access, strict role-based authorization for doctors vs pharmacists vs program managers, and full immutable access audit logging.

6. Real-World Outcomes & State Demonstrations

The platform has been recognized at key state and national healthcare gatherings:

  • National Hemophilia Consensus Meeting (Bhopal, May 22, 2025): Pravesh Singh demonstrated the live iCare platform on stage before health commissioners, medical college professors, and senior hematologists, showcasing real-time cross-centre transfers.
  • NHM Punjab Review Workshop (Chandigarh, Nov 27, 2024): Addressed state health leadership alongside Mission Director Sh. Ghanshyam Thori, IAS, receiving official recognition from the State Blood Services Programme.
  • Active Hospital Coverage: Deployed and supporting specialized day-care centres and treatment units across state hospital networks in Punjab and Madhya Pradesh.
Clinical Operations Impact
"Digitized previously paper-bound patient logs across district hospitals, enabling instantaneous emergency factor lookups, cross-district patient history continuity, and verifiable cold-chain medicine ledgers."

7. What I Would Do Differently Today

Reflecting on years of running hospital software in production:

  • Local-First SQLite Replicas: Today, I would implement an embedded client-side database (such as SQLite with CRDT sync) to allow full offline intake during extended multi-hour broadband outages, syncing up automatically when 4G restores.
  • Automated AI Document Verification: We are currently introducing our applied-AI multimodal pipeline to automatically parse and verify physical paper bills and lab test PDFs directly upon scanning, eliminating manual re-keying by counter clerks.

Need to build or modernize a mission-critical healthcare platform?

I advise state health departments, hospital enterprises, and health-tech founders on scalable digital registries, ABDM integration, and medicine logistics.

Direct Answers

Frequently asked questions

What is iCare and who built it?

iCare is a mission-critical digital healthcare platform designed and built by Pravesh Singh, Founder & CTO of SoftEdge Technology Solutions. It manages electronic patient registries and cold-chain medicine inventory for hemophilia and thalassemia care across state hospital networks in Punjab and Madhya Pradesh.

Which hospitals use iCare?

iCare is deployed across state hospital networks and day-care centres in Punjab (with NHM Punjab and PSACS) and Madhya Pradesh. Patients registered at one district hospital can receive verified care and factor concentrate at any connected centre statewide.

How does iCare prevent medicine stock-outs?

The platform tracks every vial by batch number and expiry date in a double-entry inventory ledger, computes real-time cold-chain stock levels, and coordinates inter-hospital stock transfers using nearest-expiry (FEFO) allocation before local stock-outs occur.

Is iCare ABDM and FHIR compatible?

Yes. iCare's architecture is aligned with Ayushman Bharat Digital Mission (ABDM) guidelines, supports HL7 FHIR R4 document bundles, and includes role-based access control, encrypted storage, and immutable audit logs.

Is iCare suitable for HIPAA-style or GDPR-style deployments outside India?

Yes. iCare was engineered HIPAA-aware from the start: role-based access control, encrypted storage at rest and in transit, immutable audit logs, and data minimization match the safeguards US HIPAA and EU GDPR expect for sensitive health data. The same architecture pattern is available for hospital networks and clinics in the US, Europe and beyond through SoftEdge Technology Solutions — as compliance-conscious engineering, not a certification.

Can iCare be deployed in a new state or hospital network?

Yes. Deployments are executed by SoftEdge Technology Solutions with a phased rollout: registry migration, staff training, offline-tolerant terminal setup, and state health commissioner analytics dashboards. Inquiries: hello@praveshsingh.com.