If Sex = 0 Or BSA = 0 Or Wtkg = 0 Or ABW = 0 Or Htcm = 0 Or Age = 0 Or Sex = 0 Or MAP = 0 Or AR = 0 Or RR = 0 Or Temp = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Please Enter all Demographic Information."
SetTopMostWindow Me.hwnd, True
Load DataInput
DataInput.Show
Exit Sub
End If
If pH = 0 Or PaCO2 = 0 Or PaO2 = 0 Or Patm = 0 Or SaO2 = 0 Or FiO2 = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Input pH, PaCO2, PaO2, Patm, SaO2 and FiO2"
SetTopMostWindow Me.hwnd, True
Load DataInput
DataInput.Show
Exit Sub
End If
If WBC = 0 Or Hematocrit = 0 Then 'or Hb = 0 or Hct = 0
SetTopMostWindow Me.hwnd, False
MsgBox "Input WBC and Hematocrit Please."
SetTopMostWindow Me.hwnd, True
Load DataInput
DataInput.Show
Exit Sub
End If
If Creatinine = 0 Or Sodium = 0 Or Potassium = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Input Serum Creatinine, Sodium and Potassium Please."
SetTopMostWindow Me.hwnd, True
Load DataInput
DataInput.Show
Exit Sub
End If
If Glasgow = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Input all Data for Glasgow Coma Score Please."
SetTopMostWindow Me.hwnd, True
Load GlasgowFrm
GlasgowFrm.Show
Exit Sub
End If
If ARF = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Please Select Renal Failure Status."
SetTopMostWindow Me.hwnd, True
Exit Sub
End If
If Option1(0).Value = False And Option1(1).Value = False And Option1(2).Value = False Then
SetTopMostWindow Me.hwnd, False
MsgBox "Please Select Surgical Status."
SetTopMostWindow Me.hwnd, True
Exit Sub
End If
If PDC = 0 Then
SetTopMostWindow Me.hwnd, False
MsgBox "Please Select PDC."
SetTopMostWindow Me.hwnd, True
Exit Sub
End If
Apache2 = 0
T1 = ((Temp - 32) * 5 / 9)
If T1 >= 41 Or T1 <= 29.9 Then
Apache2 = Apache2 + 4
GoTo ONE48
End If
If T1 >= 39 Or T1 <= 31.9 Then
Apache2 = Apache2 + 3
GoTo ONE48
End If
If T1 <= 33.9 Then
Apache2 = Apache2 + 2
GoTo ONE48
End If
If T1 >= 38.5 Or T1 <= 35.9 Then
Apache2 = Apache2 + 1
End If
ONE48:
If MAP f T= = Apache2 + 3
GoT &H00FF0000&
C ostWindo30 PaHpache2 = Apache2 + 1
En C oseYh = f
Apache2 = 0
T1 = (
Hb
End If
If PDC = 0 Then
SetTopMostWindow Me.hwnd = 1= 0 Or Wtkg = 0 Or ABW = 0 Or Htcm = 0 Or Age = 0 Or Sex = 0 Or MAP = 0 Or AR = 0 Or RR = 0 Or Temp =3 SetTopMostWMe.hwnd5+ = 180
B_GlobalNameSpace = False
AW MAP = 0 Or AR = 0 Or RR = 0 Or Temp =3 SetTopMostWMe.hwndvo51= 0 E Or Htc Wtkg = 0 Or ABW = 0 en
Apache2 = Apache2 + 4
GoTo ONE48
End If
If T1 >= 39 Or T1 <= 31.9 Then
Apache2 = Apache2 + 3
GoussOa-n 4320
=Apache2 + 3
Apache2 = Apache2 + 1
mouxrumt = 0 Then GoussOa-n 4320
10 1
mouxrumt = 0 Then GoussOa-n 4320
10 1
moussOa-n 431 Ge2 + 1
mouxrumt = 0 Then GoussOa-n 4gOr AR = 0 Or RR = == 31.9 T6ize dInput0 Then GoussOa
mo-n 43tgOr AR = 0 Left 1 indow Me.hwnd, True
1l= 0 Left 1 indow Me.hwnd, True
2SO If T1 >= 38.5 Or T1 <= 35.9 Then
Apache2 = Apand If
Apache2 = 0
'6 L Apache2 = Apache2 + 4
ApiForeColor l= 29.9 Then
e GoussOa-n 4 9.9 Then
_ 9 Then
= Then GoussOaapache2 + 4
HaVhend0alse Andolor = Truf9 Then
Apache2 = Apand If
Apache2 = 0
'6 L o-hen
Apache2 = 0
'6 L ne= 0 Left 1 indow Me.hwnd, True
1l= 0 ec) t1 che2 = 0
'6 L ne= 05 arent
Caption 88 e GoussOa-n 4 9.9 Then
_ 9 Then
= Then GoussOaapache2 + 4
HaVhend0alsI4ion 88 GoussOa-n 4320
haVhen4 9.9 Then
_ 9 THf00
haVhen4 9k13la = 1
i1
AltyT AOa-n = = I14oO e Gou SetTopMostWindow Me.hwnd, True
Load DataInput
DataInput.Show
Exit Sub
End If
If Glasg
If Glasg
If Glasg
If GlW= 0 Or Temp =3 SetTopMostWMe.hwnche2 Ca e2 + 4
HaVhendputCd0alsI4ion 88 Gous2aVhendp)2igOr AR = 0 Or RR = == 31.9 V Apache2 = Apand If
Caption i tD15. 283_n Ef (DC 5 Ait S+nd ppti0eubrt8
Caption i tD15. 283_1= 0
'6 L ne= 05 arent
Caption 88 e GoussOa-n 4 9.9 Then
_ 9 Then
= Then Goton1_512 1(1 <= 31.9 Then
e7i5 Caption 88 e Gousu. '6 9 Then
e7i5 Caption 883snt
'6 9 Then
xTo ONE48
End0BPe2 = Apache2 + . ne2 +gh
_ 9 Then
= Then Goton1_512 1(1 <= 31.9 Then
e7i5 Caption 88 e Ef (DC E3)Then
e7T) l 883snt
'6 9 Then
MnEMe.en040Ge"2dt SMe= e 1 88 e '+)2W#0aptionr6 L ne= 0 0m040Ge"2dt SMe= e 1 88 e '+)2W#0aptionr6 L ne= 0 0m040Ge"2dt SMe= e 1 88 e '+)2W#0aptionr6 L ne= 0 0m040Ge"2dt SMe= e 1 88 e '+)2W#0aptionr6 L ne= 0 0m040Ge"2dt SMe= e 1 88 e '+)2W#0aptionr6 L ne= 0 0m040Ge"2dt)onr6 Lr6 .cl 0 Lr6 . 0m040Ge"2dt SMe= e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)1tWni)11N7e e 0 e e e S5e
W ox16 CeM OosEnd0BPe2SeF40r #83_n E1
n8 Status."
SetTopMostWi7g8 ow 2lelect S5e
W ox16 CeM Oosotion i lelect S5e
W ox1+ndei#0aptxfub Me.tkethow 1ssOaapache2 03ssOaap1
EMe.en040Ge"4.ub 2e Fo7sOaap1
EMe._n E1
ne2 +)2W#0aptio0ap40rptionr6 L ne= 0 9.9eF40r #83_n E1
n8 Status."
SetTopMostWi7g8 ow 2lelect S5e
W ox16 CeM Oie= e 1 88 e 'End0BPe2 = '+)2W#0aptionMri)11NIf040Ge0
.hwndv a4.ub 2e Fo7sOaap1
s3tionr6 L ne= 0 d inR 88 e 'End0BPe2 = '+) e '5 88 .ubHne=
BackColor =atus."
SetTopMostWi7g8 ow 2lO e 0 n13Ir_ 9 Th 1i'End0BPe2 = '+)2W#0aptionMri)11N7e 1 88 e 'End0BPe2 = '+)1tWni)11N7e e 0 e e e S5e
W ox16 CeM OosEnd0BPe2SeF40r #83_n E1
n8 Status."
SetTopMostWi7g8 ow 2lelect S5e
W ox16 CeM Oosotion i lelect S5e
W ox1+ndei#0aptxfub Me.tkeO0m61+nd Ifn Golr040Ge"4 n11111111111111n8 MA "am 46ket 'dIf040TnfcAs rstsfcAs SdA1ubSptionMri)11N7e 1 88 e A3tdOosotlect S5e