Clinical calculations in TypeScript. Each installs in your lib folder with no dependencies; components use some of them, and you can call any from your own code.
All Helpers
- AgeAge in months and years, age corrected for prematurity, and age formatted for charts.
- Body measurementsBody mass index with its WHO category, and body surface area by the Mosteller, Du Bois or Haycock formula.
- Clinical unitsConverts laboratory values between conventional and SI units, and temperature, weight and length between systems.
- Reference rangesFlags a value low, high or critical against its reference range, and prints the range as a report does.
- Z-scoresZ-scores and percentiles from LMS reference parameters, with WHO's restricted extrapolation.