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 looks reasonable.
clinical_calc is a pure Dart package built around those mistakes. Quantities carry their unit, impossible inputs throw typed errors, formulas refuse to run outside the population they were validated in, and every formula cites its original publication.
One thing first, because the README puts it first: this package is for use by qualified professionals, it is not a medical device, and results must be verified . It provides formulas only. It contains no drug-dosing tables and makes no recommendations.…