# Example 1: Severe Pancreatitis
# Age 60 (+1), WBC 18 (+1), Glucose 12 mmol (+1), LDH 700 (+1)
# Score = 4
glasgow_imrie_pancreatitis_score(60, 18, 12, 10, 70, 35, 2.2, 700, 100, 100)
# Example 2: Mild Pancreatitis
# 40yo, Normal labs except slightly low calcium
# Score = 1
glasgow_imrie_pancreatitis_score(40, 8, 5, 5, 90, 40, 1.9, 200, 30, 30)
Run the code above in your browser using DataLab