# Example 1: Ready for Discharge
# Moves 4 limbs (2), Deep breathing (2), BP within 20 (2), Awake (2), SpO2 >92% RA (2)
aldrete_score(2, 2, 2, 2, 2)
# Example 2: Not Ready
# Moves 2 limbs (1), Dyspneic (1), BP within 20 (2), Arousable (1), SpO2 >90% on O2 (1)
# Total = 6
aldrete_score(1, 1, 2, 1, 1)
Run the code above in your browser using DataLab