# Example 1: Low Risk
# BUN 5, Hb 14, SBP 120, HR 70, No other factors
# Score = 0
glasgow_blatchford_score(5, 14, 120, 70, 0, 0, 0, 0)
# Example 2: High Risk
# BUN 30 (+6), Hb 9 (+6), Melena (+1)
# Score = 13
glasgow_blatchford_score(30, 9, 110, 90, 1, 0, 0, 0)
Run the code above in your browser using DataLab