A registry for percutaneous drains in interventional radiology. Each drain is scored with PRIDIT-S when it goes in, every follow-up visit lands on one timeline, and the drains that outstay their predicted window rise to the top — so patients stop getting lost, and a year of routine care becomes research data.
Demo with fictional patients on a local copy of the app. The scores, trend summaries and validation figures are the app’s real output.
Patients with drains were routinely lost to follow-up. When a patient walked in, or rang, there was no reliable way to say what the drain output had been doing for the previous three days — and every case that ended quietly was a data point that never made it into a study.
Each patient can have several drain episodes, and each episode has its own visits. At placement, seven factors — drain size, the patient’s condition, first-day output, indication, collection type, a complex procedure and any fistula — give a PRIDIT-S score (Predictive Risk Index for Drain Indwelling Time with drain Size) and a predicted indwelling window. Every follow-up records output, condition, labs, aspiration, flushing, imaging, cultures and the plan, and the episode timeline shows the trend at a glance. The dashboard lists every drain past its predicted window, and an episode can be closed out with its outcome in two clicks.
Between visits, patients can now record their drain output themselves. For an ongoing drain, staff create a private link and send it on WhatsApp in one tap. The patient opens it on their phone with no account or login. The page is in English and Urdu side by side, so most patients can use it in whichever they read. Each day they enter the date, the volume in ml, whether the drain was flushed and an optional note. Saving the same date again corrects that day’s entry. The entries appear straight away in the episode’s Patient Daily Log. So when a patient rings or walks in, the last few days of output are already on screen.
| Frontend | React + Vite, installable PWA with automatic updates |
| Backend | Plain PHP API, one file per resource, JSON Web Token authentication |
| Database | MySQL — patients, drain episodes, visits, comorbidities and patient daily logs |
| Hosting | Shared hosting on Hostinger |
Live in its second version and in active use at Hearts International Hospital. The clinical work and the research have become the same activity: a year on, the dataset needed to validate PRIDIT-S is already in place.
If your patients already generate the data, a simple tool can capture it as you go — better care now, and a study ready when you are.