Index: shared/scripts/configuration/strings.py =================================================================== diff -u -r68509cbd5d7c7a4eb516faa4a17f90439342a9ed -r9c7d70310b95c674deb5b9207e953ce8526b31ce --- shared/scripts/configuration/strings.py (.../strings.py) (revision 68509cbd5d7c7a4eb516faa4a17f90439342a9ed) +++ shared/scripts/configuration/strings.py (.../strings.py) (revision 9c7d70310b95c674deb5b9207e953ce8526b31ce) @@ -1,17 +1,16 @@ # -*- coding: utf-8 -*- + ########################################################################### # # Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. -# + # @file strings.py # -# @author (last) Joseph varghese -# @author (last) LTTS -# @date (last) 18-Jan-2022 -# +# @author (last) LTTS +# @date (last) 18-Jan-2022 ############################################################################ @@ -30,7 +29,6 @@ SALINE_UNIT = "mL" BLOOD_PRIMING_DEFAULT_VALUE = "0 mL" - #main treatment pressure PRESSURE_TITLE = "PRESSURES" ARTERIAL_TITLE = "Arterial" @@ -40,7 +38,6 @@ LOW_TEXT = "LOW" HIGH_TEXT = "HIGH" - #main-treatment heparin HEPARIN_UNIT = "mL" HEPARIN_DELIVERY_TEXT = "HEPARIN DELIVERY" @@ -105,7 +102,6 @@ 43: "REQUEST_REJECT_REASON_SYRINGE_NOT_PRESENT", # Syringe is not present } - ALARM_ID_AND_MESSAGES = { 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.", @@ -403,6 +399,7 @@ 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' , @@ -453,6 +450,29 @@ DIALYSATE_FLOW_RATE = "Dialysate Flow Rate" DURATION = "Duration" SALINE_BOLUS_VOLUME = "Saline Bolus Volume" + +#main treatment screen +VITALS_TITLE = "VITALS" +HEART_RATE_TITLE = "Heart Rate" +BLOOD_PRESSURE_TITLE = "Blood Pressure" +BLOOD_PRESSURE_UNIT = "mmHg" +HEART_RATE_UNIT = "BPM" + +#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" +PATIENT_ID = "demopatientid" +BLOOD_FLOW_RATE = "Blood Flow Rate" +DIALYSATE_FLOW_RATE = "Dialysate Flow Rate" +DURATION = "Duration" +HEPARIN_DISPENSING_RATE = "Heparin Dispensing Rate" +HEPARIN_BOLUS_VOLUME = "Heparin Bolus Volume" +HEPARIN_STOP_TIME = "Heparin Stop Time" +SALINE_BOLUS_VOLUME = "Saline Bolus Volume" +HEPARIN_TYPE_TITLE = "Heparin Type" SALINE_BOLUS_TITLE = "Saline Bolus" ACID_CONCENTRATE_TITLE = "Acid Concentrate" BICARBONATE_CONCENTRATE_TITLE = "Bicarbonate Concentrate" @@ -465,6 +485,11 @@ 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"] + +OFF_TEXT = "OFF" +BACK_TEXT = "BACK" +CONTINUE_TEXT = "CONTINUE" + PRESCRIPTION_DETAILS = { "Blood Flow Rate": "mL/min", "Dialysate Flow Rate": "mL/min", "Duration": "min", "Heparin Dispensing Rate": "mL/hr", @@ -544,6 +569,22 @@ #main treatment screen VITALS_TITLE = "VITALS" IN_RANGE_COLOR = "#fcfcfc" + +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" +} + + +# pretreatment_patient_connection +DIASTOLIC_TEXT = "diastolic" +SYSTOLIC_TEXT = "systolic" HEART_RATE_TITLE = "Heart Rate" BLOOD_PRESSURE_TITLE = "Blood Pressure" BLOOD_PRESSURE_UNIT = "mmHg" @@ -656,4 +697,15 @@ #pretreatment_screen_bullets PRE_TREATMENT_SCREENS = ["Create" , "Sample" , "Consumables" , "Disposables" , "Prime" , "Ultrafiltration" , "BP/HR" , "Connection" , "Start"] +#ui_logs +ACK_REQ_STATUS = 'Ack Req' +ACK_BAK_STATUS = 'Ack Bak' +BLOOD_PRIMING_TEXT = "Blood Priming" +SALINE_UNIT = "mL" +BLOOD_PRIMING_DEFAULT_VALUE = "0 mL" +#standby mode +BLOOD_PRIMING_TEXT = "Blood Priming" +SALINE_UNIT = "mL" + +