# Example 1: High Risk (Score >= 9)
# Age 55 (2), WBC 18 (2), BUN 30 (~10mmol) (2), INR 2.2 (3), Bili 15 (~256umol) (3)
# Score = 2+2+2+3+3 = 12
glasgow_alcoholic_hepatitis_score(55, 18, 30, 2.2, 15)
# Example 2: Low Risk (Score < 9)
# Age 40 (1), WBC 10 (1), BUN 10 (~3.5mmol) (1), INR 1.2 (1), Bili 2 (~34umol) (1)
# Score = 5
glasgow_alcoholic_hepatitis_score(40, 10, 10, 1.2, 2)
Run the code above in your browser using DataLab