# Example 1: 70kg patient, NPO 8 hours, Moderate Trauma
# Maintenance: 40 + 20 + 50 = 110 mL/hr
# Deficit: 110 * 8 = 880 mL
# Third Space: 4 * 70 = 280 mL/hr
# Hour 1: 110 + 440 + 280 = 830 mL/hr
intraoperative_fluid_dosing(70, 8, "moderate")
# Example 2: 100kg patient, NPO 10 hours, Severe Trauma
intraoperative_fluid_dosing(100, 10, "severe")
Run the code above in your browser using DataLab