Client-Side SAP Risk Calculator

Enter routine admission labs โ€” prediction runs entirely in your browser. No data leaves your device.

Privacy-First ยท Zero Server Contact ยท FHIR R4 Ready

Patient Data Entry

All 59 lab features supported ยท blanks are imputed with cohort means

Loading modelโ€ฆ
Loading WASM engine (Pyodide)โ€ฆ
SI units US conventional (mg/dL)
Inflammatory / Haematological
Renal / Metabolic
Hepatic / Pancreatic
Coagulation / Haematology
Demographics

Fields left blank are imputed with cohort means (n=722).

Paste a FHIR R4 Bundle containing Observation resources. Observations are matched by LOINC code and mapped to the corresponding feature.

Risk Assessment

Random Forest ยท 200 trees ยท AUC 0.877

โ€” SAP Probability
Awaiting input
Optimal Threshold 0.535 (F1-optimised, AUC = 0.877)
Performance at threshold Sensitivity 96.8% ยท Specificity 38.7% ยท PPV 87.1%
For research purposes only. Not validated for clinical decision-making. Always apply clinical judgement.