ALARM_ID_AND_MESSAGES = { 0 : "Indication for when no alarms is a possible situation." 1 : "TD Software fault.\nSoftware found itself in an unexpected state." 2 : "DD software fault.\nSoftware found itself in an unexpected state." 3 : "RO software fault.\nSoftware found itself in an unexpected state." 4 : "TD FPGA POST failure." 5 : "TD Watchdog POST failure." 6 : "TD UI communication POST failure.\nUI failed to communicate within a reasonable time after power up." 7 : "TD processor clock speed checks against FPGA clock failure." 8 : "TD FPGA communication down for too long." 9 : "TD UI communication timeout." 10 : "TD DD communication timeout." 11 : "TD too many bad communications CRC." 12 : "TD didn't get ACK on message to UI that required acknowledgment." 13 : "TD didn't get ACK on message to DD that required acknowledgment." 14 : "TD critical data integrity check failed." 15 : "DD critical data integrity check failed." 16 : "TD watchdog expired." 17 : "DD watchdog expired." 18 : "DD too many bad communications CRC." 19 : "DD didn't get ACK on message to RO that required acknowledgment." 20 : "DD didn't get ACK on message to TD that required acknowledgment." 21 : "DD FPGA POST failure." 22 : "DD processor clock speed checks against FPGA clock failure." 23 : "DD FPGA communication down for too long." 24 : "TD alarm audio failed POST." 25 : "DD FPGA not accepting commanded valve states." 26 : "TD arterial pressure sensor freshness/error timeout fault." 27 : "TD venous pressure sensor freshness/error timeout fault." 28 : "DD hydraulics outlet pressure sensor freshness/error timeout fault." 29 : "DD bibag pressure sensor freshness/error timeout fault." 30 : "DD spent dialysate pressure sensor freshness/error timeout fault." 31 : "DD fresh dialysate pressure sensor freshness/error timeout fault." 32 : "DD transmembrane pressure sensor freshness/error timeout fault." 33 : "TD voltage out of range fault." 34 : "TD AC power lost." 35 : "TD AC power lost during treatment." 36 : "DD CD1 conductivity sensor freshness/error timeout fault." 37 : "DD CD2 conductivity sensor freshness/error timeout fault." 38 : "DD CD3 conductivity sensor freshness/error timeout fault." 39 : "DD CD4 conductivity sensor freshness/error timeout fault." 40 : "TD venous bubble detected." 41 : "TD front door open." 42 : "TD stuck button self test failure." 43 : "TD arterial pressure low." 44 : "TD arterial pressure high." 45 : "TD arterial pressure out of range fault." 46 : "TD arterial pressure self-test failure." 47 : "TD venous pressure low." 48 : "TD venous pressure high." 49 : "TD venous pressure out of range fault." 50 : "TD venous pressure self-test failure." 51 : "TD set pressure offset is out or range fault." 52 : "DD concentrate pump D11_PUMP speed control error." 53 : "DD concentrate pump D10_PUMP speed control error." 54 : "DD concentrate pumps hall sensor out of range." 55 : "DD concentrate pump fault." 56 : "DD temperature sensor out of range." 57 : "DD temperature sensors freshness timeout fault." 58 : "DD baro sensors freshness timeout fault." 59 : "DD barometric sensor coefficients bad CRC." 60 : "DD fresh dialysate pump RPM out of range." 61 : "DD fresh dialysate pump running when it is not commanded to run." 62 : "DD fresh dialysate pump current out of range." 63 : "DD fresh dialysate pump invalid direction." 64 : "DD fresh dialysate pump direction error count FPGA fault." 65 : "DD spent dialysate pump RPM out of range." 66 : "DD spent dialysate pump running when it is not commanded to run." 67 : "DD spent dialysate pump current out of range." 68 : "DD spent dialysate pump invalid direction." 69 : "DD spent dialysate pump direction error count FPGA fault." 70 : "DD primary heater is On when no fluid is present." 71 : "DD trimmer heater is On when no fluid is present." 72 : "DD water inlet input pressure sensor freshness/error timeout fault." 73 : "DD water inlet output pressure sensor freshness/error timeout fault." 74 : "DD inlet water pressure input low range." 75 : "DD inlet water pressure input high range." 76 : "DD inlet water pressure output low range." 77 : "DD inlet water pressure output high range." 78 : "TD air trap fill timeout alarm during treatment." 79 : "TD air trap illegal levels." 80 : "TD pinch valve fault." 81 : "TD pinch valve homing fault." 82 : "TD pinch valve transition timeout." 83 : "RO can message not acked by DD fault." 84 : "RO FPGA communication timeout." 85 : "RO too many bad crcs." 86 : "RO valve control failure." 87 : "DD balance chamber state1 fill start pressure not in range." 88 : "DD balance chamber state1 fill end pressure not in range." 89 : "DD balance chamber state2 fill start pressure not in range." 90 : "DD balance chamber state2 fill end pressure not in range." 91 : "DD generate dialysate hydraulics chamber ngative pressure out of range." 92 : "Available alarms." 93 : "Available alarms." 94 : "DD balance chamber state1 fill initiated and pressure drop is not in range." 95 : "DD balance chamber state2 fill initiated and pressure drop is not in range." 96 : "TD treatment paused by user." 97 : "DD D74 bicarb conductivity sensor freshness/error timeout fault." 98 : "Available alarms." 99 : "Available alarms." 100 : "TD communication timeout." 101 : "UI POST OS version compatibility failure." 102 : "UI POST Application Integrity (Sha256Sum) failure." 103 : "UI POST CANBus failure." 104 : "UI POST Display failure." 105 : "UI POST Touch failure." 106 : "UI POST SD-Card failure." 107 : "UI POST RTC failure." 108 : "UI POST WiFi failure." 109 : "UI POST Bluetooth failure." 110 : "UI POST Ethernet failure." 111 : "UI POST Sound failure." 112 : "UI POST CloudSync failure." 113 : "UI POST Year check failure." 114 : "UI POST Configuration check failure." 115 : "UI EVNT SD-Card failure." 116 : "UI Reserved failure." 117 : "UI Reserved failure." 118 : "UI Reserved failure." 119 : "UI Reserved failure." 120 : "UI Reserved failure." 121 : "UI Reserved failure." 122 : "UI Reserved failure." 123 : "UI Reserved failure." 124 : "UI Reserved failure." 125 : "UI Reserved failure." 126 : "UI Reserved failure." 127 : "UI Reserved failure." 128 : "UI Reserved failure." 129 : "UI Reserved failure." 130 : "UI Reserved failure." 131 : "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_FILTER_FLUSH_HAS_BEEN_EXPIRED" # Filter flush time has been expired. 19 : "REQUEST_REJECT_REASON_SALINE_MAX_VOLUME_REACHED" # Saline bolus volume maximum has been reached. 20 : "REQUEST_REJECT_REASON_SALINE_BOLUS_NOT_IN_PROGRESS" # A saline bolus is not in progress. 21 : "REQUEST_REJECT_REASON_ACTION_DISABLED_IN_CURRENT_STATE" # Requested user action is disabled in current state. 22 : "REQUEST_REJECT_REASON_ALARM_IS_ACTIVE" # Requested user action not allowed while alarm is active. 23 : "REQUEST_REJECT_REASON_INVALID_COMMAND" # Requested user action invalid. 24 : "REQUEST_REJECT_REASON_TREATMENT_IS_COMPLETED" # The treatment has been completed. 25 : "REQUEST_REJECT_REASON_ADDL_RINSEBACK_MAX_VOLUME_REACHED" # Rinseback additional volume maximum has been reached. 26 : "REQUEST_REJECT_REASON_DIALYZER_NOT_INVERTED" # Dialyzer not inverted yet. 27 : "REQUEST_REJECT_REASON_NO_PATIENT_CONNECTION_CONFIRM" # The user has not confirmed patient connection. 28 : "REQUEST_REJECT_REASON_DD_COMM_LOST" # Treatment cannot initiate if DD comm is lost. 29 : "REQUEST_REJECT_REASON_DD_NOT_IN_STANDBY_IDLE_STATE" # Treatment cannot initiate if DD is not in standby idle state. 30 : "REQUEST_REJECT_REASON_INVALID_REQUEST_FORMAT" # Request message not formatted properly. 31 : "REQUEST_REJECT_REASON_INVALID_DATE_OR_TIME" # Given date/time is invalid. 32 : "REQUEST_REJECT_REASON_TREATMENT_IN_PROGRESS" # Treatment is in progress. 33 : "REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED" # Battery does not have enough charge to start treatment. 34 : "REQUEST_REJECT_REASON_RINSEBACK_NOT_COMPLETED" # Cannot move on to recirculate without completing full rinseback. 35 : "REQUEST_REJECT_REASON_DOOR_NOT_CLOSED" # Door is not closed. 36 : "REQUEST_REJECT_REASON_DD_DIALYSATE_CAP_OPEN" # Dialysate cap open. 37 : "REQUEST_REJECT_REASON_DD_CONCENTRATE_CAP_OPEN" # Concentrate cap open. 38 : "REQUEST_REJECT_REASON_DISINFECT_HAS_BEEN_EXPIRED" # Disinfect has been expired. 39 : "REQUEST_REJECT_REASON_DD_SERVICE_IS_DUE" # DD service is due. 40 : "REQUEST_REJECT_REASON_TD_SERVICE_IS_DUE" # TD service is due. 41 : "REQUEST_REJECT_REASON_RO_FILTER_TEMPERATURE_OUT_OF_RANGE" # RO filter temperature out of range. 42 : "REQUEST_REJECT_REASON_DD_INCOMPATIBLE" # DD firmware version is not compatible with TD firmware. 43 : "REQUEST_REJECT_REASON_DIALYZER_REPRIME_IN_PROGRESS" # Saline bolus is not allowed during dialyzer reprime. 44 : "REQUEST_REJECT_REASON_RO_ONLY_MODE_DD_BUSY" # RO only mode DD is busy. 45 : "REQUEST_REJECT_REASON_RO_ONLY_MODE_INVALID_PARAMETER" # RO only mode invalid parameter. 46 : "REQUEST_REJECT_REASON_RO_ONLY_MODE_INVALID_PAYLOAD_LENGTH" # RO only mode invalid payload length. 47 : "REQUEST_REJECT_REASON_TREATMENT_CANNOT_BE_RESUMED" # Cannot resume treatment per alarm. 48 : "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes. }