Index: build/AlarmMapping.py =================================================================== diff -u -rc28bb75d80a72b195cbe5625ff302aab40f04aeb -r774cd35855dd3026bcd6e261ec9fe2506eb07057 --- build/AlarmMapping.py (.../AlarmMapping.py) (revision c28bb75d80a72b195cbe5625ff302aab40f04aeb) +++ build/AlarmMapping.py (.../AlarmMapping.py) (revision 774cd35855dd3026bcd6e261ec9fe2506eb07057) @@ -42,14 +42,14 @@ 40 : "Dialysis outlet pump failed motor off check.\nMeasured speed while commanded off." 41 : "Dialysis outlet pump failed motor direction check.\nMeasured vs commanded." 42 : "Dialysis outlet pump failed rotor speed check.\nMismatch with rotor and motor speeds." - 43 : "HD blood leak self test fault." + 43 : "DG main primary heater FPGA fault." 44 : "User interface communication timeout." 45 : "HD too many bad communications CRC." - 46 : "System message that required acknowledgment was not acknowledged." + 46 : "HD System message that required acknowledgment was not acknowledged." 47 : "Ultrafiltration rate is too high error during treatment." 48 : "Ultrafiltration volume accuracy error during treatment." 49 : "HD FPGA communication down for too long." - 50 : "FPGA not accepting commanded valve states." + 50 : "DG FPGA not accepting commanded valve states." 51 : "Blood pump failed motor speed check.\nMeasured vs commanded." 52 : "Dialysate inlet pump failed motor speed check.\nMeasured vs commanded." 53 : "Dialysate outlet pump failed motor speed check.\nMeasured vs commanded." @@ -62,8 +62,8 @@ 60 : "HD valve not functional." 61 : "HD valve current out of range." 62 : "HD valve position out of target." - 63 : "FPGA reports failure reading arterial pressure sensor." - 64 : "FPGA reports failure reading venous pressure sensor." + 63 : "HD blood leak FPGA fault." + 64 : "DG barometric pressure sensor out of range." 65 : "HD requests DG command with invalid parameter fault." 66 : "HD blood leak sensor set point set failure." 67 : "HD blood pump occlusion self-test failure alarm." @@ -73,7 +73,7 @@ 71 : "HD venous pressure self-test failure alarm." 72 : "HD No load cell data message receive at least once every 2 seconds." 73 : "HD No dialysate temperature data message receive at least once every 2 seconds." - 74 : "HD blood leak detector self-test transmit timeout." + 74 : "DG inlet UV reactor is on with no flow." 75 : "HD syringe pump self-test failure alarm." 76 : "HD monitored voltage is out of range." 77 : "DG monitored voltage is out of range." @@ -83,13 +83,13 @@ 81 : "HD syringe pump over travel error." 82 : "HD syringe pump DAC write failure." 83 : "HD syringe pump is running while the BP is off." - 84 : "HD venous pressure sensor not being read." + 84 : "DG set RTC year is invalid." 85 : "HD pump track latch opened alarm." - 86 : "HD BP occlusion sensor not being read." + 86 : "HD set RTC year is invalid." 87 : "DG heating invalid calibration record." 88 : "DG concentrate pumps hall sensor out of range." - 89 : "HD BP occlusion sensor error." - 90 : "DG load cells FPGA read error." + 89 : "DG outlet UV reactor on with no flow." + 90 : "DG load cells A1/B1 FPGA fault." 91 : "HD No dialysate flow data receive in the last 3 seconds." 92 : "DG conductivity sensor bad status." 93 : "DG outlet primary conductivity out of range." @@ -107,12 +107,12 @@ 105 : "DG invalid calibration CRC." 106 : "DG dialysate flow sensor invalid calibration record." 107 : "HD reports DG restarted fault." - 108 : "HD syringe pump ADC error." + 108 : "HD syringe pump ADC FPGA fault." 109 : "HD syringe pump volume check error." 110 : "HD syringe pump speed check error." 111 : "HD syringe pump not stopped in off state error." - 112 : "HD blood leak zero command transmit timeout." - 113 : "HD blood leak zero command fault." + 112 : "DG load cells A1/B1 FPGA fault." + 113 : "DG Drain pump current out of range." 114 : "HD venous air bubble detector self-test failure." 115 : "DG temperature sensor out of range." 116 : "DG temperature sensor ADC fault." @@ -143,22 +143,22 @@ 141 : "Air trap fill timeout during treatment." 142 : "Blood pump occlusion detected." 143 : "DG dialysate temperature sensors out of range." - 144 : "DG RO flow sensor invalid calibration record." + 144 : "DG cleaning mode inlet water conductivity out of high range." 145 : "Concentrate conductivity after adding acid out of range alarm." 146 : "DG RTC or timer accuracy failure." 147 : "Wait for the DG to produce dialysate." - 148 : "Inlet water temperature too high." + 148 : "DG Cleaning mode inlet water temperature too high." 149 : "HD watchdog expired." 150 : "Inlet water conductivity in high range." 151 : "Inlet water conductivity in low range." 152 : "Inlet water pressure in low range." 153 : "HD prime completed high priority alarm." - 154 : "EEPROM operations (read, write, erase) failure." + 154 : "DG cleaning mode inlet water conductivity out of low range." 155 : "HD No reservoirs data message receive at least once every 2 seconds." 156 : "HD No DG operation mode message receive at least once every 2 seconds." 157 : "DG chemical disinfect prime acid line timeout." 158 : "Inlet water temperature is in the low range." - 159 : "Dialysate inlet pump failed flow vs motor speed check." + 159 : "Alarm ID is available for use." 160 : "Blood pump rotor speed too high." 161 : "DG comm too many bad CRCs." 162 : "DG FPGA clock speed check failure." @@ -168,7 +168,7 @@ 166 : "HD in treatment re-circ sub-mode for too long." 167 : "HD cartridge door opened alarm." 168 : "HD active reservoir depletion timeout." - 169 : "Dialysate flow rate out of range." + 169 : "DG Dialysate flow rate out of maximum range." 170 : "HD syringe empty alarm." 171 : "HD syringe pump occlusion alarm." 172 : "HD syringe pump not enough Heparin alarm." @@ -179,7 +179,7 @@ 177 : "DG software fault.\nSoftware found itself in an unexpected state." 178 : "HD communication timeout." 179 : "DG FPGA communication down for too long." - 180 : "DG load cell ADC error." + 180 : "DG RO flow out of maximum range." 181 : "DG load cells weight out of range for tare." 182 : "DG load cells invalid calibration." 183 : "DG invalid load cell value." @@ -195,8 +195,8 @@ 193 : "HD dialysate temperature out of low safety range." 194 : "DG RO pump duty cycle out of range." 195 : "DG RO pump pressure out of range." - 196 : "DG temperature sensor error bit fault." - 197 : "DG temperature sensors FPGA fault." + 196 : "DG CPi/CPo sensors FPGA fault." + 197 : "DG CD1/CD2 sensors FPGA fault." 198 : "RO flow too low while primary heater is on." 199 : "Dialysate flow too low while trimmer heater is on." 200 : "DG thermistors/sensors temperature out of range." @@ -221,8 +221,8 @@ 219 : "HD syringe pump syringe removed alarm." 220 : "DG THd sensors FPGA fault." 221 : "HD Saline bag is empty." - 222 : "HD dialysate temperature too high alarm." - 223 : "HD dialysate temperature too low alarm." + 222 : "HD occlusion sensor FPGA fault." + 223 : "HD arterial sensor FPGA fault." 224 : "Treatment stopped by user action." 225 : "HD end of treatment warning." 226 : "HD prime completed low priority alarm." @@ -233,7 +233,7 @@ 231 : "HD pre-treatment mode dry pressure self-test failure." 232 : "HD pre-treatment mode wet self-test LC vs LC failure." 233 : "DG barometric sensor coefficients bad CRC." - 234 : "RTC (i.e read time) or RAM operations failure (read or write)." + 234 : "DG inlet water pressure in high range." 235 : "HD in treatment stopped sub-mode after rinseback completed (no escalation)." 236 : "HD needs new cartridge to be installed." 237 : "HD prime saline dialyzer time out alarm." @@ -245,8 +245,8 @@ 243 : "DG reservoir leak time out." 244 : "DG temperature sensors difference out of range." 245 : "DG heat disinfect target temperature time out (could not reach to temperature)." - 246 : "DG heat disinfect inlet pressure and temperature sensors out of range." - 247 : "DG heat disinfect inlet conductivity and temperature out of range." + 246 : "Alarm ID available for use." + 247 : "DG heat disinfect active cool time tour." 248 : "DG chemical disinfect could not reach to target temperature." 249 : "DG chemical disinfect inlet pressure and temperature sensors out of range." 250 : "DG chemical disinfect inlet conductivity and temperature out of range." @@ -279,7 +279,7 @@ 277 : "HD BP occlusion sensor is reading out of range." 278 : "HD active reservoir weight out of range." 279 : "DG dialysate drain time out." - 280 : "HD arterial pressure sensor read timeout error." + 280 : "DG drain pump direction invalid." 281 : "Acid concentration bottle low volume alarm." 282 : "Bicarbonate concentration bottle low volume alarm." 283 : "DG load cells weight out of range." @@ -289,7 +289,7 @@ 287 : "HD processor clock speed checks against FPGA clock failure." 288 : "HD load cells primary/back up drift out of range." 289 : "DG dialysate or concentrate caps not closed." - 290 : "DG flow too low while heater is on." + 290 : "HD venous pressure sensor FPGA fault." 291 : "HD processor is in Disinfect Flush mode." 292 : "HD processor is in Disinfect Heat mode." 293 : "HD processor is in Disinfect Chemical mode." @@ -298,65 +298,83 @@ 296 : "DG TDi sensors FPGA fault." 297 : "DG TRo sensors FPGA fault." 298 : "DG baro sensor FPGA fault." - 299 : "DG disinfect has been expired." - 300 : "DG service time interval has elapsed." + 299 : "DG invalid serial number." + 300 : "HD invalid serial number." 301 : "DG primary heater power voltage out of range." 302 : "DG processor RAM error." - 303 : "HD service time interval has elapsed." + 303 : "DG drain pump direction FPGA fault." 304 : "HD invalid usage record." 305 : "HD processor RAM error." - 306 : "Total number of alarms." + 306 : "HD air trap over-fill alarm." + 307 : "HD AC power lost second alarm." + 308 : "DG CPi conductivity sensor invalid character received." + 309 : "DG CPo conductivity sensor invalid character received." + 310 : "DG CD1 conductivity sensor invalid character received." + 311 : "DG CD2 conductivity sensor invalid character received." + 312 : "HD Dialysate In flow rate to too low." + 313 : "DG cleaning mode inlet water temperature too low." + 314 : "DG cleaning mode inlet water pressure too high." + 315 : "DG cleaning mode inlet water pressure too low." + 316 : "DG acid concentrate pump park fault." + 317 : "DG bicarb concentrate pump part fault." + 318 : "HD Air Pump timeout alarm." + 319 : "Total number of alarms." } # dictionary of rejection reason from application source code. # message location -> denali-> Headers-> common-> MsgDefs.h REJECTION_REASON = { - 0 : "REQUEST_REJECT_REASON_NONE" # Used when there is no rejection. - 1 : "REQUEST_REJECT_REASON_NOT_ALLOWED_IN_CURRENT_MODE" # Request is not allowed in the current operating mode. - 2 : "REQUEST_REJECT_REASON_TIMEOUT_WAITING_FOR_USER_CONFIRM" # Validated request was not confirmed by user in reasonable time. - 3 : "REQUEST_REJECT_REASON_NOT_IN_TREATMENT_MODE" # Request is not allowed if not in treatment mode. - 4 : "REQUEST_REJECT_REASON_INVALID_TREATMENT_STATE" # Request is not allowed in current treatment state. - 5 : "REQUEST_REJECT_REASON_TREATMENT_TOO_CLOSE_TO_FINISHED" # Request is not allowed so near end of treatment. - 6 : "REQUEST_REJECT_REASON_TREATMENT_TIME_OUT_OF_RANGE" # Treatment duration is out of range. - 7 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_CURRENT" # Treatment time change is less than currently elapsed treatment time. - 8 : "REQUEST_REJECT_REASON_BLOOD_FLOW_OUT_OF_RANGE" # Blood flow is out of range. - 9 : "REQUEST_REJECT_REASON_DIAL_FLOW_OUT_OF_RANGE" # Dialysate flow is out of range. - 10 : "REQUEST_REJECT_REASON_DIAL_VOLUME_OUT_OF_RANGE" # Dialysate flow rate or treatment duration causes dialysate volume to exceed limit. - 11 : "REQUEST_REJECT_REASON_UF_VOLUME_OUT_OF_RANGE" # Ultrafiltration volume is out of range. - 12 : "REQUEST_REJECT_REASON_UF_RATE_OUT_OF_RANGE" # Ultrafiltration rate is out of range. - 13 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_MINIMUM" # Treatment time change is less than minimum treatment time. - 14 : "REQUEST_REJECT_REASON_UF_NOT_IN_PROGESS" # Ultrafiltration is not currently in progress. - 15 : "REQUEST_REJECT_REASON_UF_NOT_PAUSED" # Ultrafiltration is not currently paused. - 16 : "REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS" # A saline bolus is in progress. - 17 : "REQUEST_REJECT_REASON_PARAM_OUT_OF_RANGE" # A treatment parameter is out of range. - 18 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_EXCEEDS_DURATION" # The Heparin pre-stop setting is greater than the treatment duration. - 19 : "REQUEST_REJECT_REASON_ARTERIAL_PRESSURE_LOW_VS_HIGH" # Arterial pressure low and high alarm limits are not inconsistent. - 20 : "REQUEST_REJECT_REASON_VENOUS_PRESSURE_LOW_VS_HIGH" # Venous pressure low and high alarm limits are inconsistent. - 21 : "REQUEST_REJECT_REASON_SALINE_MAX_VOLUME_REACHED" # Saline bolus volume maximum has been reached. - 22 : "REQUEST_REJECT_REASON_SALINE_BOLUS_NOT_IN_PROGRESS" # A saline bolus is not in progress. - 23 : "REQUEST_REJECT_REASON_ACTION_DISABLED_IN_CURRENT_STATE" # Requested user action is disabled in current state. - 24 : "REQUEST_REJECT_REASON_ALARM_IS_ACTIVE" # Requested user action not allowed while alarm is active. - 25 : "REQUEST_REJECT_REASON_INVALID_COMMAND" # Requested user action invalid. - 26 : "REQUEST_REJECT_REASON_TREATMENT_IS_COMPLETED" # The treatment has been completed. - 27 : "REQUEST_REJECT_REASON_ADDL_RINSEBACK_MAX_VOLUME_REACHED" # Rinseback additional volume maximum has been reached. - 28 : "REQUEST_REJECT_REASON_UF_VOLUME_NOT_SET" # Ultrafiltration volume is not set yet. - 29 : "REQUEST_REJECT_REASON_NO_PATIENT_CONNECTION_CONFIRM" # The user has not confirmed patient connection. - 30 : "REQUEST_REJECT_REASON_HEPARIN_PAUSE_INVALID_IN_THIS_STATE" # Heparin cannot be paused if not currently deliverying Heparin. - 31 : "REQUEST_REJECT_REASON_HEPARIN_NOT_PAUSED" # Heparin cannot be resumed if not paused. - 32 : "REQUEST_REJECT_REASON_DG_COMM_LOST" # Treatment cannot initiate if DG comm is lost. - 33 : "REQUEST_REJECT_REASON_DRAIN_NOT_COMPLETE" # Post-treatment reservoirs drain not complete. - 34 : "REQUEST_REJECT_REASON_DG_NOT_IN_STANDBY_IDLE_STATE" # Treatment cannot initiate if DG is not in standby idle state. - 35 : "REQUEST_REJECT_REASON_INVALID_REQUEST_FORMAT" # Request message not formatted properly. - 36 : "REQUEST_REJECT_REASON_INVALID_DATE_OR_TIME" # Given date/time is invalid. - 37 : "REQUEST_REJECT_REASON_TREATMENT_IN_PROGRESS" # Treatment is in progress. - 38 : "REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED" # Battery does not have enough charge to start treatment. - 39 : "REQUEST_REJECT_REASON_RINSEBACK_NOT_COMPLETED" # Cannot move on to recirculate without completing full rinseback. - 40 : "REQUEST_REJECT_REASON_RESERVOIR_ONE_IS_NOT_READY" # Reservoir one fill is not complete. - 41 : "REQUEST_REJECT_REASON_PUMP_TRACK_NOT_CLOSED" # Pump track is not ready / closed. - 42 : "REQUEST_REJECT_REASON_DOOR_NOT_CLOSED" # Door is not closed. - 43 : "REQUEST_REJECT_REASON_SYRINGE_NOT_PRESENT" # Syringe is not present. - 44 : "REQUEST_REJECT_REASON_DG_DIALYSATE_CAP_OPEN" # Dialysate cap open. - 45 : "REQUEST_REJECT_REASON_DG_CONCENTRATE_CAP_OPEN" # Concentrate cap open. - 46 : "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes. + 0 : "REQUEST_REJECT_REASON_NONE" # Used when there is no rejection. + 1 : "REQUEST_REJECT_REASON_NOT_ALLOWED_IN_CURRENT_MODE" # Request is not allowed in the current operating mode. + 2 : "REQUEST_REJECT_REASON_TIMEOUT_WAITING_FOR_USER_CONFIRM" # Validated request was not confirmed by user in reasonable time. + 3 : "REQUEST_REJECT_REASON_NOT_IN_TREATMENT_MODE" # Request is not allowed if not in treatment mode. + 4 : "REQUEST_REJECT_REASON_INVALID_TREATMENT_STATE" # Request is not allowed in current treatment state. + 5 : "REQUEST_REJECT_REASON_TREATMENT_TOO_CLOSE_TO_FINISHED" # Request is not allowed so near end of treatment. + 6 : "REQUEST_REJECT_REASON_TREATMENT_TIME_OUT_OF_RANGE" # Treatment duration is out of range. + 7 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_CURRENT" # Treatment time change is less than currently elapsed treatment time. + 8 : "REQUEST_REJECT_REASON_BLOOD_FLOW_OUT_OF_RANGE" # Blood flow is out of range. + 9 : "REQUEST_REJECT_REASON_DIAL_FLOW_OUT_OF_RANGE" # Dialysate flow is out of range. + 10 : "REQUEST_REJECT_REASON_DIAL_VOLUME_OUT_OF_RANGE" # Dialysate flow rate or treatment duration causes dialysate volume to exceed limit. + 11 : "REQUEST_REJECT_REASON_UF_VOLUME_OUT_OF_RANGE" # Ultrafiltration volume is out of range. + 12 : "REQUEST_REJECT_REASON_UF_RATE_OUT_OF_RANGE" # Ultrafiltration rate is out of range. + 13 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_MINIMUM" # Treatment time change is less than minimum treatment time. + 14 : "REQUEST_REJECT_REASON_UF_NOT_IN_PROGESS" # Ultrafiltration is not currently in progress. + 15 : "REQUEST_REJECT_REASON_UF_NOT_PAUSED" # Ultrafiltration is not currently paused. + 16 : "REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS" # A saline bolus is in progress. + 17 : "REQUEST_REJECT_REASON_PARAM_OUT_OF_RANGE" # A treatment parameter is out of range. + 18 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_EXCEEDS_DURATION" # The Heparin pre-stop setting is greater than the treatment duration. + 19 : "REQUEST_REJECT_REASON_ARTERIAL_PRESSURE_LOW_VS_HIGH" # Arterial pressure low and high alarm limits are not inconsistent. + 20 : "REQUEST_REJECT_REASON_VENOUS_PRESSURE_LOW_VS_HIGH" # Venous pressure low and high alarm limits are inconsistent. + 21 : "REQUEST_REJECT_REASON_SALINE_MAX_VOLUME_REACHED" # Saline bolus volume maximum has been reached. + 22 : "REQUEST_REJECT_REASON_SALINE_BOLUS_NOT_IN_PROGRESS" # A saline bolus is not in progress. + 23 : "REQUEST_REJECT_REASON_ACTION_DISABLED_IN_CURRENT_STATE" # Requested user action is disabled in current state. + 24 : "REQUEST_REJECT_REASON_ALARM_IS_ACTIVE" # Requested user action not allowed while alarm is active. + 25 : "REQUEST_REJECT_REASON_INVALID_COMMAND" # Requested user action invalid. + 26 : "REQUEST_REJECT_REASON_TREATMENT_IS_COMPLETED" # The treatment has been completed. + 27 : "REQUEST_REJECT_REASON_ADDL_RINSEBACK_MAX_VOLUME_REACHED" # Rinseback additional volume maximum has been reached. + 28 : "REQUEST_REJECT_REASON_UF_VOLUME_NOT_SET" # Ultrafiltration volume is not set yet. + 29 : "REQUEST_REJECT_REASON_NO_PATIENT_CONNECTION_CONFIRM" # The user has not confirmed patient connection. + 30 : "REQUEST_REJECT_REASON_HEPARIN_PAUSE_INVALID_IN_THIS_STATE" # Heparin cannot be paused if not currently deliverying Heparin. + 31 : "REQUEST_REJECT_REASON_HEPARIN_NOT_PAUSED" # Heparin cannot be resumed if not paused. + 32 : "REQUEST_REJECT_REASON_DG_COMM_LOST" # Treatment cannot initiate if DG comm is lost. + 33 : "REQUEST_REJECT_REASON_DRAIN_NOT_COMPLETE" # Post-treatment reservoirs drain not complete. + 34 : "REQUEST_REJECT_REASON_DG_NOT_IN_STANDBY_IDLE_STATE" # Treatment cannot initiate if DG is not in standby idle state. + 35 : "REQUEST_REJECT_REASON_INVALID_REQUEST_FORMAT" # Request message not formatted properly. + 36 : "REQUEST_REJECT_REASON_INVALID_DATE_OR_TIME" # Given date/time is invalid. + 37 : "REQUEST_REJECT_REASON_TREATMENT_IN_PROGRESS" # Treatment is in progress. + 38 : "REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED" # Battery does not have enough charge to start treatment. + 39 : "REQUEST_REJECT_REASON_RINSEBACK_NOT_COMPLETED" # Cannot move on to recirculate without completing full rinseback. + 40 : "REQUEST_REJECT_REASON_RESERVOIR_ONE_IS_NOT_READY" # Reservoir one fill is not complete. + 41 : "REQUEST_REJECT_REASON_PUMP_TRACK_NOT_CLOSED" # Pump track is not ready / closed. + 42 : "REQUEST_REJECT_REASON_DOOR_NOT_CLOSED" # Door is not closed. + 43 : "REQUEST_REJECT_REASON_SYRINGE_NOT_PRESENT" # Syringe is not present. + 44 : "REQUEST_REJECT_REASON_DG_DIALYSATE_CAP_OPEN" # Dialysate cap open. + 45 : "REQUEST_REJECT_REASON_DG_CONCENTRATE_CAP_OPEN" # Concentrate cap open. + 46 : "REQUEST_REJECT_REASON_DG_DISINFECT_HAS_BEEN_EXPIRED" # DG disinfect has been expired. + 47 : "REQUEST_REJECT_REASON_DG_SERVICE_IS_DUE" # DG service is due. + 48 : "REQUEST_REJECT_REASON_HD_SERVICE_IS_DUE" # HD service is due. + 49 : "REQUEST_REJECT_REASON_DG_CHEM_FLUSH_NOT_COMPLETED" # DG chemical flush is not complete. + 50 : "REQUEST_REJECT_REASON_DG_RO_FILTER_TEMPERATURE_OUT_OF_RANGE" # DG RO filter temperature out of range. + 51 : "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes. }