Clinical math with a signature.
Dosing sheets, an eGFR calculator in a browser tab, thresholds in a policy PDF. In Grid the clinical math is validated formulas over typed cells — the calculation, its inputs, and the alert threshold live in one place, and every result can explain itself.
Monday morning, as source.
# clinical math, validated egfr = EGFR_CKD_EPI_2021(creatinine, age, sex) crcl = CREATININE_CLEARANCE_CG(age, weight_kg, creatinine, sex) dose_mg = DOSE_BY_WEIGHT(weight_kg, mg_per_kg) # the threshold is part of the model WHEN egfr < 30 THEN renal_alert = TRUE END
Forty healthcare functions — clinical math, diagnostic metrics, medication, operations — named after the formulas clinicians already cite, not reinvented.
Validation as declaration
Cells carry validation and strictness contracts; an out-of-range input is refused at the boundary, not discovered in a chart review.
Types & validation →Alerts with discipline
WHEN rules with debounce and serial queues — a flapping lab value produces one alert, not forty.
Rules & schedules →Every result explains itself
WHY(cell) shows the dependency path and inputs behind any figure — the difference between a calculator and something you can sign.
Explanation & WHY →