Index: shared/scripts/configuration/strings.py =================================================================== diff -u -r4600f283754a585a60993c0f3acbf631f8568364 -r4dac665c981c03c0fd16b20090c82e6031d6cba2 --- shared/scripts/configuration/strings.py (.../strings.py) (revision 4600f283754a585a60993c0f3acbf631f8568364) +++ shared/scripts/configuration/strings.py (.../strings.py) (revision 4dac665c981c03c0fd16b20090c82e6031d6cba2) @@ -1,5 +1,5 @@ - # -*- coding: utf-8 -*- + ########################################################################### # # Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. @@ -10,19 +10,16 @@ # @file strings.py # # @author (last) Joseph varghese +# @author (last) LTTS # @date (last) 18-Jan-2022 # ############################################################################ + PRE_TREATMENT_SCREENS = ["Create" , "Sample" , "Consumables" , "Disposables" , "Prime" , "Ultrafiltration" , "BP/HR" , "Connection" , "Start"] POST_TREATMENT_SCREENS = ["Disconnection", "Review", "Disposables", "Disinfection"] -# @file utils.py -# -# @author (last) Joseph varghese -# @date (last) 10-june-2022 -# -############################################################################ + BLOOD_PRIMING_TEXT = "Blood Priming" SALINE_UNIT = "mL" BLOOD_PRIMING_DEFAULT_VALUE = "0 mL" @@ -37,6 +34,20 @@ LOW_TEXT = "LOW" HIGH_TEXT = "HIGH" + +#main-treatment heparin +HEPARIN_UNIT = "mL" +HEPARIN_DELIVERY_TEXT = "HEPARIN DELIVERY" +HEPARIN_DELIVERY_OFF_TEXT = "OFF" +HEPARIN_STOP_TEXT = "Delivery Stopped" +HEPARIN_RESUME_DELIVERY_TEXT = "RESUME DELIVERY" +HEPARIN_BOLUS_ACTIVE_TEXT = "Bolus Active" +HEPARIN_BOLUS_DISPENSING_TEXT = "Dispensing Active" +HEPARIN_PAUSE_DELIVERY_TEXT = "PAUSE DELIVERY" +HEPARIN_MAXIMUM_VOLUME_DELIVERED_TEXT = "Maximum Cumulative Heparin Volume Delivered" +HEPARIN_SYRINGE_EMPTY_TEXT = "Syringe Empty" + + # dictionary of rejection reason from application source code. # message location -> denali-> Headers-> common-> MsgDefs.h REJECTION_REASON = { @@ -86,6 +97,7 @@ 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.", @@ -617,3 +629,4 @@ 3 : "Connect arterial and venous cartridge lines to your patient access lines." } +