This never happens because the interval doesnt hit 0 in the test.. I would suggest settings timeout to 5 min and waiting listening in a loop for 5 min to get the request.. look into can_interface.register_receiving_publication_function() to listen for a message from UI
We probably want to go to patient connection state (or whatever the next state is) eventually, but we haven't implemented any other states in pre-treatment yet. Comment this line out with a TODO comment to restore when the state is implemented. And, for now, add a call to request treatment mode.
#2. Change Heparin Dispensising Rate from 0.2 to OFF -> Verify Heparing Stop Time is set to OFF 1. First give a value to duration, hep bolus value, and dispensing rate, and hep stop time. (none should be set to OFF) 2. Set Dispensing Rate to off 3. Verify hepstop time is set to off