# Example 1: Standard 1.0 PV exchange
# 70kg patient, Hct 40%
# TBV = 4900, EPV = 4900 * 0.6 = 2940 mL
therapeutic_plasmapheresis(70, 40, 1.0)
# Example 2: 1.5 PV exchange for TTP
# 80kg patient, Hct 30%
# TBV = 5600, EPV = 5600 * 0.7 = 3920 mL
# Exchange = 3920 * 1.5 = 5880 mL
therapeutic_plasmapheresis(80, 30, 1.5)
Run the code above in your browser using DataLab