-
Notifications
You must be signed in to change notification settings - Fork 0
/
sevsepsis3.py
28 lines (26 loc) · 1.13 KB
/
sevsepsis3.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from message3 import message3
def sevsepsis3():
wt = float(input("Weight (kg): "))
sam = str(input("SAM-SUW(1) Non-SAM(2): "))
if sam == "1":
bolus = float(wt*20)
bt = float(wt*10)
print("\nIn Children:")
print("Bolus 1:", round(bolus, 2), "ml in 1 hr (HS/NS),", "If MAP <50")
print("Bolus 2:", round(bolus, 2), "ml in 1 hr (HS/NS),", "If MAP <50")
print("Bolus 3:", round(bt, 2), "ml WBT,", "If MAP <50 mmHg")
print("START Ionotropes, monitor BP every 15 min\n")
elif sam == "2":
bolus = float(wt*20)
print("\nIn Children:")
print("\nBolus 1:", round(bolus, 2), "ml in 30 min (HS/NS),", "If MAP <50")
print("Bolus 2:", round(bolus, 2), "ml in 30 min (HS/NS),", "If MAP <50")
print("Bolus 3:", round(bolus, 2), "ml in 30 min (HS/NS),", "If MAP <50")
print("START Ionotropes, monitor BP every 15 min\n")
ques = str(input("Want to do anything else? (y/n): "))
if ques == "y" or ques == "Y":
from main3 import main3
else:
print("Thanks for using auto-calc!")
exit()
sevsepsis3()