About this work

Purpose
Grade the severity of chronic liver disease from routine laboratory values, applying the dialysis creatinine rule (creatinine set to 4.0 mg/dL when there were ≥ 2 haemodialysis sessions or ≥ 24 h CVVHD), value bounds (floor 1.0; creatinine cap 4.0), and the sodium correction, and produce a report — a MELD score clamped to 6-40, a mortality band (low ≤ 9, moderate 10-19, high 20-29, very high 30-39, extreme ≥ 40), and flagged issues — to support transplant prioritisation. A decision-support calculator, not a diagnosis.
Specification
Spec-driven: the living domain spec defines the data model, the weighted logarithmic formula, the dialysis rule, and the classification and flag rules. The same engine grades both the form and the dashboard.
Documentation
Drawn from Kamath et al. (2001), the UNOS MELD-Na policy, and Kim et al. (2021) for MELD 3.0. An estimate, not a substitute for specialist hepatology assessment.