Index: dialin/hd/ui_proxy.py =================================================================== diff -u -r3fb7646b2d2a5346ac5b6eecbcee97ccc643d8be -rd54312249b9f790e834849917cb107bae2774222 --- dialin/hd/ui_proxy.py (.../ui_proxy.py) (revision 3fb7646b2d2a5346ac5b6eecbcee97ccc643d8be) +++ dialin/hd/ui_proxy.py (.../ui_proxy.py) (revision d54312249b9f790e834849917cb107bae2774222) @@ -262,6 +262,14 @@ """ return self.fpga_version + def get_reject_reasons(self): + """ + Gets all possible reject reasons + + @return: OrderedDict(), {"": ... } + """ + return self.reject_reasons + def get_treatment_parameters(self): """ Gets the array of treatment parameters set by user or Dialin @@ -270,6 +278,23 @@ """ return self.treatment_parameters + def get_treatment_parameters_reject_reasons(self): + """ + Gets the array of reject reasons for treatment parameters by HD firmware + + @return: the array of reject reasons + """ + return self.treatment_parameters_reject_reasons + + def get_treatment_parameters_valid(self): + """ + Gets the T/F flag for whether treatment parameters + are considered valid by HD. + + @return: True if treatment parameters are valid, False if not + """ + return self.treatment_parameters_valid + def get_min_treatment_duration_min(self): """ Gets the min treatment duration @@ -334,14 +359,6 @@ """ return self.duration_change_reject_reason - def get_reject_reasons(self): - """ - Gets all possible reject reasons - - @return: OrderedDict(), {"": ... } - """ - return self.reject_reasons - def get_duration_change_time_min(self): """ Gets the duration change time @@ -444,177 +461,6 @@ """ return self.target_dialysate_flow_rate - def get_treatment_parameters_valid(self): - """ - Gets the T/F flag for whether treatment parameters - are considered valid by HD. - - @return: True if treatment parameters are valid, False if not - """ - return self.treatment_parameters_valid - - def get_treatment_parameters_reject_reasons(self): - """ - Gets the reject reason codes for the treatment parameters - sent to the HD for validation. - - @return: The array of reject reason codes for all treatment parameters - """ - return self.treatment_parameters_reject_reasons - - def get_blood_flow_rate_reject_reason(self): - """ - Gets the reject reason code for the blood flow rate - treatment parameter. - - @return: The reject reason code for the blood flow rate - """ - return self.blood_flow_rate_reject_reason - - def get_dialysate_flow_rate_reject_reason(self): - """ - Gets the reject reason code for the dialysate flow rate - treatment parameter. - - @return: The reject reason code for the dialysate flow rate - """ - return self.dialysate_flow_rate_reject_reason - - def get_treatment_duration_reject_reason(self): - """ - Gets the reject reason code for the treatment duration - treatment parameter. - - @return: The reject reason code for the treatment duration - """ - return self.treatment_duration_reject_reason - - def get_heparin_pre_stop_time_reject_reason(self): - """ - Gets the reject reason code for the Heparin pre-stop - time treatment parameter. - - @return: The reject reason code for the Heparin pre-stop time - """ - return self.heparin_pre_stop_time_reject_reason - - def get_saline_bolus_volume_reject_reason(self): - """ - Gets the reject reason code for the saline bolus volume - treatment parameter. - - @return: The reject reason code for the saline bolus volume - """ - return self.saline_bolus_volume_reject_reason - - def get_acid_concentrate_reject_reason(self): - """ - Gets the reject reason code for the acid concentrate - treatment parameter. - - @return: The reject reason code for the acid concentrate - """ - return self.acid_concentrate_reject_reason - - def get_bicarb_concentrate_reject_reason(self): - """ - Gets the reject reason code for the bicarbonate - concentrate treatment parameter. - - @return: The reject reason code for the bicarbonate concentrate - """ - return self.bicarb_concentrate_reject_reason - - def get_dialyzer_type_reject_reason(self): - """ - Gets the reject reason code for the dialyzer type treatment - parameter. - - @return: The reject reason code for the dialyzer type - """ - return self.dialyzer_type_reject_reason - - def get_blood_pressure_meas_interval_reject_reason(self): - """ - Gets the reject reason code for the BP measurement interval - treatment parameter. - - @return: The reject reason code for the BP measurement interval - """ - return self.blood_pressure_meas_interval_reject_reason - - def get_rinseback_flow_rate_reject_reason(self): - """ - Gets the reject reason code for the rinseback flow rate - treatment parameter. - - @return: The reject reason code for the rinseback flow rate - """ - return self.rinseback_flow_rate_reject_reason - - def get_arterial_pressure_low_alarm_limit_reject_reason(self): - """ - Gets the reject reason code for the arterial pressure low alarm - limit treatment parameter. - - @return: The reject reason code for the arterial pressure low alarm limit - """ - return self.arterial_pressure_low_alarm_limit_reject_reason - - def get_arterial_pressure_high_alarm_limit_reject_reason(self): - """ - Gets the reject reason code for the arterial pressure high alarm - limit treatment parameter. - - @return: The reject reason code for the arterial pressure high alarm limit - """ - return self.arterial_pressure_high_alarm_limit_reject_reason - - def get_venous_pressure_low_alarm_limit_reject_reason(self): - """ - Gets the reject reason code for the venous pressure low alarm - limit treatment parameter. - - @return: The reject reason code for the venous pressure low alarm limit - """ - return self.venous_pressure_low_alarm_limit_reject_reason - - def get_venous_pressure_high_alarm_limit_reject_reason(self): - """ - Gets the reject reason code for the venous pressure high alarm - limit treatment parameter. - - @return: The reject reason code for the venous pressure high alarm limit - """ - return self.venous_pressure_high_alarm_limit_reject_reason - - def get_heparin_dispense_rate_reject_reason(self): - """ - Gets the reject reason code for the Heparin dispense rate - treatment parameter. - - @return: The reject reason code for the Heparin dispense rate - """ - return self.heparin_dispense_rate_reject_reason - - def get_heparin_bolus_volume_reject_reason(self): - """ - Gets the reject reason code for the Heparin bolus volume - treatment parameter. - - @return: The reject reason code for the Heparin bolus volume - """ - return self.heparin_bolus_volume_reject_reason - - def get_dialysate_temperature_reject_reason(self): - """ - Gets the reject reason code for the dialysate temperature - treatment parameter. - - @return: The reject reason code for dialysate temperature - """ - return self.dialysate_temperature_reject_reason - def get_saline_bolus_reject_reason(self): """ Gets the reject reason code for the saline bolus request