Index: shared/scripts/configuration/strings.py =================================================================== diff -u -r4147ec569393d29b8127aca94e1ac50f0e4fd48d -r5b26c12c9d6892fd8a9e09745c7e535544e40cc0 --- shared/scripts/configuration/strings.py (.../strings.py) (revision 4147ec569393d29b8127aca94e1ac50f0e4fd48d) +++ shared/scripts/configuration/strings.py (.../strings.py) (revision 5b26c12c9d6892fd8a9e09745c7e535544e40cc0) @@ -12,16 +12,32 @@ # @date (last) 14-June-2022 ############################################################################ +#create custom treatment +TREATMENT_TITLE = "Create a Custom Treatment" +CONFIRM_TREATMENT_TITLE = "Confirm Treatment" +PRESCRIPTION_TITLE = "PRESCRIPTION" +OPERATING_PARAMETERS_TITLE = "OPERATING PARAMETERS" +PATIENT_ID_TEXT = "Patient ID" +BLOOD_FLOW_RATE = "Blood Flow Rate" +DIALYSATE_FLOW_RATE = "Dialysate Flow Rate" +DURATION = "Duration" +SALINE_BOLUS_VOLUME = "Saline Bolus Volume" +SKIP_TEXT = "SKIP" +ON_TEXT = "ON" +OFF_TEXT = "OFF" +CONTINUE_TEXT = "CONTINUE" -BLOOD_PRIMING_UNIT = "mL" -BLOOD_PRIMING_VALUE_0 = "0" -BLOOD_PRIMING_DEFAULT_VALUE = BLOOD_PRIMING_VALUE_0 + " " + BLOOD_PRIMING_UNIT +OPERATIONAL_PARAMETERS = {"Heparin Type": HEPARIN_TYPE, "Acid Concentrate": "Fres. Naturalyte", + "Bicarbonate Concentrate": BICARBONATE_CONCENTRATE, "Dialyzer Type": "BB Diacap Pro 16H"} +CREATE_TREATMENT_PARAMETERS = ["Blood Flow Rate", "Dialysate Flow Rate", "Duration","Heparin Dispensing Rate", + "Heparin Bolus Volume","Heparin Stop Time", "Saline Bolus", "Dialysate Temperature", + "Blood Pressure Measurement Interval", "Rinseback Flow Rate"] + #pretreatment_screen_bullets PRE_TREATMENT_SCREENS = ["Create" , "Sample" , "Consumables" , "Disposables" , "Prime" , "Ultrafiltration" , "BP/HR" , "Connection" , "Start"] POST_TREATMENT_SCREENS = ["Disconnection", "Review", "Disposables", "Disinfection"] - #main_treatment_ultrafilteration ULTRAFILTRATION_PAUSED_TEXT = "Ultrafiltration Paused" INCREASE_UF_RATE_TEXT = "Increase UF Rate" @@ -33,6 +49,7 @@ #recirculate screens RECIRCULATE_TEXT = "Recirculate" RECONNECT_BUTTON_TEXT = "RECONNECT" + # pretreatment_patient_connection DIASTOLIC_TEXT = "diastolic" SYSTOLIC_TEXT = "systolic" @@ -99,18 +116,15 @@ TRENDING_TEXT = "Trending" SETTINGS_TEXT = "Settings" - #Disinfection string constants DISINFECT_TEXT = "Disinfection" CHEMICAL_DISINFECT_TEXT = "Chemical Disinfect" HEAT_DISINFECT_TEXT = "Heat Disinfect" FLUSH_DISINFECT_TEXT = "Water Flush" - HEAT_DISINFECT_TREATMENT_SCREENS = ["Disinfection", "Heat Disinfect"] CHEMICAL_DISINFECT_TREATMENT_SCREENS = ["Disinfection", "Chemical Disinfect"] FLUSH_DISINFECT_TREATMENT_SCREENS = ["Disinfection", "Water Flush"] - # dictionary of rejection reason from application source code. # message location -> denali-> Headers-> common-> MsgDefs.h REJECTION_REASON = { @@ -163,13 +177,11 @@ 46: "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes } - #Alarm List UNDEFINED_ALARM_ID_MSG = "ALARM_ID_UNDEFINED" ALARM_TITLE = "Alarm" ALARM_LIST_TITLE = "Alarm list" ALARM_PRIORITIES = {1: "LOW", 2: "MEDIUM", 3: "HIGH"} - ALARM_PRIORITY_OPTIONS = { 0 : 'ALARM_PRIORITY_NONE' , 1 : 'ALARM_PRIORITY_LOW' , @@ -201,51 +213,18 @@ SettingsHome_Settings_Text = "Settings" SERVICE_SCREEN_TITLE_TEXT = "Service" -#create custom treatment -TREATMENT_TITLE = "Create a Custom Treatment" -CONFIRM_TREATMENT_TITLE = "Confirm Treatment" -PRESCRIPTION_TITLE = "PRESCRIPTION" -OPERATING_PARAMETERS_TITLE = "OPERATING PARAMETERS" -PATIENT_ID_TEXT = "Patient ID" -BLOOD_FLOW_RATE = "Blood Flow Rate" -DIALYSATE_FLOW_RATE = "Dialysate Flow Rate" -DURATION = "Duration" -SALINE_BOLUS_VOLUME = "Saline Bolus Volume" - #main treatment screen VITALS_TITLE = "VITALS" - - PATIENT_ID = "demopatientid" SALINE_BOLUS_TITLE = "Saline Bolus" +SALINE_UNIT = "mL" ACID_CONCENTRATE_TITLE = "Acid Concentrate" BICARBONATE_CONCENTRATE_TITLE = "Bicarbonate Concentrate" DIALYZER_TYPE_TITLE = "Dialyzer Type" DIALYSATE_TEMPERATURE = "Dialysate Temperature" BLOOD_PRESSURE_MEASUREMENT_INTERVAL = "Blood Pressure Measurement Interval" -RINSEBACK_FLOW_RATE = "Rinseback Flow Rate" +RINSEBACK_FLOW_RATE = "Rinseback Flow Rate" - -CREATE_TREATMENT_PARAMETERS = ["Blood Flow Rate", "Dialysate Flow Rate", "Duration","Heparin Dispensing Rate", - "Heparin Bolus Volume","Heparin Stop Time", "Saline Bolus", "Dialysate Temperature", - "Blood Pressure Measurement Interval", "Rinseback Flow Rate"] - -SKIP_TEXT = "SKIP" -ON_TEXT = "ON" -OFF_TEXT = "OFF" -CONTINUE_TEXT = "CONTINUE" - -PRESCRIPTION_DETAILS = { - "Blood Flow Rate": "mL/min", "Dialysate Flow Rate": "mL/min", - "Duration": "min", "Heparin Dispensing Rate": "mL/hr", - "Heparin Bolus Volume": "mL", "Heparin Stop Time": "min", - "Saline Bolus Volume": "mL", - "Dialysate Temperature": "°C", "Arterial Pressure Limit Low": "mmHg", - "Arterial Pressure Limit High": "mmHg","Blood Pressure Measure Interval":"min", - "Rinseback Rate" : "mL/min", "Venous Pressure Limit High": "mmHg", - "Venous Pressure Limit Low": "mmHg" -} - #Time_Duration TREATMENT_PAUSED_TEXT = "Treatment Paused" @@ -263,7 +242,6 @@ #Pre-Treatment Disposables NEXT_BUTTON_TEXT = "NEXT" -BACK_BUTTON_TEXT = "BACK" CONFIRM_BUTTON_TEXT = "CONFIRM" #Pre_treatment_water_sample @@ -274,24 +252,22 @@ FAIL_TEXT = "FAIL" OK_TEXT = "OK" -#Vitals & pretreatment_patient_connection -SYSTOLIC_TEXT = "systolic" -DIASTOLIC_TEXT = "diastolic" - #priming TEST_DRY_STEPS = ["Used Cartridge Check", "Occlusion Sensors Check", "Pressure Sensors Check", "Syringe Pump Check"] PRIMING_STEPS = ["Blood Circuit Priming", "Dialysate Circuit Priming", "Wet Self Tests"] SELF_TEST_COMPLETION_MSG = "Self Test Complete!" PRIMING_COMPLETE_MSG = "Priming Complete!" +BLOOD_PRIMING_UNIT = "mL" +BLOOD_PRIMING_VALUE_0 = "0" +BLOOD_PRIMING_DEFAULT_VALUE = BLOOD_PRIMING_VALUE_0 + " " + BLOOD_PRIMING_UNIT +BLOOD_PRIMING_TEXT = "Blood Priming" #main_treatment_flows FLOW_UNIT = "mL/min" BLOOD_FLOW_TEXT = "blood" DIALYSATE_FLOW_TEXT = "dialysate" - LIQUID_UNIT = "mL" - #tst_treatment_monitoring FLOWS_TEXT = "FLOWS" BLOOD_UNIT = "mL/min" @@ -309,9 +285,6 @@ VOLUME_DELIVERED = "Volume Delivered" CUMULATIVE_DELIVERED = "Cumulative Delivered" - -OFF_TEXT = "OFF" - #post-treatment PATIENT_DISCONNECTION_TEXT = "Patient Disconnection" REVIEW_TEXT = "Review" @@ -330,11 +303,20 @@ ACID_CONCENTRATE = ["08-1251-1", "08-2251-0", "08-3251-9"] BICARBONATE_CONCENTRATE = "Fres. Centrisol" DIALYZER_TYPE = ["BB Diacap Pro 13H", "BB Diacap Pro 16H", "BB Diacap Pro 19H", "F Optiflux F160NRe", "F Optiflux F180NRe", "F Optiflux F200NRe"] -TREATMENT_REVIEW_TITLE_TEXT = "Treatment Review" -EXPORT_TEXT = "Export" CODE_TEXT = "Code: " CODE_TEXT_AFTER_LOGGING = "Code: ..." +PRESCRIPTION_DETAILS = { + "Blood Flow Rate": "mL/min", "Dialysate Flow Rate": "mL/min", + "Duration": "min", "Heparin Dispensing Rate": "mL/hr", + "Heparin Bolus Volume": "mL", "Heparin Stop Time": "min", + "Saline Bolus Volume": "mL", + "Dialysate Temperature": "°C", "Arterial Pressure Limit Low": "mmHg", + "Arterial Pressure Limit High": "mmHg","Blood Pressure Measure Interval":"min", + "Rinseback Rate" : "mL/min", "Venous Pressure Limit High": "mmHg", + "Venous Pressure Limit Low": "mmHg" +} + POST_TREATMENT_REVIEW_SCREEN_UNITS = { "Patient ID" : "", "Heparin Bolus Volume": "mL", @@ -375,21 +357,16 @@ SERVICE_TEXT = "Service" SERVICES_PARAMETERS = ["HD Last Service Date", "HD Next Service Date", "DG Last Service Date", "DG Next Service Date"] - #Service Information -INFORMATION_TITLES = ["Information", "Versions"] VERSION_PARAMETERS = ["Information", "UI Version", "HD Version", "HD FPGA Version", "HD Serial Number", "DG Version", "DG FPGA Version", "DG Serial Number"] SERIVCES_TITLE = "Service" -SERVICES_PARAMETERS = ["HD Last Service Date", "HD Next Service Date", "DG Last Service Date", "DG Next Service Date"] #Service volume and brightness VOLUME_AND_BRIGHTNESS_TEXT = "Volume And Brightness" BRIGHTNESS_TEXT = "Brightness" ALARM_VOLUME_TEXT = "Alarm Volume" NOTIFICATION_MESSAGE_TEXT = "The response value is incorrect. [1007]" -CONFIRM_TEXT = "CONFIRM" SERVICE_BACK_BTN = "BACK" -BACK_TEXT = "BACK" UNIT_OF_VOLUME_AND_BRIGHTNESS = "%" #service wifi @@ -402,353 +379,323 @@ #service DG Cleaning DG_CLEANING_PARAMETERS = ["DG Cleaning", "Water Flush", "Time (HH:MM)", "Cycle (Days)", "Heat Disinfection", "Time (HH:MM)", "Cycle (Days)"] -#service export log -BACK_TEXT = "BACK" -CONFIRM_TEXT = "CONFIRM" -SERVICE_BACK_BTN = "BACK" -UNIT_OF_VOLUME_AND_BRIGHTNESS = "%" - #services SHUTDOWN_TEXT = "SHUTDOWN" -# pretreatment_patient_connection & ui logs +#pretreatment_patient_connection & ui logs ACK_REQ_STATUS = 'Ack Req' ACK_BAK_STATUS = 'Ack Bak' -PATIENT_CONNECTION_TEXT = "Patient Connection" -UF_VOLUME_TEXT = "Ultrafiltration Volume (L)" -UF_TITLE_TEXT = "Ultrafiltration Setup" -BP_HR_TEXT = "BP/HR" -TUTORIAL_TEXT = { - 0 : "Wash your hands and establish vascular access per your clinic's instructions.", - 1 : "Pinch arterial clamp and venous clamp on located on the cartridge patient lines.", - 2 : "Remove arterial and venous shunt.", - 3 : "Connect arterial and venous cartridge lines to your patient access lines." -} #End treatment -RINSEBACK_BUTTON_TEXT = "START RINSEBACK" END_TREATMENT_COMPLETE_STATE_TEXT = "Treatment Complete" END_TREATMENT_COMPLETE_PAUSED_STATE_TEXT = "Treatment Complete Paused" #rinseback-setup -RINSE_BACK_SETUP_TEXT = "Rinseback Setup" -RINSEBACK_BUTTON_TEXT = "START RINSEBACK" -END_IMAGE_BUTTON_TEXT = "End" -DECELERATE_BUTTON_TEXT = "Decelerate" -ACCELERATE_BUTTON_TEXT = "Accelerate" -PAUSE_BUTTON_TEXT = "Pause" -RESUME_BUTTON_TEXT = "Resume" -RINSEBACK_TEXT = "Rinseback" -RINSEBACK_COMPLETE_TEXT = "Rinseback Complete" -END_TREATMENT_BUTTON_TEXT = "END TREATMENT" ADDITIONAL_BUTTON_TEXT = "ADDITIONAL" ADDITIONAL_RINSEBACK_TEXT = "Additional Rinseback" RINSEBACK_UNIT = " mL" RINSEBACK_UNIT_MIN = " mL/min" - ALARM_ID_AND_MESSAGES = { -0 : "Indication for when no alarms is a possible situation." , -1 : "Stuck button POST failure.\nStop or Off button detected to be pressed for at least 1 second during test shortly after power up." , -2 : "HD FPGA POST failure." , -3 : "DG FPGA POST failure." , -4 : "HD Watchdog POST failure." , -5 : "DG Watchdog POST failure.", -6 : "UI communication POST failure.\nUI failed to communicate within a reasonable time after power up." , -7 : "HD RTC battery low." , -8 : "HD accelerometer failed POST." , -9 : "DG accelerometer failed POST." , -10 : "Not used.", -11 : "HD dialysate temperature below target temperature." , -12 : "HD firmware image integrity POST test failed.", -13 :"DG firmware image integrity POST test failed." , -14 :"DG invalid usage record CRC.", -15 :"HD invalid usage record CRC." , -16 :"HD alarm audio failed POST." , -17 :"HD UI POST failed." , -18 :"DG load cells invalid calibration record." , -19 :"HD dialysate temperature above target temperature." , -20 :"DG conductivity sensors invalid calibration record." , -21 :"DG drain line volume invalid calibration record." , -22 :"DG reservoirs invalid calibration record.", -23 :"DG acid concentrate calibration record." , -24 :"DG bicarb concentrate calibration record." , -25 :"DG accelerometer invalid calibration record." , -26 :"HD accelerometer invalid calibration record." , -27 :"Not used.", -28 :"Not used." , -29 :"HD heparin force sensor invalid calibration record.", -30 :"HD Software fault.\nSoftware found itself in an unexpected state." , -31 :"Blood pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", -32 :"Blood pump failed motor off check.\nMeasured speed while commanded off." , -33 :"Blood pump failed motor direction check.\nMeasured vs commanded.", -34 :"Blood pump failed rotor speed check.\nMismatch with rotor and motor speeds." , -35 :"Dialysis inlet pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", -36 :"Dialysis inlet pump failed motor off check.\nMeasured speed while commanded off.", -37 :"Dialysis inlet pump failed motor direction check.\nMeasured vs commanded.", -38 :"Dialysis inlet pump failed rotor speed check.\nMismatch with rotor and motor speeds." , -39 :"Dialysis outlet pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", -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." , -44 :"User interface communication timeout." , -45 :"HD too many bad communications CRC." , -46 :"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." , -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." , -54 :"HD critical data integrity check failed.", -55 :"DG critical data integrity check failed." , -56 :"HD accelerometer error (no readings or FPGA reports error)." , -57 :"DG accelerometer error (no readings or FPGA reports error)." , -58 :"HD valve homing failed." , -59 :"HD valve transition time out." , -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." , -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." , -68 :"HD active reservoir recirculation out of range." , -69 :"HD blood leak sensor invalid calibration record." , -70 :"HD arterial pressure self-test failure alarm." , -71 :"HD venous pressure self-test failure alarm." , -72 :"Not used." , -73 :"Not used." , -74 :"HD blood leak detector self-test transmit timeout." , -75 :"HD syringe pump self-test failure alarm.", -76 :"HD monitored voltage is out of range." , -77 :"DG monitored voltage is out of range." , -78 :"HD syringe pump direction (from encoder) error." , -79 :"HD syringe pump direction (from controller) error." , -80 :"HD syringe pump fault reported by FPGA.", -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." , -85 :"HD pump track latch opened alarm." , -86 :"HD BP occlusion sensor not being read." , -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." , -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." , -94 :"DG pressure out of range." , -95 :"DG watchdog expired." , -96 :"Inlet water temperature in high range." , -97 :"Fill conductivity out of range.", -98 :"HD battery communication fault.", -99 :"HD syringe pump stall alarm." , -100 :"HD no cartridge self-test timeout.", -101 :"HD dry self-test timeout.", -102 :"DG heat disinfect temperature gradient out of range." , -103 :"HD invalid calibration CRC.", -104 :"Air trap level sensors reporting illegal combination of air/fluid." , -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." , -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." , -114 :"HD venous air bubble detector self-test failure." , -115 :"DG temperature sensor out of range.", -116 :"DG temperature sensor ADC fault." , -117 :"DG CAN message not acked." , -118 :"DG RTC config error." , -119 :"DG RTC battery low error.", -120 :"HD pre-treatment mode wet self-test prime check failure." , -121 :"DG main primary heater voltage out of range." , -122 :"DG small primary heater voltage out of range." , -123 :"DG trimmer heater voltage out of range." , -124 :"HD end of treatment alarm (high priority)." , -125 :"Blood sitting too long after treatment stopped by user alarm (>5 min).", -126 :"HD blood leak detected alarm." , -127 :"Venous pressure too low during treatment." , -128 :"HD venous air bubble detected alarm." , -129 :"HD venous air bubble detected rinseback alarm." , -130 :"Venous pressure too high during treatment." , -131 :"Arterial pressure too low during treatment." , -132 :"Arterial pressure too high during treatment." , -133 :"DG fluid leak detected alarm.", -134 :"HD fluid leak detected alarm." , -135 :"HD experienced large acceleration." , -136 :"DG experienced large acceleration." , -137 :"HD tilt exceeds maximum." , -138 :"DG tilt exceeds maximum." , -139 :"HD AC power lost alarm." , -140 :"Dialysate generator communication timeout." , -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." , -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." , -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." , -155 :"Not used." , -156 :"Not used." , -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." , -160 :"Blood pump rotor speed too high." , -161 :"DG comm too many bad CRCs." , -162 :"DG FPGA clock speed check failure." , -163 :"HD sees primary load cell for reservoir 1 change too much too fast." , -164 :"HD sees primary load cell for reservoir 2 change too much too fast." , -165 :"HD in treatment rinseback operation timeout." , -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." , -170 :"HD syringe empty alarm." , -171 :"HD syringe pump occlusion alarm.", -172 :"HD syringe pump not enough Heparin alarm." , -173 :"HD RTC configuration error." , -174 :"HD RTC or timer accuracy failure." , -175 :"HD pump direction status error." , -176 :"HD dialysate temperature out of high safety range." , -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." , -181 :"DG load cells weight out of range for tare." , -182 :"DG load cells invalid calibration.", -183 :"DG invalid load cell value." , -184 :"Inlet or Outlet UV reactor not healthy." , -185 :"DG fan RPM out of range." , -186 :"DG concentrate pump fault." , -187 :"DG concentrate pump CP1 speed control error." , -188 :"DG concentrate pump CP2 speed control error." , -189 :"DG drain pump RPM out of range." , -190 :"DG drain pump off fault." , -191 :"DG flow rate out of upper range." , -192 :"DG flow rate out of lower range." , -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.", -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." , -201 :"HD pre-treatment mode wet self-test lc vs FMD failure." , -202 :"HD pre-treatment mode dry pressure normal self-test failure." , -203 :"Pressure sensor fault." , -204 :"RO rejection ratio out of range." , -205 :"Conductivity sensor fault." , -206 :"DG dialysate fill runs out of time." , -207 :"DG flow meter check failure alarm.", -208 :"HD venous pressure occlusion alarm." , -209 :"DG drain circulation line timeout." , -210 :"HD battery pack detected an error." , -211 :"Blood sitting too long warning (>4 min).", -212 :"HD end of treatment alarm (user not acting to end treatment).", -213 :"HD prime completed medium priority alarm." , -214 :"HD Saline bolus volume check failure." , -215 :"HD rinseback volume check failure." , -216 :"HD end treatment sub-mode timeout alarm." , -217 :"HD blood prime volume check failure.", -218 :"HD syringe detected alarm.", -219 :"HD syringe pump syringe removed alarm.", -220 :"HD battery pack SOC is too low." , -221 :"HD Saline bag is empty." , -222 :"HD dialysate temperature too high alarm." , -223 :"HD dialysate temperature too low alarm." , -224 :"Treatment stopped by user action." , -225 :"HD end of treatment warning." , -226 :"HD prime completed low priority alarm." , -227 :"HD prime out of time alarm.", -228 :"HD time out on prime sub-mode purge air state." , -229 :"HD prime dialysate dialyzer time out alarm." , -230 :"HD prime dialysate bypass time out alarm." , -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).", -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." , -238 :"HD no cartridge loaded or installed improperly alarm." , -239 :"HD fail to remove cartridge alarm." , -240 :"Bicarb conductivity out of range during bicarb pump check alarm." , -241 :"DG reservoir drain time out." , -242 :"DG reservoir fill time out." , -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." , -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.", -251 :"HD invalid system record." , -252 :"HD invalid service record." , -253 :"DG invalid system record." , -254 :"DG invalid service record." , -255 :"HD and UI software builds are not compatible." , -256 :"HD and DG software builds are not compatible." , -257 :"DG FPGA power out timeout." , -258 :"HD FPGA power out timeout.", -259 :"HD temperatures out of range.", -260 :"UI POST Application Integrity (Sha256Sum) failure.", -261 :"UI POST CANBus failure." , -262 :"UI POST Display failure." , -263 :"UI POST Touch failure." , -264 :"UI POST SD-Card failure." , -265 :"UI POST RTC failure." , -266 :"UI POST WiFi failure.", -267 :"UI POST Bluetooth failure." , -268 :"UI POST Ethernet failure." , -269 :"UI POST Sound failure." , -270 :"HD POST Safety Shutdown failure." , -271 :"DG POST Safety Shutdown failure." , -272 :"HD Fan RPM out of range.", -273 :"HD measured blood pump flow rate is out of range.", -274 :"HD measured dialysate inlet pump flow rate is out of range.", -275 :"HD arterial pressure sensor is reading out of range.", -276 :"HD venous pressure sensor is reading out of range.", -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." , -281 :"Acid concentration bottle low volume alarm." , -282 :"Bicarbonate concentration bottle low volume alarm." , -283 :"DG load cells weight out of range." , -284 :"DG load cells primary/back up drift out of range.", -285 :"HD treatment recirculate timeout warning." , -286 :"HD treatment rinseback complete timeout warning." , -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." , -291 :"Total number of alarms.", -292 :"HD processor is in Disinfect Heat mode.", -293 :"HD processor is in Disinfect Chemical mode.", -294 :"HD processor Disinfect Chemical mode instructions to user.", -295 :"Total number of alarms." + 0 : "Indication for when no alarms is a possible situation." , + 1 : "Stuck button POST failure.\nStop or Off button detected to be pressed for at least 1 second during test shortly after power up." , + 2 : "HD FPGA POST failure." , + 3 : "DG FPGA POST failure." , + 4 : "HD Watchdog POST failure." , + 5 : "DG Watchdog POST failure.", + 6 : "UI communication POST failure.\nUI failed to communicate within a reasonable time after power up." , + 7 : "HD RTC battery low." , + 8 : "HD accelerometer failed POST." , + 9 : "DG accelerometer failed POST." , + 10 : "Not used.", + 11 : "HD dialysate temperature below target temperature." , + 12 : "HD firmware image integrity POST test failed.", + 13 :"DG firmware image integrity POST test failed." , + 14 :"DG invalid usage record CRC.", + 15 :"HD invalid usage record CRC." , + 16 :"HD alarm audio failed POST." , + 17 :"HD UI POST failed." , + 18 :"DG load cells invalid calibration record." , + 19 :"HD dialysate temperature above target temperature." , + 20 :"DG conductivity sensors invalid calibration record." , + 21 :"DG drain line volume invalid calibration record." , + 22 :"DG reservoirs invalid calibration record.", + 23 :"DG acid concentrate calibration record." , + 24 :"DG bicarb concentrate calibration record." , + 25 :"DG accelerometer invalid calibration record." , + 26 :"HD accelerometer invalid calibration record." , + 27 :"Not used.", + 28 :"Not used." , + 29 :"HD heparin force sensor invalid calibration record.", + 30 :"HD Software fault.\nSoftware found itself in an unexpected state." , + 31 :"Blood pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", + 32 :"Blood pump failed motor off check.\nMeasured speed while commanded off." , + 33 :"Blood pump failed motor direction check.\nMeasured vs commanded.", + 34 :"Blood pump failed rotor speed check.\nMismatch with rotor and motor speeds." , + 35 :"Dialysis inlet pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", + 36 :"Dialysis inlet pump failed motor off check.\nMeasured speed while commanded off.", + 37 :"Dialysis inlet pump failed motor direction check.\nMeasured vs commanded.", + 38 :"Dialysis inlet pump failed rotor speed check.\nMismatch with rotor and motor speeds." , + 39 :"Dialysis outlet pump failed motor controller current check.\nToo high when pump should be off or out of range when pump should be running.", + 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." , + 44 :"User interface communication timeout." , + 45 :"HD too many bad communications CRC." , + 46 :"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." , + 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." , + 54 :"HD critical data integrity check failed.", + 55 :"DG critical data integrity check failed." , + 56 :"HD accelerometer error (no readings or FPGA reports error)." , + 57 :"DG accelerometer error (no readings or FPGA reports error)." , + 58 :"HD valve homing failed." , + 59 :"HD valve transition time out." , + 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." , + 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." , + 68 :"HD active reservoir recirculation out of range." , + 69 :"HD blood leak sensor invalid calibration record." , + 70 :"HD arterial pressure self-test failure alarm." , + 71 :"HD venous pressure self-test failure alarm." , + 72 :"Not used." , + 73 :"Not used." , + 74 :"HD blood leak detector self-test transmit timeout." , + 75 :"HD syringe pump self-test failure alarm.", + 76 :"HD monitored voltage is out of range." , + 77 :"DG monitored voltage is out of range." , + 78 :"HD syringe pump direction (from encoder) error." , + 79 :"HD syringe pump direction (from controller) error." , + 80 :"HD syringe pump fault reported by FPGA.", + 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." , + 85 :"HD pump track latch opened alarm." , + 86 :"HD BP occlusion sensor not being read." , + 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." , + 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." , + 94 :"DG pressure out of range." , + 95 :"DG watchdog expired." , + 96 :"Inlet water temperature in high range." , + 97 :"Fill conductivity out of range.", + 98 :"HD battery communication fault.", + 99 :"HD syringe pump stall alarm." , + 100 :"HD no cartridge self-test timeout.", + 101 :"HD dry self-test timeout.", + 102 :"DG heat disinfect temperature gradient out of range." , + 103 :"HD invalid calibration CRC.", + 104 :"Air trap level sensors reporting illegal combination of air/fluid." , + 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." , + 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." , + 114 :"HD venous air bubble detector self-test failure." , + 115 :"DG temperature sensor out of range.", + 116 :"DG temperature sensor ADC fault." , + 117 :"DG CAN message not acked." , + 118 :"DG RTC config error." , + 119 :"DG RTC battery low error.", + 120 :"HD pre-treatment mode wet self-test prime check failure." , + 121 :"DG main primary heater voltage out of range." , + 122 :"DG small primary heater voltage out of range." , + 123 :"DG trimmer heater voltage out of range." , + 124 :"HD end of treatment alarm (high priority)." , + 125 :"Blood sitting too long after treatment stopped by user alarm (>5 min).", + 126 :"HD blood leak detected alarm." , + 127 :"Venous pressure too low during treatment." , + 128 :"HD venous air bubble detected alarm." , + 129 :"HD venous air bubble detected rinseback alarm." , + 130 :"Venous pressure too high during treatment." , + 131 :"Arterial pressure too low during treatment." , + 132 :"Arterial pressure too high during treatment." , + 133 :"DG fluid leak detected alarm.", + 134 :"HD fluid leak detected alarm." , + 135 :"HD experienced large acceleration." , + 136 :"DG experienced large acceleration." , + 137 :"HD tilt exceeds maximum." , + 138 :"DG tilt exceeds maximum." , + 139 :"HD AC power lost alarm." , + 140 :"Dialysate generator communication timeout." , + 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." , + 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." , + 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." , + 155 :"Not used." , + 156 :"Not used." , + 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." , + 160 :"Blood pump rotor speed too high." , + 161 :"DG comm too many bad CRCs." , + 162 :"DG FPGA clock speed check failure." , + 163 :"HD sees primary load cell for reservoir 1 change too much too fast." , + 164 :"HD sees primary load cell for reservoir 2 change too much too fast." , + 165 :"HD in treatment rinseback operation timeout." , + 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." , + 170 :"HD syringe empty alarm." , + 171 :"HD syringe pump occlusion alarm.", + 172 :"HD syringe pump not enough Heparin alarm." , + 173 :"HD RTC configuration error." , + 174 :"HD RTC or timer accuracy failure." , + 175 :"HD pump direction status error." , + 176 :"HD dialysate temperature out of high safety range." , + 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." , + 181 :"DG load cells weight out of range for tare." , + 182 :"DG load cells invalid calibration.", + 183 :"DG invalid load cell value." , + 184 :"Inlet or Outlet UV reactor not healthy." , + 185 :"DG fan RPM out of range." , + 186 :"DG concentrate pump fault." , + 187 :"DG concentrate pump CP1 speed control error." , + 188 :"DG concentrate pump CP2 speed control error." , + 189 :"DG drain pump RPM out of range." , + 190 :"DG drain pump off fault." , + 191 :"DG flow rate out of upper range." , + 192 :"DG flow rate out of lower range." , + 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.", + 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." , + 201 :"HD pre-treatment mode wet self-test lc vs FMD failure." , + 202 :"HD pre-treatment mode dry pressure normal self-test failure." , + 203 :"Pressure sensor fault." , + 204 :"RO rejection ratio out of range." , + 205 :"Conductivity sensor fault." , + 206 :"DG dialysate fill runs out of time." , + 207 :"DG flow meter check failure alarm.", + 208 :"HD venous pressure occlusion alarm." , + 209 :"DG drain circulation line timeout." , + 210 :"HD battery pack detected an error." , + 211 :"Blood sitting too long warning (>4 min).", + 212 :"HD end of treatment alarm (user not acting to end treatment).", + 213 :"HD prime completed medium priority alarm." , + 214 :"HD Saline bolus volume check failure." , + 215 :"HD rinseback volume check failure." , + 216 :"HD end treatment sub-mode timeout alarm." , + 217 :"HD blood prime volume check failure.", + 218 :"HD syringe detected alarm.", + 219 :"HD syringe pump syringe removed alarm.", + 220 :"HD battery pack SOC is too low." , + 221 :"HD Saline bag is empty." , + 222 :"HD dialysate temperature too high alarm." , + 223 :"HD dialysate temperature too low alarm." , + 224 :"Treatment stopped by user action." , + 225 :"HD end of treatment warning." , + 226 :"HD prime completed low priority alarm." , + 227 :"HD prime out of time alarm.", + 228 :"HD time out on prime sub-mode purge air state." , + 229 :"HD prime dialysate dialyzer time out alarm." , + 230 :"HD prime dialysate bypass time out alarm." , + 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).", + 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." , + 238 :"HD no cartridge loaded or installed improperly alarm." , + 239 :"HD fail to remove cartridge alarm." , + 240 :"Bicarb conductivity out of range during bicarb pump check alarm." , + 241 :"DG reservoir drain time out." , + 242 :"DG reservoir fill time out." , + 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." , + 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.", + 251 :"HD invalid system record." , + 252 :"HD invalid service record." , + 253 :"DG invalid system record." , + 254 :"DG invalid service record." , + 255 :"HD and UI software builds are not compatible." , + 256 :"HD and DG software builds are not compatible." , + 257 :"DG FPGA power out timeout." , + 258 :"HD FPGA power out timeout.", + 259 :"HD temperatures out of range.", + 260 :"UI POST Application Integrity (Sha256Sum) failure.", + 261 :"UI POST CANBus failure." , + 262 :"UI POST Display failure." , + 263 :"UI POST Touch failure." , + 264 :"UI POST SD-Card failure." , + 265 :"UI POST RTC failure." , + 266 :"UI POST WiFi failure.", + 267 :"UI POST Bluetooth failure." , + 268 :"UI POST Ethernet failure." , + 269 :"UI POST Sound failure." , + 270 :"HD POST Safety Shutdown failure." , + 271 :"DG POST Safety Shutdown failure." , + 272 :"HD Fan RPM out of range.", + 273 :"HD measured blood pump flow rate is out of range.", + 274 :"HD measured dialysate inlet pump flow rate is out of range.", + 275 :"HD arterial pressure sensor is reading out of range.", + 276 :"HD venous pressure sensor is reading out of range.", + 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." , + 281 :"Acid concentration bottle low volume alarm." , + 282 :"Bicarbonate concentration bottle low volume alarm." , + 283 :"DG load cells weight out of range." , + 284 :"DG load cells primary/back up drift out of range.", + 285 :"HD treatment recirculate timeout warning." , + 286 :"HD treatment rinseback complete timeout warning." , + 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." , + 291 :"Total number of alarms.", + 292 :"HD processor is in Disinfect Heat mode.", + 293 :"HD processor is in Disinfect Chemical mode.", + 294 :"HD processor Disinfect Chemical mode instructions to user.", + 295 :"Total number of alarms." +} - } - - ALARM_ID_AND_ALARM_MESSAGES = { 0: "Indication for when no alarms is a possible situation", 1: "Call service to schedule a repair.", @@ -1048,12 +995,6 @@ 295: "Total number of alarms." } -ALARM_PRIORITIES = {1: "LOW", 2: "MEDIUM", 3: "HIGH"} -ALARM_LIST_TITLE = "Alarm list" - -# dictionary of rejection reason from application source code. -# message location -> denali-> Headers-> common-> MsgDefs.h - #wifi WIFI_TITLE_TEXT = "Wi-Fi" IP_ADDRESS_TEXT = "IP Address" @@ -1063,7 +1004,6 @@ SSID_TEXT = "SSID" SCAN_TEXT = "SCAN" SCAN_FINISHED_TEXT = "Scan Finished" -BACK_BUTTON_TEXT = "BACK" IP_FAILED_MSG = "Failed to set static IP Address" GATEWAY_FAILED_MSG = "Failed to set gateway." SUBNET_FAILED_MSG = "Failed to set subnet mask." @@ -1072,17 +1012,7 @@ #Bluetooth cuff BLUETOOTH_CUFF_TITLE_TEXT = "Bluetooth Cuff" DEVICES_TEXT = "Devices" -BLUETOOTH_CUFF_NOTIFICATION_MESSAGE_TEXT = "The Bluetooth cuff pair clear error. [1001]" - -OPERATIONAL_PARAMETERS = {"Heparin Type": HEPARIN_TYPE, "Acid Concentrate": "Fres. Naturalyte", - "Bicarbonate Concentrate": BICARBONATE_CONCENTRATE, "Dialyzer Type": "BB Diacap Pro 16H"} - - -#Settings -BLOOD_PRIMING_TEXT = "Blood Priming" -SALINE_UNIT = "mL" - #DG Cleaning DG_CLEANING_TITLE_TEXT = "DG Cleaning" WATER_FLUSH_TEXT = "Water Flush" @@ -1092,4 +1022,3 @@ HEAT_DISINFECTION_TIME_TEXT = "Time (HH:MM)" HEAT_DISINFECTION_CYCLE_TEXT = "Cycle (Days)" -