Index: sources/gui/GuiGlobals.h =================================================================== diff -u -rc70815ad2b3beadf61832f2e4d12eb90d476e020 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/GuiGlobals.h (.../GuiGlobals.h) (revision c70815ad2b3beadf61832f2e4d12eb90d476e020) +++ sources/gui/GuiGlobals.h (.../GuiGlobals.h) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -406,8 +406,8 @@ Q_ENUM(UF_Adjustments) Q_ENUM(UF_Commands) // Saline - Q_ENUM(Saline_Bolus_States) - Q_ENUM(Saline_Commands) + Q_ENUM(Fluid_Bolus_States) + Q_ENUM(Fluid_Bolus_Commands) // Heparin Q_ENUM(Heparin_States) Q_ENUM(Heparin_Commands) @@ -482,8 +482,8 @@ typedef GuiActions::UF_Commands GuiUFCommands; typedef GuiActions::UF_Adjustments GuiUFAdjustment; // Saline - typedef GuiActions::Saline_Bolus_States GuiSalineStates; - typedef GuiActions::Saline_Commands GuiSalineCommands; + typedef GuiActions::Fluid_Bolus_States GuiSalineStates; + typedef GuiActions::Fluid_Bolus_Commands GuiSalineCommands; // Heparin typedef GuiActions::Heparin_States GuiHeparinStates; typedef GuiActions::Heparin_Commands GuiHeparinCommands; Index: sources/gui/qml/pages/pretreatment/PreTreatmentStack.qml =================================================================== diff -u -rc70815ad2b3beadf61832f2e4d12eb90d476e020 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/qml/pages/pretreatment/PreTreatmentStack.qml (.../PreTreatmentStack.qml) (revision c70815ad2b3beadf61832f2e4d12eb90d476e020) +++ sources/gui/qml/pages/pretreatment/PreTreatmentStack.qml (.../PreTreatmentStack.qml) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -227,12 +227,12 @@ } // Pages - PreTreatmentBase { id: _pretreatmentConcentrates; stepIndex: PreTreatmentStack.Step.Concentrates; instructionBased: true } - PreTreatmentInstallStack { id: _pretreatmentInstallation; stepIndex: PreTreatmentStack.Step.Installation } - PreTreatmentSelfTests { id: _pretreatmentSelfTests; stepIndex: PreTreatmentStack.Step.SelfTests } - PreTreatmentPrime { id: _pretreatmentPrime; stepIndex: PreTreatmentStack.Step.Prime } - PreTreatmentCreate { id: _pretreatmentCreate; stepIndex: PreTreatmentStack.Step.CreateRx } - PreTreatmentBase { id: _pretreatmentConnect; stepIndex: PreTreatmentStack.Step.Connect; instructionBased: true } + PreTreatmentBase { id: _pretreatmentConcentrates; stepIndex: PreTreatmentStack.Step.Concentrates; instructionBased: true } + PreTreatmentInstallStack { id: _pretreatmentInstallation; stepIndex: PreTreatmentStack.Step.Installation } + PreTreatmentSelfTests { id: _pretreatmentSelfTests; stepIndex: PreTreatmentStack.Step.SelfTests } + PreTreatmentPrime { id: _pretreatmentPrime; stepIndex: PreTreatmentStack.Step.Prime } + PreTreatmentCreate { id: _pretreatmentCreate; stepIndex: PreTreatmentStack.Step.CreateRx; showCreateRxHeaderButton: false } + PreTreatmentBase { id: _pretreatmentConnect; stepIndex: PreTreatmentStack.Step.Connect; showCreateRxHeaderButton: false; instructionBased: true } // Slots Connections { target: vTDOpMode Index: sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml =================================================================== diff -u -r07121b02499a4c929c5b5e8bd804a67539574c1b -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 07121b02499a4c929c5b5e8bd804a67539574c1b) +++ sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -29,6 +29,8 @@ objectName: "_TreatmentBloodPrime" property alias notification : _notification + property bool showPaused : vTDTreatmentStates.bpPaused || vTDTreatmentStates.bpFluidBolus + headerTitle : qsTr("Blood Priming") showCreateRxHeaderButton : true @@ -68,7 +70,7 @@ anchors.horizontalCenter : parent.horizontalCenter thickness : 35 circleShadowColor : Colors.mainTreatmentLighterBlue - runAnimation : vTDTreatmentStates.bpPaused + runAnimation : _root.showPaused minimum : 0 maximum : vTreatmentBloodPrime.target value : vTreatmentBloodPrime.current @@ -106,7 +108,7 @@ bottom : undefined topMargin : _timeout.anchors.bottomMargin } - visible : vTDTreatmentStates.bpPaused + visible : _root.showPaused height : 25 color : "transparent" imageDiameter : 25 @@ -235,7 +237,7 @@ font.weight : Font.Medium } isDefault : true - enabled : true + enabled : ! vTDTreatmentStates.bpFluidBolus onClicked : { vTDTreatmentStates.bpPaused ? _root.resume() : _root.pause() } } Index: sources/gui/qml/pages/treatment/sections/TreatmentTime.qml =================================================================== diff -u -r7fb13d9e1a453a37ab4dea5536e0f19ed6e272d2 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 7fb13d9e1a453a37ab4dea5536e0f19ed6e272d2) +++ sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -38,7 +38,7 @@ property bool isPaused : vTDTreatmentStates.txStop || ! _root.isRunning - property bool isComplete : ( vTreatmentTime.time_Remaining <= 0 && vTreatmentTime.time_Elapsed > 0 ) || vTDTreatmentStates.txEnd + property bool isComplete : vTDTreatmentStates.txEnd property bool isHDTreatment : vTreatmentCreate.treatmentModality === 0 property bool isHDFTreatment: vTreatmentCreate.treatmentModality === 1 Index: sources/model/hd/adjustment/treatment/MTreatmentAdjustRequests.h =================================================================== diff -u -re6ffa6d5d1b7820875de07cdbb15f06617400344 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/model/hd/adjustment/treatment/MTreatmentAdjustRequests.h (.../MTreatmentAdjustRequests.h) (revision e6ffa6d5d1b7820875de07cdbb15f06617400344) +++ sources/model/hd/adjustment/treatment/MTreatmentAdjustRequests.h (.../MTreatmentAdjustRequests.h) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -467,7 +467,7 @@ */ class MAdjustSalineReq : public MModel { public: - GuiSalineCommands requestedState = GuiSalineCommands::SALINE_CMD_STOP; // the requested state. Initially it's Stop => start. + GuiSalineCommands requestedState = GuiSalineCommands::FLUID_BOLUS_CMD_STOP; // the requested state. Initially it's Stop => start. QString toString() { return toString({requestedState}); } Index: sources/model/td/data/treatment/MTreatmentStatesData.h =================================================================== diff -u -r43ae56f762e6f3e1416d39e3d16f9103fc597e41 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/model/td/data/treatment/MTreatmentStatesData.h (.../MTreatmentStatesData.h) (revision 43ae56f762e6f3e1416d39e3d16f9103fc597e41) +++ sources/model/td/data/treatment/MTreatmentStatesData.h (.../MTreatmentStatesData.h) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -52,7 +52,7 @@ * \sa Data * \sa Treatment_States * \sa UF_States - * \sa Saline_Bolus_States + * \sa Fluid_Bolus_States * \sa Heparin_Bolus_States * \sa Rinseback_States * \sa Treatment_Recirc_States @@ -103,7 +103,7 @@ quint32 mRinsebackState = 0; ///< Rinseback State - Rinseback_States quint32 mRecirculateState = 0; ///< Recirculate State - Treatment_Recirc_States quint32 mTreatmentEndState = 0; ///< TreatmentEnd State - Treatment_Paused_States - quint32 mSalineState = 0; ///< Saline State - Saline_Bolus_States + quint32 mSalineState = 0; ///< Saline State - Fluid_Bolus_States quint32 mHeparinState = 0; ///< Heparin State - Heparin_Bolus_States }; Index: sources/view/hd/data/pretreatment/VPreTreatmentStatesData.cpp =================================================================== diff -u -ra924fbf2e81c3c61a3e817256bca51f98d2f099c -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/view/hd/data/pretreatment/VPreTreatmentStatesData.cpp (.../VPreTreatmentStatesData.cpp) (revision a924fbf2e81c3c61a3e817256bca51f98d2f099c) +++ sources/view/hd/data/pretreatment/VPreTreatmentStatesData.cpp (.../VPreTreatmentStatesData.cpp) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -75,7 +75,7 @@ // Consumable and cartridge installation state - bool mInstallation = vData.mSubMode == GuiPreTreatmentStates ::TD_PRE_TREATMENT_TUBING_SET_INSTALL_STATE ; + bool mInstallation = vData.mSubMode == GuiPreTreatmentStates ::TD_PRE_TREATMENT_CART_INSTALL_STATE ; if ( mInstallation ) { // There is not state(enum) for this and it is always 0 for now. but will be used to notify UI about being in this state. installation_start ( vData.mInstallationState == 0 /* There is no other state and it is always 0 for now */ ); Index: sources/view/td/adjustment/treatment/VTreatmentAdjustmentSaline.cpp =================================================================== diff -u -r99d10909ee4ee821cd4ab6dc323c3798d9090b39 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/view/td/adjustment/treatment/VTreatmentAdjustmentSaline.cpp (.../VTreatmentAdjustmentSaline.cpp) (revision 99d10909ee4ee821cd4ab6dc323c3798d9090b39) +++ sources/view/td/adjustment/treatment/VTreatmentAdjustmentSaline.cpp (.../VTreatmentAdjustmentSaline.cpp) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -38,7 +38,7 @@ /*! * \brief View::VTreatmentAdjustmentSaline::doAdjustment * \details the invocable slot to adjust(start/stop) the treatment saline bolus state - * \param vStart - if true sets the requestedState to 1(SALINE_CMD_START) otherwise to 0(SALINE_CMD_STOP) + * \param vStart - if true sets the requestedState to 1(FLUID_BOLUS_CMD_START) otherwise to 0(FLUID_BOLUS_CMD_STOP) */ /*! @@ -47,7 +47,7 @@ */ void View::VTreatmentAdjustmentSaline::doStart() { - _data.requestedState = GuiSalineCommands::SALINE_CMD_START; + _data.requestedState = GuiSalineCommands::FLUID_BOLUS_CMD_START; emit didAdjustment(_data); } @@ -57,6 +57,6 @@ */ void View::VTreatmentAdjustmentSaline::doStop() { - _data.requestedState = GuiSalineCommands::SALINE_CMD_STOP; + _data.requestedState = GuiSalineCommands::FLUID_BOLUS_CMD_STOP; emit didAdjustment(_data); } Index: sources/view/td/data/treatment/VTDTreatmentStatesData.cpp =================================================================== diff -u -r726dc38cf98a8f0a827b2efeecfd32996d0eee90 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/view/td/data/treatment/VTDTreatmentStatesData.cpp (.../VTDTreatmentStatesData.cpp) (revision 726dc38cf98a8f0a827b2efeecfd32996d0eee90) +++ sources/view/td/data/treatment/VTDTreatmentStatesData.cpp (.../VTDTreatmentStatesData.cpp) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -65,14 +65,16 @@ // Ultrafiltration states // Saline Bolus states - ENUM_CHECK_O( GuiSalineStates, vData.mSalineState ) { - ENUM_CHECK ( GuiSalineStates, SALINE_BOLUS_STATE_IDLE ) - ENUM_CHECK ( GuiSalineStates, SALINE_BOLUS_STATE_WAIT_FOR_PUMPS_STOP ) - ENUM_CHECK ( GuiSalineStates, SALINE_BOLUS_STATE_IN_PROGRESS ) - ENUM_CHECK_C( GuiSalineStates, NUM_OF_SALINE_BOLUS_STATES ) } - ENUM_READ ( GuiSalineStates, SALINE_BOLUS_STATE_IDLE , sbIdle ); - ENUM_READ ( GuiSalineStates, SALINE_BOLUS_STATE_WAIT_FOR_PUMPS_STOP , sbWaitPump ); - ENUM_READ ( GuiSalineStates, SALINE_BOLUS_STATE_IN_PROGRESS , sbRunning ); + ENUM_CHECK_O( GuiSalineStates, vData.mSalineState ) { + ENUM_CHECK ( GuiSalineStates, FLUID_BOLUS_IDLE_STATE ) + ENUM_CHECK ( GuiSalineStates, FLUID_BOLUS_WAIT_FOR_PUMPS_STOP_STATE ) + ENUM_CHECK ( GuiSalineStates, FLUID_BOLUS_SALINE_IN_PROGRESS_STATE ) + ENUM_CHECK ( GuiSalineStates, FLUID_BOLUS_SUBSITUTE_IN_PROGRESS_STATE ) + ENUM_CHECK_C( GuiSalineStates, NUM_OF_FLUID_BOLUS_STATES ) } + ENUM_READ ( GuiSalineStates, FLUID_BOLUS_IDLE_STATE , sbIdle ); + ENUM_READ ( GuiSalineStates, FLUID_BOLUS_WAIT_FOR_PUMPS_STOP_STATE , sbWaitPump ); + ENUM_READ ( GuiSalineStates, FLUID_BOLUS_SALINE_IN_PROGRESS_STATE , sbRunning ); + ENUM_READ ( GuiSalineStates, FLUID_BOLUS_SUBSITUTE_IN_PROGRESS_STATE , sbSubstitutionRunning ); // Heparin States _heparin = false; @@ -113,12 +115,14 @@ // Treatment states - Dialysis bool mDialysis = vData.mSubMode == GuiTreatmentStates ::TREATMENT_DIALYSIS_STATE ; if ( mDialysis ) { - ENUM_CHECK_O( GuiDialysisState, vData.mDialysisState ) { - ENUM_CHECK ( GuiDialysisState, DIALYSIS_UF_STATE ) - ENUM_CHECK ( GuiDialysisState, DIALYSIS_UF_PAUSED_STATE ) - ENUM_CHECK_C( GuiDialysisState, NUM_OF_DIALYSIS_STATES ) } - ENUM_READ ( GuiDialysisState, DIALYSIS_UF_STATE , dyUltrafiltration ); - ENUM_READ ( GuiDialysisState, DIALYSIS_UF_PAUSED_STATE , dySalineBolus ); + ENUM_CHECK_O( GuiDialysisState, vData.mDialysisState ) { + ENUM_CHECK ( GuiDialysisState, DIALYSIS_UF_STATE ) + ENUM_CHECK ( GuiDialysisState, DIALYSIS_UF_PAUSED_STATE ) + ENUM_CHECK ( GuiDialysisState, DIALYSIS_UF_FLUID_BOLUS_STATE ) + ENUM_CHECK_C( GuiDialysisState, NUM_OF_DIALYSIS_STATES ) } + ENUM_READ ( GuiDialysisState, DIALYSIS_UF_STATE , dyUltrafiltration ); + ENUM_READ ( GuiDialysisState, DIALYSIS_UF_PAUSED_STATE , dyUltrafiltrationPaused ); + ENUM_READ ( GuiDialysisState, DIALYSIS_UF_FLUID_BOLUS_STATE , dyFluidBolus ); } txDialysis ( mDialysis ); // it's the main dialysis event so moved last to have all the sub-dialysis-states updated prior to. @@ -179,10 +183,12 @@ ENUM_CHECK ( GuiBloodPrimeStates, BLOOD_PRIME_RAMP_STATE ) ENUM_CHECK ( GuiBloodPrimeStates, BLOOD_PRIME_RUN_STATE ) ENUM_CHECK ( GuiBloodPrimeStates, BLOOD_PRIME_PAUSED_STATE ) + ENUM_CHECK ( GuiBloodPrimeStates, BLOOD_PRIME_FLUID_BOLUS_STATE ) ENUM_CHECK_C( GuiBloodPrimeStates, NUM_OF_BLOOD_PRIME_STATES ) } - ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_RAMP_STATE , bpRamp ) - ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_RUN_STATE , bpRun ) + ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_RAMP_STATE , bpRamp ); + ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_RUN_STATE , bpRun ); ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_PAUSED_STATE , bpPaused ); + ENUM_READ ( GuiBloodPrimeStates, BLOOD_PRIME_FLUID_BOLUS_STATE , bpFluidBolus ); } txBloodPrime ( mBloodPrime ); @@ -192,9 +198,11 @@ ENUM_CHECK_O( GuiTreatmentEndStates, vData.mTreatmentEndState ) { ENUM_CHECK ( GuiTreatmentEndStates, TREATMENT_END_WAIT_FOR_RINSEBACK_STATE ) ENUM_CHECK ( GuiTreatmentEndStates, TREATMENT_END_PAUSED_STATE ) + ENUM_CHECK ( GuiTreatmentEndStates, TREATMENT_END_FLUID_BOLUS_STATE ) ENUM_CHECK_C( GuiTreatmentEndStates, NUM_OF_TREATMENT_END_STATES ) } ENUM_READ ( GuiTreatmentEndStates, TREATMENT_END_WAIT_FOR_RINSEBACK_STATE , teWaitRinseback ); ENUM_READ ( GuiTreatmentEndStates, TREATMENT_END_PAUSED_STATE , tePaused ); + ENUM_READ ( GuiTreatmentEndStates, TREATMENT_END_FLUID_BOLUS_STATE , teFluidBolus ); } txEnd ( mTreatmentEnd ); @@ -207,12 +215,14 @@ ENUM_CHECK ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECIRC_BLOOD_ONLY_STATE ) ENUM_CHECK ( GuiTreatmentPausedStates, TREATMENT_PAUSED_NO_RECIRC_STATE ) ENUM_CHECK ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECOVER_BLOOD_DETECT_STATE ) + ENUM_CHECK ( GuiTreatmentPausedStates, TREATMENT_PAUSED_FLUID_BOLUS_STATE ) ENUM_CHECK_C( GuiTreatmentPausedStates, NUM_OF_TREATMENT_PAUSED_STATES ) } ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECIRC_STATE , tsRecirculate ) ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECIRC_DIALYSATE_ONLY_STATE, tsRecirculateDialysate ) ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECIRC_BLOOD_ONLY_STATE , tsRecirculateBlood ) ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_NO_RECIRC_STATE , tsRecirculateNo ) ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_RECOVER_BLOOD_DETECT_STATE , tsRecoverBloodDetect ) + ENUM_READ ( GuiTreatmentPausedStates, TREATMENT_PAUSED_FLUID_BOLUS_STATE , tsFluidBolus ) } txStop ( mTreatmentStop ); Index: sources/view/td/data/treatment/VTDTreatmentStatesData.h =================================================================== diff -u -r726dc38cf98a8f0a827b2efeecfd32996d0eee90 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/view/td/data/treatment/VTDTreatmentStatesData.h (.../VTDTreatmentStatesData.h) (revision 726dc38cf98a8f0a827b2efeecfd32996d0eee90) +++ sources/view/td/data/treatment/VTDTreatmentStatesData.h (.../VTDTreatmentStatesData.h) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -75,6 +75,7 @@ PROPERTY( bool , sbIdle , true ) ///< SALINE_BOLUS_STATE_IDLE = 0 # No saline bolus delivery is in progress PROPERTY( bool , sbWaitPump , false) ///< SALINE_BOLUS_STATE_WAIT_FOR_PUMPS_STOP = 1 # Wait for pumps to stop before starting bolus PROPERTY( bool , sbRunning , false) ///< SALINE_BOLUS_STATE_IN_PROGRESS = 2 # A saline bolus delivery is in progress + PROPERTY( bool , sbSubstitutionRunning , false) ///< FLUID_BOLUS_SUBSITUTE_IN_PROGRESS_STATE = 3 # A substitution delivery is in progress // ---- Heparin states PROPERTY( bool , hpOff , true ) ///< HEPARIN_STATE_OFF = 0 # No heparin delivery is in progress @@ -89,7 +90,8 @@ // Dialysis States PROPERTY( bool , dyStart , true ) ///< Start state of the dialysis sub-mode state machine PROPERTY( bool , dyUltrafiltration , false) ///< Ultrafiltration state of the dialysis sub-mode state machine - PROPERTY( bool , dySalineBolus , false) ///< Saline bolus state of the dialysis sub-mode state machine + PROPERTY( bool , dyUltrafiltrationPaused , false) ///< Ultrafiltration Paused state of the dialysis sub-mode state machine + PROPERTY( bool , dyFluidBolus , false) ///< Fluid Bolus state of the dialysis sub-mode state machine // Rinseback States PROPERTY( bool , rbInit , true ) ///< RINSEBACK_STOP_INIT_STATE = 0 # Start state (stopped) of the rinseback sub-mode state machine @@ -109,17 +111,20 @@ PROPERTY( bool , bpRamp , true ) ///< BLOOD_PRIME_RAMP_STATE = 0 # Ramp state of the blood prime sub-mode state machine PROPERTY( bool , bpRun , true ) ///< BLOOD_PRIME_RUN_STATE = 1 # Run state of the blood prime sub-mode state machine PROPERTY( bool , bpPaused , true ) ///< BLOOD_PRIME_PAUSED_STATE = 2 # Paused state of the blood prime sub-mode state machine + PROPERTY( bool , bpFluidBolus , true ) ///< BLOOD_PRIME_FLUID_BOLUS_STATE = 3 # Fluid bolus is running during blood prime // Treatment End PROPERTY( bool , teWaitRinseback , true ) ///< TREATMENT_END_WAIT_FOR_RINSEBACK_STATE = 0 # Wait for rinseback state of the treatment end sub-mode state machine PROPERTY( bool , tePaused , false) ///< TREATMENT_END_PAUSED_STATE = 1 # Paused state of the treatment end sub-mode state machine + PROPERTY( bool , teFluidBolus , false) ///< TREATMENT_END_FLUID_BOLUS_STATE = 2 # Fluid Bolus state of the treatment end sub-mode state machine // Treatment Stop - PROPERTY( bool , tsRecirculate , true ) ///< TREATMENT_STOP_RECIRC_STATE = 0, Dialysate and Blood re-circulation state of the treatment stop sub-mode state machine - PROPERTY( bool , tsRecirculateDialysate , false) ///< TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE= 1, Re-circulate Dialysate only state of the treatment re-circulate sub-mode state machine - PROPERTY( bool , tsRecirculateBlood , false) ///< TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE = 2, Re-circulate Blood only state of the treatment re-circulate sub-mode state machine - PROPERTY( bool , tsRecirculateNo , false) ///< TREATMENT_STOP_NO_RECIRC_STATE = 3, No re-circulation state of the treatment stop sub-mode state machine - PROPERTY( bool , tsRecoverBloodDetect , false) ///< TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE = 4, Treatment stop recover blood detect state + PROPERTY( bool , tsRecirculate , true ) ///< TREATMENT_PAUSED_RECIRC_STATE = 0, Dialysate and Blood re-circulation state of the treatment stop sub-mode state machine + PROPERTY( bool , tsRecirculateDialysate , false) ///< TREATMENT_PAUSED_RECIRC_DIALYSATE_ONLY_STATE= 1, Re-circulate Dialysate only state of the treatment re-circulate sub-mode state machine + PROPERTY( bool , tsRecirculateBlood , false) ///< TREATMENT_PAUSED_RECIRC_BLOOD_ONLY_STATE = 2, Re-circulate Blood only state of the treatment re-circulate sub-mode state machine + PROPERTY( bool , tsRecirculateNo , false) ///< TREATMENT_PAUSED_NO_RECIRC_STATE = 3, No re-circulation state of the treatment stop sub-mode state machine + PROPERTY( bool , tsRecoverBloodDetect , false) ///< TREATMENT_PAUSED_RECOVER_BLOOD_DETECT_STATE = 4, Treatment stop recover blood detect state + PROPERTY( bool , tsFluidBolus , false) ///< TREATMENT_PAUSED_FLUID_BOLUS_STATE = 5, Fluid Bolus state of the treatment paused sub-mode state machine // class definition VIEW_DEC_CLASS(VTDTreatmentStates)