Index: TD_Pre_Treatment/interface.ui =================================================================== diff -u -r273cc1629b141c03f409e2c7736d1a0f7fe41bbd -r5834e4d46013d721aef8d1c81167321824403d0c --- TD_Pre_Treatment/interface.ui (.../interface.ui) (revision 273cc1629b141c03f409e2c7736d1a0f7fe41bbd) +++ TD_Pre_Treatment/interface.ui (.../interface.ui) (revision 5834e4d46013d721aef8d1c81167321824403d0c) @@ -243,15 +243,45 @@ - - + + + + + 0 + 0 + + + + + 75 + 0 + + + + + 100 + 16777215 + + + + false + + + QFrame::WinPanel + + + QFrame::Sunken + - Treatment Modality + - + + Qt::AlignCenter + - - + + 50 @@ -269,15 +299,36 @@ - - + + - UF Volume + Substitution Fluid - - + + + + UF Pre-Weight + + + + + + + Dry Bicarbonate Cartridge Size + + + + + + + Heparin Delivery Duration + + + + + 0 @@ -313,8 +364,8 @@ - - + + 0 @@ -350,27 +401,15 @@ - - - - - 50 - 16777215 - + + + + Hepatitis B Status - - -2147483647 - - - 2147483647 - - - 3 - - - + + 0 @@ -406,27 +445,8 @@ - - - - - 50 - 16777215 - - - - -2147483647 - - - 2147483647 - - - 3 - - - - - + + 0 @@ -462,8 +482,8 @@ - - + + 50 @@ -481,8 +501,8 @@ - - + + 50 @@ -500,8 +520,8 @@ - - + + 0 @@ -537,41 +557,8 @@ - - - - UF Estimated Target Weight - - - - - - - - 50 - 16777215 - - - - -2147483647 - - - 2147483647 - - - 3 - - - - - - - Hepatitis B Status - - - - - + + 0 @@ -607,8 +594,8 @@ - - + + 50 @@ -626,8 +613,8 @@ - - + + 0 @@ -663,27 +650,15 @@ - - - - - 50 - 16777215 - + + + + UF Volume - - -2147483647 - - - 2147483647 - - - 3 - - - + + 0 @@ -719,8 +694,8 @@ - - + + 50 @@ -738,22 +713,15 @@ - - + + - Heparin Type + Treatment Modality - - - - Sodium - - - - - + + 0 @@ -789,8 +757,8 @@ - - + + 0 @@ -826,73 +794,22 @@ - - + + - Acid Concentrate Index + Final Confirmation - - - - - 0 - 0 - - - - - 75 - 0 - - - - - 100 - 16777215 - - - - false - - - QFrame::WinPanel - - - QFrame::Sunken - + + - - + Treatment Duration - - Qt::AlignCenter - - - - - Dry Bicarbonate Cartridge Size - - - - - - - Blood Pressure Measure Interval - - - - - - - Fluid Bolus Volume - - - - - + + 50 @@ -910,8 +827,8 @@ - - + + 50 @@ -929,8 +846,15 @@ - - + + + + Rinseback Volume + + + + + 0 @@ -966,15 +890,15 @@ - - + + - Blood Flow Rate + Bicarbonate - - + + 50 @@ -992,22 +916,53 @@ - - + + - Substitution Fluid + Fluid Bolus Volume - - - - Acid Concentrate Conversion Factor + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - + + + + + 50 + 16777215 + + + + -2147483647 + + + 2147483647 + + + 3 + + + + + 0 @@ -1043,15 +998,8 @@ - - - - Heparin Delivery Duration - - - - - + + 0 @@ -1087,8 +1035,8 @@ - - + + 0 @@ -1124,8 +1072,27 @@ - - + + + + + 50 + 16777215 + + + + -2147483647 + + + 2147483647 + + + 3 + + + + + 0 @@ -1161,8 +1128,8 @@ - - + + 50 @@ -1180,8 +1147,22 @@ - - + + + + Blood Pressure Measure Interval + + + + + + + HDF Treatment Mode + + + + + 50 @@ -1199,29 +1180,65 @@ - - - - Heparin Bolus Volume + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - - - Treatment Duration + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - - - Bicarbonate + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - + + 0 @@ -1257,15 +1274,27 @@ - - - - Dialysate Temp + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - + + 0 @@ -1301,8 +1330,8 @@ - - + + 50 @@ -1320,52 +1349,28 @@ - - - - - 50 - 16777215 - + + + + Heparin Type - - -2147483647 - - - 2147483647 - - - 3 - - - + + - Heparin Dispensing Rate + Heparin Bolus Volume - - - - - 50 - 16777215 - + + + + Dialyzer Type - - -2147483647 - - - 2147483647 - - - 3 - - + @@ -1384,46 +1389,8 @@ - - - - - 50 - 16777215 - - - - -2147483647 - - - 2147483647 - - - 3 - - - - - - - - 50 - 16777215 - - - - -2147483647 - - - 2147483647 - - - 3 - - - - - + + 0 @@ -1459,15 +1426,29 @@ + + + + Dialysate Temp + + + + + + + Acid Concentrate Index + + + - + - Dialysate Flow Rate + Blood Flow Rate - - + + 50 @@ -1485,8 +1466,8 @@ - - + + 0 @@ -1522,20 +1503,13 @@ - - + + - Dialyzer Type + Acid Concentrate Conversion Factor - - - - UF Pre-Weight - - - @@ -1555,15 +1529,27 @@ - - - - Rinseback Volume + + + + + 50 + 16777215 + + + -2147483647 + + + 2147483647 + + + 3 + - - + + 0 @@ -1599,8 +1585,34 @@ - - + + + + Sodium + + + + + + + + 50 + 16777215 + + + + -2147483647 + + + 2147483647 + + + 3 + + + + + 0 @@ -1636,27 +1648,15 @@ - - - - - 50 - 16777215 - + + + + UF Estimated Target Weight - - -2147483647 - - - 2147483647 - - - 3 - - - + + 0 @@ -1692,27 +1692,8 @@ - - - - - 50 - 16777215 - - - - -2147483647 - - - 2147483647 - - - 3 - - - - - + + 0 @@ -1748,15 +1729,8 @@ - - - - HDF Treatment Mode - - - - - + + 50 @@ -1774,15 +1748,22 @@ - - + + - Final Confirmation + Dialysate Flow Rate - - + + + + Heparin Dispensing Rate + + + + + 0 Index: TD_Pre_Treatment/loader.py =================================================================== diff -u -r273cc1629b141c03f409e2c7736d1a0f7fe41bbd -r5834e4d46013d721aef8d1c81167321824403d0c --- TD_Pre_Treatment/loader.py (.../loader.py) (revision 273cc1629b141c03f409e2c7736d1a0f7fe41bbd) +++ TD_Pre_Treatment/loader.py (.../loader.py) (revision 5834e4d46013d721aef8d1c81167321824403d0c) @@ -99,7 +99,6 @@ self.spnPreWeightRejectReason = self.find_widget(QtWidgets.QSpinBox , 'spnPreWeightRejectReason' ) self.spnEstimatedTargetWeightRejectReason = self.find_widget(QtWidgets.QSpinBox , 'spnEstimatedTargetWeightRejectReason' ) self.spnAcidConcentrateIndextRejectReason = self.find_widget(QtWidgets.QSpinBox , 'spnAcidConcentrateIndextRejectReason' ) - self.spnFinalConfirmationRejectReason = self.find_widget(QtWidgets.QSpinBox , 'spnFinalConfirmationRejectReason' ) self.lbTreatmentModality = self.find_widget(QtWidgets.QLabel , 'lbTreatmentModalityValue' ) self.lbHDFTreatmentMode = self.find_widget(QtWidgets.QLabel , 'lbHDFTreatmentModeValue' ) @@ -202,7 +201,6 @@ self.spnRinsebackVolumeRejectReason .value() + self.spnHepatitisBStatusRejectReason .value() + self.spnAcidConcentrateIndextRejectReason .value() + - self.spnFinalConfirmationRejectReason .value() + self.spnSubstitutionFluidRejectReason .value() + self.spnHeparinBolusVolumeRejectReason .value() + self.spnHeparinDispensingRateRejectReason .value() + @@ -231,7 +229,6 @@ self.spnRinsebackVolumeRejectReason .value(), self.spnHepatitisBStatusRejectReason .value(), self.spnAcidConcentrateIndextRejectReason .value(), - self.spnFinalConfirmationRejectReason .value(), self.spnSubstitutionFluidRejectReason .value(), self.spnHeparinBolusVolumeRejectReason .value(), self.spnHeparinDispensingRateRejectReason .value(), @@ -260,7 +257,6 @@ self.spnRinsebackVolumeRejectReason .setValue(0) self.spnHepatitisBStatusRejectReason .setValue(0) self.spnAcidConcentrateIndextRejectReason .setValue(0) - self.spnFinalConfirmationRejectReason .setValue(0) self.spnSubstitutionFluidRejectReason .setValue(0) self.spnHeparinBolusVolumeRejectReason .setValue(0) self.spnHeparinDispensingRateRejectReason .setValue(0) @@ -303,6 +299,7 @@ """ message = message['message'] self.index = MsgFieldPositions.START_POS_FIELD_1 + self.lbFinalConfirmation .setText(str(self.getIntValue(message))) self.lbTreatmentModality .setText(str(self.getIntValue(message))) self.lbHDFTreatmentMode .setText(str(self.getIntValue(message))) self.lbBloodFlowRate .setText(str(self.getIntValue(message))) @@ -319,7 +316,6 @@ self.lbRinsebackVolume .setText(str(self.getIntValue(message))) self.lbHepatitisBStatus .setText(str(self.getIntValue(message))) self.lbAcidConcentrateIndex .setText(str(self.getIntValue(message))) - self.lbFinalConfirmation .setText(str(self.getIntValue(message))) self.lbSubstitutionFluid .setText(f"{self.getFloatValue(message):.1f}") self.lbHeparinBolusVolume .setText(f"{self.getFloatValue(message):.1f}") self.lbHeparinDispensingRate .setText(f"{self.getFloatValue(message):.1f}")