Index: shared/scripts/configuration/config.py =================================================================== diff -u -rd6518e26df89b43f269338a95d45b708cc37ec3a -rc99951f0aa8f348dbc5e72d47ab30443b47c5415 --- shared/scripts/configuration/config.py (.../config.py) (revision d6518e26df89b43f269338a95d45b708cc37ec3a) +++ shared/scripts/configuration/config.py (.../config.py) (revision c99951f0aa8f348dbc5e72d47ab30443b47c5415) @@ -14,6 +14,7 @@ ############################################################################ import os +from configuration.strings import * AUT_NAME = "denaliSquish" @@ -32,114 +33,23 @@ SALINE_UNIT = "mL" BLOOD_PRIMING_DEFAULT_VALUE = "0 mL" -# #post-treatment -# -# PATIENT_DISCONNECTION_TEXT = "Patient Disconnection" -# PATIENT_DISCONNECTION_CONFIRM_BUTTON_TEXT = "CONFIRM" -# -# -# CURRENT_COLOR = '#000000' -# COMPLETE_COLOR = '#4290ec' -# ENABLED_COLOR = '#fcfcfc' -# INCOMPLETE_COLOR = '#607a91' -# INCOMPLETE_COLOR_POST_TREATMENT = '#fcfcfc' -# -# COLOR = '#607a91' -# ENABLED_COLOR_ONE = '#607a91' - #post-treatment -PATIENT_DISCONNECTION_TEXT = "Patient Disconnection" -REVIEW_TEXT = "Review" -EXPORT_TEXT = "Export" -PATIENT_DISCONNECTION_CONFIRM_BUTTON_TEXT = "CONFIRM" -DISPOSABLE_TEXT = "Disposables" -NEXT_TEXT = "NEXT" -BACK_TEXT = "BACK" -CONFIRM_TEXT = "CONFIRM" -DISPOSABLES_REMOVAL_TEXT = "Disposables Removal" + INCOMPLETE_COLOR_POST_TREATMENT = '#fcfcfc' CURRENT_COLOR = '#000000' COMPLETE_COLOR= '#4290ec' ENABLED_COLOR = '#fcfcfc' -INCOMPLETE_COLOR = '#607a91' +INCOMPLETE_COLOR = '#607a91' -POST_TREATMENT_SCREENS = ["Disconnection", "Review", "Disposables", "Disinfection"] - #post treatment review -HEPARIN_TYPE = "UFH 1,000 IU/mL" -ACID_CONCENTRATE = ["Fres. Naturalyte", "08-1251-1", "08-2251-0", "08-3251-9", "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"] TREATMENT_LOG_LOCATION = '/home/denali/Desktop/sd-card/treatment/*.log' -TREATMENT_REVIEW_TITLE_TEXT = "Treatment Review" VISIBLE = True -POST_TREATMENT_REVIEW_SCREEN_PARAMETERS = ["Patient ID", "Heparin Stop", - "Device ID", "Heparin Delivered Volume", - "Blood Flow Rate", "Treatment Start DateTime", - "Dialysate Flow Rate", "Treatment End DateTime", - "Treatment Duration", "Water Sample Test Result", - "Actual Treatment Duration", "Dialysate Volume Used", - "Acid ConcentrateType", "Prescribed UF Volume", - "Bicarbonate Concentrate Type", "Target UF Volume", - "Potassium Concentration", "Actual UF Volume", - "Calcium Concentration", "Prescribed UF Rate", - "Bicarbonate Concentration", "Target UF Rate", - "Sodium Concentration", "Actual UF Rate", - "Dialysate Temperature", "Saline Bolus Volume", - "Dialyzer Type", "Average Blood Flow", - "Heparin Type", "Average Dialysate Flow", - "Heparin Concentration", "Average Dialysate Temp", - "Heparin Bolus Volume", "Average Arterial Pressure", - "Heparin Dispense Rate", "Average Venous Pressure"] - -POST_TREATMENT_REVIEW_SCREEN_UNITS = { - "Patient ID" : "", - "Device ID" : "", - "Blood Flow Rate" : "mL/min", - "Dialysate Flow Rate" : "mL/min", - "Treatment Duration" : "min", - "Actual Treatment Duration":"min", - "Acid ConcentrateType" : "", - "Bicarbonate Concentrate Type" : "", - "Heparin Stop" : "min", - "Heparin Bolus Volume": "mL", - "Heparin Delivered Volume": "mL", - "Treatment Start DateTime" : "", - "Treatment End DateTime" : "", - "Water Sample Test Result": "", - "Dialysate Volume Used" : "L", - "Prescribed UF Volume" : "L", - "Target UF Volume" : "L", - "Potassium Concentration" : "mEg/L", - "Calcium Concentration" :"mEg/L", - "Bicarbonate Concentration" : "mEg/L", - "Sodium Concentration" : "mEg/L", - "Average Blood Flow" : "mL/min", - "Saline Bolus Volume" : "mL", - "Average Dialysate Flow" : "mL/min", - "Average Arterial Pressure" : "mmHg", - "Average Venous Pressure" : "mmHg", - "Dialysate Temperature" :"°C", - "Dialyzer Type" : "", - "Heparin Type" : "IU/mL", - "Heparin Concentration" : "IU/mL", - "Actual UF Volume" : "L", - "Prescribed UF Rate" : "mL/min", - "Target UF Rate": "mL/min", - "Actual UF Rate": "mL/min", - "Heparin Dispense Rate" : "mL/hr", - "Average Dialysate Flow" : "mL/min", - "Average Dialysate Temp" : "°C", - - } - - #dictionary consist of review parameters values of post treatment POST_TREATMENT_REVIEW_PARAMETER_RANGE = { "Patient ID": ["abcd", "xyz", "qwerty", "dghjf", "cdtys"], @@ -181,4 +91,4 @@ } - \ No newline at end of file +