Skip to content
Articles
Article

clinical_calc: cited clinical formulas in pure Dart, with explicit units

by Abdeldjalil Chougui dev.to

5 min read

Clinical formulas are short. Cockcroft-Gault fits on one line. That is the trap: the arithmetic is easy, and the mistakes are somewhere else. A creatinine value typed in µmol/L goes into an equation that expects mg/dL. An eGFR indexed to 1.73 m² is used where an absolute clearance in mL/min was needed. An adult equation is applied to a child. None of these crashes. Each one returns a number that …

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by