DHANVANTARI AMBULANCE
A dynamic ambulance management system — think Ola/Uber for emergency medical services — with real-time GPS tracking, intelligent dispatch, and hospital coordination across Chhattisgarh.
Role
Backend & Systems Lead
Client
Dept. of Health, Govt. of Chhattisgarh
Year
2024
Category
Gov-Tech / Healthcare
Tech Stack
The Problem
Emergency response in Chhattisgarh relied on phone calls to a central number, manual dispatcher decisions, and no real-time visibility into ambulance locations. Response times were unpredictable, ambulances were often dispatched from far away while closer ones sat idle, and hospitals had no advance notice of incoming patients.
The Approach
Built a ride-hailing-style dispatch system for ambulances. GPS-equipped vehicles report location in real-time via Socket.io. The dispatch algorithm factors in distance, traffic, vehicle type, and hospital capacity to assign the optimal ambulance. Hospitals receive patient details and ETA before arrival. The admin dashboard shows fleet-wide status, response time analytics, and coverage heatmaps.
How it was built
Mapped the existing dispatch workflow — identified that manual assignment was the primary bottleneck, with dispatchers making decisions based on memory rather than data.
Built the real-time tracking layer — GPS pings from ambulances via Socket.io, with Redis pub/sub for low-latency location updates across the dashboard.
Developed the intelligent dispatch algorithm — weighted scoring based on proximity, traffic conditions, vehicle equipment level, and destination hospital capacity.
Created the hospital coordination module — automatic patient pre-registration, ETA notifications, and bed availability checks.
Built the driver-facing mobile app in React Native — turn-by-turn navigation, patient info display, and one-tap status updates.
Impact
Visuals
Fleet Tracking
Real-time ambulance positions with intelligent dispatch routing and hospital coordination.
Response Analytics
Coverage heatmaps and response time metrics for optimizing fleet deployment.