Index: AlarmDefs.h =================================================================== diff -u -r23c6a623afe7b16729d3ebe15e492b7332381bcd -r849e2060af41e7dc2159be88e5046b80ad09931b --- AlarmDefs.h (.../AlarmDefs.h) (revision 23c6a623afe7b16729d3ebe15e492b7332381bcd) +++ AlarmDefs.h (.../AlarmDefs.h) (revision 849e2060af41e7dc2159be88e5046b80ad09931b) @@ -230,6 +230,8 @@ ALARM_ID_TD_PRIME_COMPLETED_MEDIUM = 198, ///< TD prime completed medium priority alarm ALARM_ID_TD_REPEATED_AIR_TRAP_LOWER_EVENTS = 199, ///< TD repeated air trap lower events ALARM_ID_TD_TUBE_SET_MISMATCH = 200, ///< TD tubeset mismatch alarm + ALARM_ID_TD_INITIAL_BC_REV_PRIME_LIMIT_REACHED = 201, ///< TD initial rev blood circuit prime limit reached + ALARM_ID_TD_INITIAL_BC_REV_PRIME_TIMEOUT = 202, ///< TD initial blood circuit prime timeout NUM_OF_ALARM_IDS ///< Number of alarms }; typedef enum Alarm_List ALARM_ID_T; ///< Type for alarm list enumeration @@ -605,6 +607,8 @@ { ALARM_PRIORITY_MEDIUM, 590, ALM_SRC_TD, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, ALARM_ID_TD_PRIME_COMPLETED_MEDIUM }, { ALARM_PRIORITY_HIGH, 17, ALM_SRC_TD, FALSE, FALSE, TRUE , TRUE , FALSE, TRUE , TRUE , FALSE, FALSE, FALSE, TRUE , TRUE , FALSE, FALSE, TRUE , ALARM_ID_TD_REPEATED_AIR_TRAP_LOWER_EVENTS }, { ALARM_PRIORITY_MEDIUM, 300, ALM_SRC_TD, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , TRUE , TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, ALARM_ID_TD_TUBE_SET_MISMATCH }, + { ALARM_PRIORITY_HIGH, 293, ALM_SRC_TD, FALSE, FALSE, TRUE , TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, ALARM_ID_TD_INITIAL_BC_REV_PRIME_LIMIT_REACHED }, + { ALARM_PRIORITY_HIGH, 294, ALM_SRC_TD, FALSE, FALSE, TRUE , TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, ALARM_ID_TD_INITIAL_BC_REV_PRIME_TIMEOUT }, }; // Priority Rank Source Fault DDFault Stops ClrIm NoClr NoRes NoRin NoEnd BlkRB BlkET NoBRcr NoDRcr AutoRes ClrOnly TxLog ID /// Table of alarms and their rank. @@ -770,6 +774,8 @@ { 290, ALARM_ID_TD_BLOOD_SITTING_WARNING }, { 291, ALARM_ID_TD_BLOOD_PRIME_PAUSE_TIMEOUT }, { 292, ALARM_ID_TD_BLOOD_PRIME_PAUSE_WARNING }, + { 293, ALARM_ID_TD_INITIAL_BC_REV_PRIME_LIMIT_REACHED }, + { 294, ALARM_ID_TD_INITIAL_BC_REV_PRIME_TIMEOUT }, { 300, ALARM_ID_TD_TREATMENT_STOPPED_BY_USER }, { 300, ALARM_ID_TD_TUBE_SET_MISMATCH }, { 401, ALARM_ID_DD_DIALYSATE_TEMP_ABOVE_SAFETY_TEMP }, @@ -1041,6 +1047,8 @@ { 198 , ALARM_ID_TD_PRIME_COMPLETED_MEDIUM , "TD | Prime Complete - 30 MIN WARNING | The priming process completed 90 minutes ago. \n- Treatment must begin within 30 minutes or the\npre-treatment process will be terminated.\n- Press Resume/OK to continue. | Process: Pre-Tx Prime Complete | TD prime completed medium priority alarm | In Pre-Treatment Recirculation for 90 minutes | "}, { 199 , ALARM_ID_TD_REPEATED_AIR_TRAP_LOWER_EVENTS , "TD | Blood Pump Stopped: Venous Air Detector | The air trap level required repeated lowering events. \n- Confirm blood tubing connections are secure.\n- Inspect the air trap for abnormal fluid levels. \n- Resume treatment if the condition has been corrected. | Blood Stop: Repeated Air Trap Lower | Repeated air trap lower events detected during treatment | If 5 air trap lower events occur within 5 minutes during treatment. | "}, { 200 , ALARM_ID_TD_TUBE_SET_MISMATCH , "TD | Wrong Tube Set Installed | The installed tube set does not match the selected treatment type. \n- Remove the current tube set.\n- Install the correct tube set for the selected treatment:\n HD or HD with Online Fluid requires an HD tube set.\n HDF requires an HDF tube set. | TD Tube Set Mismatch | TD installed tube set type does not match the selected treatment modality | If the scanned tube set type does not match the tube set type required for the selected treatment modality. | "}, + { 201 , ALARM_ID_TD_INITIAL_BC_REV_PRIME_LIMIT_REACHED , "TD | Prime Paused: Check Saline Line | The system has repeatedly paused priming to relieve negative pressure in the venous line.\n- Check that the saline line is not clamped or kinked.\n- Check that the saline bag is not empty.\n- Resume priming once checked, or end treatment. | Prime: BC: Venous Line, Retry Limit | Venous pressure (H14) reached the neg pressure pause limit, possibly indicating a clamped or occluded saline/H14 line. | During Blood Circuit: Venous Line prime state, when the negative pressure pause/equalize cycle has occurred 3 times. | "}, + { 202 , ALARM_ID_TD_INITIAL_BC_REV_PRIME_TIMEOUT , "TD | Prime Timeout: Venous Line | Priming the venous line and air trap did not complete within the expected time.\n- Check the saline line and connections.\n- Resume priming, or end treatment. | Prime: BC: Venous Line, Timeout | Blood Circuit: Venous Line state failed to complete within 40 seconds, excluding time spent paused for pressure equalization. | During Blood Circuit: Venous Line prime state, when the state has been active for more than 40 seconds, excluding paused time. | "}, }; #endif // manual alarms Index: DDDefs.h =================================================================== diff -u -rada74713e29bcb1fc906b5ffef3f82a4af225670 -r849e2060af41e7dc2159be88e5046b80ad09931b --- DDDefs.h (.../DDDefs.h) (revision ada74713e29bcb1fc906b5ffef3f82a4af225670) +++ DDDefs.h (.../DDDefs.h) (revision 849e2060af41e7dc2159be88e5046b80ad09931b) @@ -193,6 +193,8 @@ DD_GEND_SPENT_CHAMBER_FILL_STATE, ///< Gen dialysate - spent chamber fill state DD_GEND_BICARB_CHAMBER_FILL_STATE, ///< Gen dialysate - bicarb chamber fill state DD_GEND_DIALYSATE_DELIVERY_PAUSE, ///< Gen dialysate - dialysate delivery pause state + DD_GEND_SPENT_CHAMBER_VALV_OPEN_STATE, ///< Gen dialysate - spent chamber vent open state + DD_GEND_PRIME_FLUID_DISCARD_STATE, ///< Gen dialysate - prime fluid discard state NUM_OF_DD_GEND_MODE_STATES ///< Number of gen dialysate states }; typedef enum DD_GenD_Mode_States DD_GEND_MODE_STATE_T; ///< Type for DD gen dialysate mode states enumeration Index: MsgDefs.h =================================================================== diff -u -rcb36235b4b58396a6bd8e51bf5c65475a4fd50c3 -r849e2060af41e7dc2159be88e5046b80ad09931b --- MsgDefs.h (.../MsgDefs.h) (revision cb36235b4b58396a6bd8e51bf5c65475a4fd50c3) +++ MsgDefs.h (.../MsgDefs.h) (revision 849e2060af41e7dc2159be88e5046b80ad09931b) @@ -215,6 +215,8 @@ MSG_ID_AVAILABLE_B7 = 0xB7, ///< Msg ID not used - available for use. MSG_ID_UI_VITALS_ADJUSTMENT_REQUEST = 0xB8, ///< UI vitals adjustment request MSG_ID_TD_VITALS_ADJUSTMENT_RESPONSE = 0xB9, ///< TD vitals adjustment response + MSG_ID_DD_TD_PRIME_REQUEST_DATA = 0xC3, ///< DD to TD prime data request + MSG_ID_TD_PRIME_PROGRESS_DATA = 0xC7, ///< TD broadcast of prime data MSG_ID_UI_SETUP_TUBING_SET_CONNECTIONS_CONFIRM_REQUEST = 0xD6, ///< UI setup connection confirmation request MSG_ID_TD_SETUP_TUBING_SET_CONNECTIONS_CONFIRM_RESPONSE = 0xD7, ///< TD setup connection confirmation response MSG_ID_DD_SUBSTITUTION_PUMP_DATA = 0xDB, ///< DD substitution pump broadcast data. Index: TDDefs.h =================================================================== diff -u -rcb36235b4b58396a6bd8e51bf5c65475a4fd50c3 -r849e2060af41e7dc2159be88e5046b80ad09931b --- TDDefs.h (.../TDDefs.h) (revision cb36235b4b58396a6bd8e51bf5c65475a4fd50c3) +++ TDDefs.h (.../TDDefs.h) (revision 849e2060af41e7dc2159be88e5046b80ad09931b) @@ -275,25 +275,30 @@ * @{ */ -/// Enumeration of prime sub-mode states. -enum TD_Pre_Treatment_Prime_States +/// Enumeration of prime service states. +enum TD_Prime_States { - TD_PRIME_WAIT_FOR_USER_START_STATE = 0, ///< Wait for user to start prime state - TD_PRIME_SALINE_SETUP_STATE, ///< Saline setup state - TD_PRIME_SALINE_PURGE_AIR_STATE, ///< Saline purge air state - TD_PRIME_SALINE_CIRC_BLOOD_CIRCUIT_STATE, ///< Circulate blood circuit state - TD_PRIME_RESERVOIR_ONE_FILL_COMPLETE_STATE, ///< Wait for reservoir 1 fill complete - TD_PRIME_DIALYSATE_DIALYZER_STATE, ///< Dialysate dialyzer fluid path state - TD_PRIME_SALINE_DIALYZER_SETUP_STATE, ///< Saline dialyzer setup state - TD_PRIME_SALINE_DIALYZER_STATE, ///< Saline dialyzer fluid path state - TD_PRIME_RESERVOIR_TWO_FILL_COMPLETE_STATE, ///< Wait for reservoir 2 fill complete - TD_PRIME_DIALYSATE_BYPASS_STATE, ///< Dialysate bypass fluid path state - TD_PRIME_WET_SELF_TESTS_STATE, ///< Perform wet self-tests after priming complete - TD_PRIME_PAUSE, ///< Prime pause state, waits to be resumed - TD_PRIME_COMPLETE, ///< Prime complete state - NUM_OF_TD_PRIME_STATES ///< Number of prime sub-mode states + PRIME_START_STATE = 0, ///< Init (start) state. + PRIME_BC_INITIAL_REVERSE_STATE, ///< Blood circuit initial reverse prime state. + PRIME_BC_AIR_TRAP_LOWER_STATE, ///< Air Trap lower state + PRIME_BC_INITIAL_DIALYZER_STATE, ///< Blood circuit initial dialyzer prime state + PRIME_BC_FILL_STATE, ///< Blood circuit fill state + PRIME_BC_CLEAR_STATE1, ///< Blood circuit air clear stage 1 prime state + PRIME_BC_CLEAR_STATE2, ///< Blood circuit air clear stage 2 prime state + PRIME_BC_CLEAR_STATE3, ///< Blood circuit air clear stage 3 prime state + PRIME_WAIT_FOR_DIALYSATE_READY_STATE, ///< Wait for dialysate ready state + PRIME_DC_INITIAL_DIALYSATE_STATE, ///< Dialysate circuit Initial dialysate prime state + PRIME_DC_DEPRESSURIZE_STATE, ///< De-pressurize state + PRIME_WAIT_FOR_AIR_TRAP_FILL_STATE, ///< Wait for air trap fill state + PRIME_BC2_FORWARD_RECIRC_STATE, ///< Blood circuit 2 forward recirc state + PRIME_BC2_PAUSE_TO_ROTATE_OPP_DIR_STATE, ///< Pause to rotate opp dir state + PRIME_BC2_REVERSE_RECIRC_STATE, ///< Blood circuit 2 reverse recirc state + PRIME_DC_DISCARD_AND_REVERSE_PRIME_STATE, ///< Priming Fluid Discard and Reverse Prime state + PRIME_PAUSE_STATE, ///< Prime pause state + PRIME_COMPLETE_STATE, ///< Prime complete state. + NUM_OF_PRIME_STATES ///< Number of Prime states. }; -typedef enum TD_Pre_Treatment_Prime_States TD_PRE_TREATMENT_PRIME_STATE_T; ///< Type for TD pre-treatment prime sub-mode states enumeration +typedef enum TD_Prime_States TD_PRIME_STATE_T; ///< Type for TD prime service states enumeration /**@}*/