clinical_calc: a Dart package of sourced clinical equations with explicit units
A new open-source Dart package called clinical_calc aims to prevent unit-related calculation errors in clinical equations, which often return plausible but wrong results rather than crashing. Quantities carry their units through typed constructors, and the compiler stops mixing indexed and absolute GFR values. Impossible inputs raise typed exceptions, and equations refuse to run outside the population they were validated for. The library covers kidney function formulas, body-size measures, unit conversions, dosing arithmetic, and several other clinical calculations, with each equation citing its original publication. Its authors stress that it is intended only for qualified professionals, is not a medical device, offers no dosing tables or recommendations, and that results must be verified.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in