med.lab - Laboratory Engine
80+ lab tests across 15 panels with normal, critical, and panic ranges.
Panels
CBC, BMP, CMP, LFTs, Coagulation, ABG, Cardiac, Thyroid, Inflammatory, Renal
Methods
interpret(test_name, value) ? dict
Interpret a single lab value against reference ranges.
run_panel(panel_name, values) ? dict
Run a full panel with interpretation.
calculate_gfr(creatinine, age, sex) ? float
CKD-EPI 2021 race-free GFR calculation.
interpret_abg(pH, pCO2, HCO3) ? dict
Full acid-base interpretation.
See Also
- med.scores — clinical scoring using lab-derived parameters
- med.pk — therapeutic drug monitoring with lab values
- med.glucose — specialized glucose and HbA1c interpretation
- med.fhir — export lab results as FHIR Observation resources
- Diabetes CGM Dashboard — walkthrough combining lab interpretation with glucose analytics