HD-DEN-15839

This is a second, separate branch addressing this ticket, and these changes should only be in develop (for testing) at this point. Eventually, this branch should replace the branch you reverted out...

This is a second, separate branch addressing this ticket, and these changes should only be in develop (for testing) at this point. Eventually, this branch should replace the branch you reverted out of staging.

stopDialysis() almost exactly mirrors the four lines I commented out, except the pump "hardstop" routines also manage the control variables that start and stop the PI controllers. This should still make zero difference to the case Nick is investigating since these changes are local to a saline bolus, which is not run at all while active ultra filtration is being run, and only affect the initial bolus state (0), while stopping the pumps. State 1, puts the pumps back into closed loop control, once the valves separate the patient, the blood and the dialysate from the dialyzer.

These changes are in staging right now. Do we have to stop dialysis in this state?

These changes are in staging right now. Do we have to stop dialysis in this state?

HD-DEN-15839_Alarm 199 Triggers During Mid Treatment Saline Bolus
HD-DEN-15839_Alarm 199 Triggers During Mid Treatment Saline Bolus
RESOLVED IN CODE WALKTHROUGH

RESOLVED IN CODE WALKTHROUGH

The trimmer heater is turned back on in the transition back to dialysis: transitionToDialysis( ) This is definitely a place I would suggest refactoring, as the trimmer heater should follow dialysa...

The trimmer heater is turned back on in the transition back to dialysis: transitionToDialysis( )

This is definitely a place I would suggest refactoring, as the trimmer heater should follow dialysate flow everywhere, but is somewhat distributed.

Where is the heater turned back on? Is the state saved?

Where is the heater turned back on? Is the state saved?

HD-DEN-15839_Alarm 199 Triggers During Mid Treatment Saline Bolus
HD-DEN-15839_Alarm 199 Triggers During Mid Treatment Saline Bolus