Index: firmware/App/Modes/ModeTreatment.h =================================================================== diff -u -ra2bc96881a5fc3d8f779246b2abebf15a8de9384 -rfa356a2bce909141f45c6832659fa1ceea5bfbba --- firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision a2bc96881a5fc3d8f779246b2abebf15a8de9384) +++ firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision fa356a2bce909141f45c6832659fa1ceea5bfbba) @@ -47,6 +47,8 @@ U32 uFState; U32 salineBolusState; U32 heparinState; + U32 rinsebackState; + U32 txRecircState; } TREATMENT_STATE_DATA_T; /// Payload record structure for an ultrafiltration volume change confirmation message. @@ -84,8 +86,10 @@ void signalAlarmActionToTreatmentMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for Treatment mode TREATMENT_STATE_T getTreatmentState( void ); // Determine the current treatment sub-mode (state) - -BOOL userRequestEndTreatment( void ); // User has requested to end the treatment +BOOL getRinsebackCompleted( void ); // Determine whether a rinseback has been completed +void setRinsebackIsCompleted( BOOL flag ); // Set whether a rinseback has been completed (T blocks rinseback option) +BOOL getBloodIsPrimed( void ); // Determine whether the blood-side circuit of the dialyzer has been primed with blood +void setBloodIsPrimed( BOOL flag ); // Set whether the blood-side circuit of the dialyzer has been primed with blood (F causes Tx start/resume to do blood prime first) void broadcastTreatmentTimeAndState( void ); // Broadcast the times and states of this treatment BOOL verifyTreatmentDurationSettingChange( U32 treatmentTime );