# Example 1: High Probability
# Fall 60% (+3), Timing 7 days (2 -> +3), Nadir 50 (+2), New Clot (1 -> +3), No others (+3)
# Score = 14
hep_hit_score(60, 2, 50, 1, 0, 0, 0, 0)
# Example 2: Low Probability
# Fall 20% (-1), Timing <4d (0 -> -2), Nadir 10 (-2), Bleeding (1 -> -1), Other cause (1 -> -2)
# Score = -8
hep_hit_score(20, 0, 10, 0, 0, 0, 1, 1)
Run the code above in your browser using DataLab