Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -rb122be36d823c52ae3ef21b122c97ed9f9f165a9 -r84f7c51f1c11528ce27196b022a052b68cecf406 --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision b122be36d823c52ae3ef21b122c97ed9f9f165a9) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 84f7c51f1c11528ce27196b022a052b68cecf406) @@ -1,3 +1,7 @@ +#Solution Infusion +TOTAL_FLUID_DELIVERED = "Total Fluid Delivered" +DELIVERING_FLUID = "Delivering Fluid" + # Configuration application_init.py TMP_DIR = "/tmp/" APP_POST_LOG_LOCATION = "".join([str(TMP_DIR),'/post.log']) @@ -50,7 +54,10 @@ "ALARM_PRIORITY_MEDIUM" : "#db8f00", "ALARM_PRIORITY_HIGH" : "#c53b33" } + +BLUE_COLOR = "#18559e" ALARM_REJECT_NOTIFICATION_TEMPLATE = "No Active Alarm List [{}]" +ALARM_TREATMENT_BLOOD_STOP_COUNTDOWN_DESCRIPTION = "Return Blood will not be allowed in:" #HeaderBar WiFi WIFI_POPUP_TEXT = "WiFi Connection Error" @@ -63,10 +70,10 @@ DISABLED = False #Create Rx -ACID_CONCENTRATE = ["1.0 K, 2.50 Ca, 1 Mg","2.0 K, 2.50 Ca, 1 Mg","3.0 K, 2.50 Ca, 1 Mg"] +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 = ["Sodium Bicarbonate"] +BICARBONATE = ["650 g","720 g","760 g", "900 g", "1100 g","1250 g"] #Heparin heparin_off = { "Heparin Type" :"OFF", @@ -92,8 +99,17 @@ WATER_SAMPLE = 'Water Sample' START = 'Start' AUTO_EJECT = 'Auto Eject' +ISOLATED_UF_VOLUME_REMOVED = "Isolated UF Volume Removed" +ISOLATED_UF_VOLUME_GOAL ="Isolated UF Volume Goal" +ULTRAFILTRATION_PAUSED_STATE = "Ultrafiltration Paused" +ULTRAFILTRATION_COMPLETE_STATE = "Ultrafiltration Complete" +SYSTOLIC = "Systolic" +DIASTOLIC = "Diastolic" +HEARTRATE = "Heart Rate" + # Settings Service +CONFIGURATIONS_PATH = "Public/luis/config/configurations/" 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" @@ -108,10 +124,27 @@ FACTORY_RESET_SCREEN_TEXT = "Do you want to perform the factory reset?" SET_PASSWORD = "Set Password" +#ultrafiltration +MAX_UF_VOLUME = 10.00 +MAX_UF_RATE = 10.00 +MAX_VOLUME_DELIVERED = 8.00 + +MIN_SYSTOLIC = "60" +MIN_DIASTOLIC = "40" +MIN_HEARTRATE = "40" #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" +CONTINUE = "Continue" +MAX_SYSTOLIC = "250" +MAX_DIASTOLIC = "200" +MAX_HEARTRATE = "180" +SYSTOLIC_251 = "251" +DIASTOLIC_201 = "201" +HEARTRATE_181 = "181" +SYSTOLIC_59 = "59" +DIASTOLIC_39 = "39" +HEARTRATE_39 = "39" +RED_COLOR = "#c53b33" #Feature Options FEATURE_CONFIGURATIONS_SCREEN_TITLE_TEXT = "Feature Configurations" FEATURE_CONFIGURATIONS_PARAMETERS_TEXTS = ["Integrated BP Cuff", "Heparin Syringe Pump", "Chemical Disinfection"] @@ -124,8 +157,6 @@ 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" @@ -143,80 +174,25 @@ INSTITUTIONAL_CONFIGURATIONS = "Institutional Configurations" DATE_AND_TIME = "Date and Time" LANGUAGE = "Language" +# Blood Prime +TOTAL_FLUID_DELIVERED = "Total Fluid Delivered" +DELIVERING_FLUID = "Delivering Fluid" +BLOOD_PRIME_PAUSED_NOTIFICATION = "Blood Prime Paused" -#Menu Bar -PRESCRIPTIONS = "Prescriptions" -TREATMENT = "Treatment" -SETTINGS = "Settings" # 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" -INSTALL_BLOODLINES_CONTENTS = [ - "Insert saline line into the first slot.", - "Insert arterial line into the second slot.", - "Ensure the venous line is placed in the bubble detector.", - "Insert the venous line into the third slot.", - "Connect the arterial and venous bloodlines using the recirculation connector.", -] -INSTALLATION_STEPPER_3_PAGE_TITLE = "Install Pressure Lines and Dialyzer" -INSTALL_PRESSURE_LINES_CONTENTS = [ - "Connect the arterial pressure line to the arterial pressure transducer port.", - "Connect the venous pressure line to the venous pressure transducer port.", - "Insert dialyzer into the holder and connect the dialysate lines.", - "Connect the bloodlines to the dialyzer.", - "Clamp the venous chamber line.", - "Clamp the heparin line.", -] SELF_TESTS_PAGE_CONTENTS = [ - "Auto-Load Blood Tubing", - "Cartridge Install Checks", + "Auto-Load Blood Tube Set", + "Blood Tube Set Verification", "Pressure Leak Check", ] -SALINE_PAGE_TITLE = "Connect Saline Bag" -SALINE_PAGE_CONTENTS = [ - "Hang saline bag on the hook.", - "Clamp saline line.", - "Use the saline line to spike saline bag.", - "Unclamp saline line.", -] PRIME_PAGE_CONTENTS = ["Blood Tubing Circuit Priming", "Dialysate Circuit Priming"] -CONNECT_PAGE_TITLE = "Connect Bloodlines to the Patient" -CONNECT_PAGE_CONTENTS = [ - "Clamp arterial and venous bloodlines (2 clamps).", - "Remove recirculation connector from the bloodlines.", - "Connect bloodlines to patient access lines.", - "Unclamp arterial and venous bloodlines (2 clamps).", -] -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 and dialyzer.", -] -START_TREATMENT_REJECTION_NOTIFICATION = "[1] Request is not allowed in the current operating mode" #Recirculate RECIRCULATE_SET_UP = "Recirculate Set Up" RECIRCULATE_IN_PROGRESS = "Recirculate In Progress" RECIRCULATION_COUNTDOWN_DESCRIPTION_TEXT = "Recirculation Time Elapsed:" RECONNECT_TO_PATIENT = "Reconnect To Patient" -REJECTION_REASON = "[1] Request is not allowed in the current operating mode" END_TREATMENT = "End Treatment" #Post-Treatment Foundation @@ -225,4 +201,28 @@ CONFIGURATIONS_PATH = "Public/luis/config/configurations/" SKIP = "Skip" +#General Aesthetics +SD_CARD_SECTION_CONTENTS = ["SD-Card", "0.000 MB Used", "0.000 Free MB of 0.000 MB"] +OPMODE_TITLE = " Opmode " +OPMODE = 'opMode ' +SUBMODE = 'subMode ' +TX_STATES = ' TXStates ' +MID_UF_VOLUME = 5.00 +MID_UF_RATE = 5.00 +MID_VOLUME_DELIVERED = 4.00 +ULTRAFILTRATION_VOLUME = "Ultrafiltration Volume (L)" +UF_VOLUME_REMOVED = "UF Volume Removed" +UF_VOLUME_GOAL = "UF Volume Goal" +NEW_UF_VOLUME = "New UF Volume" +NEW_UF_RATE = "New UF Rate" + + +MAX_NEW_UF_VOLUME = 8.0 +MAX_NEW_UF_RATE = 2.0 + +#Rinseback +BLOOD_RETURN_SETUP = "Blood Return Setup" +RINSEBACK_PAUSED = "Rinseback Paused" +BLOOD_RETURN_COUNTDOWN_DESCRIPTION_TEXT = "Blood return will NOT be allowed in:" +BLOOD_RETURN_COMPLETE = "Blood Return Complete!"