# Example 1: Very Low Risk
# 35yo Female (-2), HR < 80 (-1), No other risks -> Score -3
score_4peps(35, "female", 0, 1, 0, 0, 0, 0, 0, 0, 0, 0)
# Example 2: Moderate Risk
# 55yo Male (-1 + 2), Chest Pain/Dyspnea (+1), PE Most Likely (+5) -> Score 7
score_4peps(55, "male", 0, 0, 1, 0, 0, 0, 0, 0, 0, 1)
# Example 3: High Risk
# 70yo Female (0), Immobility (+2), O2 <95% (+3),
#Unilateral Edema (+3), PE Most Likely (+5) -> Score 13
score_4peps(70, "female", 0, 0, 0, 0, 0, 0, 1, 1, 1, 1)
Run the code above in your browser using DataLab