# Configuration application_init.py TMP_DIR = "/tmp/" APP_POST_LOG_LOCATION = "".join([str(TMP_DIR),'/post.log']) #Service Export Logs ENABLED = True DEVICE_SETTINGS_SCREEN_TITLE_TEXT = "Device Settings" EXPORT_LOG_TEXT = "Export Logs" EXPORT_LOGS_OPTIONS = ["Application", "Service", "Treatment"] EXPORT_LOG_STATUS = "Application log export to USB is complete" EXPORT_LOG_PROGRESS_STATUS = "Service log export to USB in progress ... " SERVICE_SCREEN_TITLE_TEXT = "Service" # Headerbar_information_popup INFORMATION_PARAMETERS = [ "OS Version", "UI Version", "TD Version", "TD FPGA Version", "TD Serial Number", "DD Version", "DD FPGA Version", "DD Serial Number", ] #Device Settings Information Version INFORMATION_SCREEN_TITLE_TEXT = "Device Information" INFORMATION_TITLES = ["Versions", "Service"] VERSION_PARAMETERS = [ "OS Version", "UI Version", "TD Version", "TD FPGA Version", "TD Serial Number", "DD Version", "DD FPGA Version", "DD Serial Number" ] SERVICES_PARAMETERS = [ "TD Last Service Date", "TD Next Service Date", "DD Last Service Date", "DD Next Service Date" ] SERIVCES_TITLE = "Service" WATER_PARAMETERS = ["Water Configuration", "Water Input"] # General Alarm Requirements Instruction NUM_OF_ALARM_PRIORITIES = 4 # Total number of alarm priorities ALARM_MUTE_FLAG = 0B0000001000000000 ALARM_UNMUTE_FLAG = 0B0000000000000000 ALARM_PRIORITY_OPTIONS = { 0 : 'ALARM_PRIORITY_NONE' , 1 : 'ALARM_PRIORITY_LOW' , 2 : 'ALARM_PRIORITY_MEDIUM', 3 : 'ALARM_PRIORITY_HIGH', } MUTE = "Mute" UMMUTE = "UnMute" IMAGE_BELLOFF_STATE = "/images/iBellOff" IMAGE_BELLON_STATE = "/images/iBellOn" ALARMS_COLORS_HEADER = { "ALARM_PRIORITY_NONE" : "#438feb", "ALARM_PRIORITY_LOW" : "#db8f00", "ALARM_PRIORITY_MEDIUM" : "#db8f00", "ALARM_PRIORITY_HIGH" : "#c53b33" } ALARM_REJECT_NOTIFICATION_TEMPLATE = "No Active Alarm List [{}]" ALARM_TREATMENT_BLOOD_STOP_COUNTDOWN_DESCRIPTION = "Rinseback will not be allowed in:" #HeaderBar WiFi WIFI_POPUP_TEXT = "WiFi Connection Error" WIFI_IMAGE = "/images/iWifi" # Device Settings WiFi WIFI_TEXT = "Wi-Fi" WIFI_PARAMETERS_TEXTS = ["SSID", "IP Address", "Gateway", "Subnet Mask", "DNS"] WIFI_SCREEN_SCAN_BUTTON_TEXT = "SCAN" DISABLED = False #Create Rx ACID_CONCENTRATE = ["1.0 K, 2.50 Ca","2.0 K, 2.50 Ca","3.0 K, 2.50 Ca"] DIALYZER_TYPE = ["Diacap Pro 13H","Diacap Pro 16H", "Diacap Pro 19H", "Optiflux F160NRe", "Optiflux F180NRe", "Optiflux F200NRe","Optiflux F250NRe"] VITALS = ["OFF","5","10","15","20","30","60"] BICARBONATE = ["650 g","720 g","760 g", "900 g", "1100 g","1250 g"] #Heparin heparin_off = { "Heparin Type" :"OFF", "Dispensing Rate" :"OFF", "Bolus Volume" :"OFF", "Stop Time" :"OFF"} heparin_values = { "Heparin Type" :"Unfractionated 1,000", "Dispensing Rate" :"0.5", "Bolus Volume" :"0.4", "Stop Time" :"60"} PAUSE = 'Pause' ACTIVE = 'Active' RESUME = 'Resume' COMPLETE = 'Complete' HEPARIN = 'Heparin' CREATERX = 'Rx' VALIDATE = 'VALIDATE' CONFIRM = 'CONFIRM' NEXT = 'Next' AUTO_LOAD = 'Auto Load' WATER_SAMPLE = 'Water Sample' START = 'Start' AUTO_EJECT = 'Auto Eject' # Settings Service DEFAULT_SERVICE_PASSWORD_RAW = "Atal.Matal.22leh" # TODO need to update if we ever change the default NEW_PASSWORD_RAW = "Test4.Ksah.sk43sa" MANUFACTURING_SCREEN_TITLE_TEXT = "Manufacturing Setup" SERVICE_SCREEN_TITLE_TEXT = "Service" ADVANCED_MODES_SCREEN_TITLE_TEXT = "Advanced Mode" DATE_AND_TIME_SCREEN_TITLE_TEXT = "Date and Time" TIME = "Time" DATE_AND_TIME_PARAMETERS_TEXTS = ["NTP", "(Network Time Protocol)", "Time", "(HH:mm:ss)", "Date", "(MM/dd/yyyy)"] ENABLE_ROOT_SSH_SCREEN_TITLE_TEXT = "Enable Root SSH" ENABLE_ROOT_SSH_PARAMETERS_TEXTS = ["Enable SSH Login", "Enable Root Login"] FACTORY_RESET_SCREEN_TITLE_TEXT = "Factory Reset" FACTORY_RESET_SCREEN_TEXT = "Do you want to perform the factory reset?" SET_PASSWORD = "Set Password" #Blood Set Auto Load BLOOD_SET_AUTO_LOAD_REJECTION = "[1] Request is not allowed in the current operating mode" BLOOD_SET_AUTO_EJECT_REJECTION = "[1] Request is not allowed in the current operating mode" #Feature Options FEATURE_CONFIGURATIONS_SCREEN_TITLE_TEXT = "Feature Configurations" FEATURE_CONFIGURATIONS_PARAMETERS_TEXTS = ["Integrated BP Cuff", "Heparin Syringe Pump", "Chemical Disinfection"] MEASURE_VITALS = "Measure Vitals" # Service Institutional INSTITUTIONAL_CONFIGURATIONS_SCREEN_TITLE_TEXT = "Institutional Configurations" ADVANCED_INSTITUTIONAL_SETTINGS_SCREEN_TITLE_TEXT = "Advanced Institutional Settings" ADVANCED_INSTITUTIONAL_SETTINGS_NOTIFICATION_TEXT = "Advanced Institutional records and preferences updated" INSTITUTIONAL_SETTINGS_NOTIFICATION_TEXT = "Institutional records and preferences updated" ERROR_ADVANCED_INSTITUTIONAL_SETTINGS_NOTIFICATION_TEXT = "Error Adjusting Advanced Institutional Records" ERROR_INSTITUTIONAL_SETTINGS_NOTIFICATION_TEXT = "Error Adjusting Institutional Records" CREATERX = "Rx" NEXT = "Next" #Device Settings Options DEVICE_SETTINGS = "Device Settings" ADVANCED_MODE = "Advanced Mode" DEVICE_INFORMATION = "Device Information" WI_FI = "Wi-Fi" DEVICE_CLEANING = "Device Cleaning" SERVICE = "Service" EXPORT_LOGS = "Export Logs" VOLUME_AND_BRIGHTNESS = "Volume And Brightness" FEATURE_CONFIGURATIONS = "Feature Configurations" ADVANCED_INSTITUTIONAL_SETTINGS = "Advanced Institutional Settings" FACTORY_RESET = "Factory Reset" ENABLE_ROOT_SSH = "Enable Root SSH" INSTITUTIONAL_CONFIGURATIONS = "Institutional Configurations" DATE_AND_TIME = "Date and Time" LANGUAGE = "Language" #Menu Bar PRESCRIPTIONS = "Prescriptions" TREATMENT = "Treatment" SETTINGS = "Settings" #Blood Set Auto Load BLOOD_SET_AUTO_LOAD_REJECTION = "[1] Request is not allowed in the current operating mode" BLOOD_SET_AUTO_EJECT_REJECTION = "[1] Request is not allowed in the current operating mode" # Pre-Treatment Foundation CONCENTRATES_PAGE_TITLE = "Connect Acid and Bicarbonate Concentrates" CONCENTRATES_PAGE_CONTENTS = [ "Remove acid connector and connect to acid concentrate.", "Connect dry bicarbonate.", ] INSTALLATION_STEPPER_1_PAGE_TITLE = "Install Blood Tubing Set" INSTALL_BLOOD_TUBING_SET_CONTENTS = [ "Open the blood pump door.", "Insert blood tubing set and ensure it is secure.", "Push the blood tube into the blood pump.", "Close the blood pump door.", ] INSTALLATION_STEPPER_2_PAGE_TITLE = "Install Bloodlines" INSTALLATION_STEPPER_3_PAGE_TITLE = "Install Pressure Lines and Dialyzer" INSTALLATION_STEPPER_4_PAGE_TITLE = "Connect Saline Bag" SELF_TESTS_PAGE_CONTENTS = [ "Auto-Load Blood Tube Set", "Blood Tube Set Verification", "Pressure Leak Check", ] PRIME_PAGE_CONTENTS = ["Blood Tubing Circuit Priming", "Dialysate Circuit Priming"] CONNECT_PAGE_TITLE = "Connect Bloodlines to the Patient" DISCONNECT_PAGE_TITLE = "Remove Concentrates and Blood Tubing Set" DISCONNECT_PAGE_CONTENTS = [ "Remove blood tubing set and dialyzer.", "Remove acid and bicarbonate concentrates.", ] INSTALLATION_PAGE_TITLE = "Install Concentrates and Blood Tubing Set" INSTALLATION_PAGE_CONTENTS = [ "Install acid and bicarbonate concentrates.", "Install blood tubing set, dialyzer, and saline bag.", ] START_TREATMENT_REJECTION_NOTIFICATION = "[1] Request is not allowed in the current operating mode"