thanatKh/PediCalc

2026-05-22

Language: JavaScript

Link: https://github.com/thanatKh/PediCalc

PediCalc is a clinical-grade Progressive Web App built for the neonatal and pediatric ward at Kabinburi Hospital in Thailand. It calculates Total Parenteral Nutrition (TPN) orders for the tiniest, most fragile patients — a task where a misplaced decimal point can cause real harm.

What makes this repo a hidden gem is the seriousness of the engineering against the smallness of the audience. The author isn't chasing stars; they're solving a workflow problem for nurses and physicians who currently rely on bedside arithmetic and paper sheets. The feature list reads like a checklist of things that actually matter in a NICU:

The stack is refreshingly current: React 19, Vite 8, Tailwind CSS v4, packaged as a PWA so it works offline at the bedside on whatever tablet is nearby. The PWA choice is smart — hospital Wi-Fi is notoriously flaky, and a calculator that fails when the network does is worse than no calculator.

Who benefits: Pediatric pharmacists, neonatologists, and nursing staff in low-resource hospitals where commercial TPN software is prohibitively expensive. It's also a great study reference for developers building safety-critical clinical tools — the validation logic alone is worth reading. Medical informatics students could learn a lot about translating clinical guidelines into runtime checks.

Why check it out: A genuinely safety-critical clinical calculator built with modern web tooling, solving a real problem in a real hospital with zero fanfare.

All newsletters