medicafe 0.250725.15__py3-none-any.whl → 0.250725.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of medicafe might be problematic. Click here for more details.
- MediBot/MediBot_UI.py +14 -9
- {medicafe-0.250725.15.dist-info → medicafe-0.250725.16.dist-info}/METADATA +1 -1
- {medicafe-0.250725.15.dist-info → medicafe-0.250725.16.dist-info}/RECORD +6 -6
- {medicafe-0.250725.15.dist-info → medicafe-0.250725.16.dist-info}/LICENSE +0 -0
- {medicafe-0.250725.15.dist-info → medicafe-0.250725.16.dist-info}/WHEEL +0 -0
- {medicafe-0.250725.15.dist-info → medicafe-0.250725.16.dist-info}/top_level.txt +0 -0
MediBot/MediBot_UI.py
CHANGED
|
@@ -280,17 +280,20 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
280
280
|
|
|
281
281
|
if interaction_mode == 'triage':
|
|
282
282
|
display_menu_header(" =(^.^)= Welcome to MediBot! =(^.^)=")
|
|
283
|
+
|
|
284
|
+
# Clear any stray CR/LF that may be sitting in the console buffer
|
|
285
|
+
while msvcrt.kbhit():
|
|
286
|
+
try:
|
|
287
|
+
msvcrt.getch()
|
|
288
|
+
except OSError:
|
|
289
|
+
# On some terminals this might throw if buffer is empty mid-loop
|
|
290
|
+
break
|
|
283
291
|
|
|
284
292
|
while True:
|
|
285
293
|
try:
|
|
286
|
-
print("
|
|
287
|
-
response = input().strip().lower()
|
|
288
|
-
|
|
289
|
-
# If empty, clear any stray input and retry once
|
|
290
|
-
while msvcrt.kbhit():
|
|
291
|
-
msvcrt.getch()
|
|
292
|
-
print("Please enter 'yes' or 'no': ", end='', flush=True)
|
|
293
|
-
response = input().strip().lower()
|
|
294
|
+
print("DEBUG: About to call input()...")
|
|
295
|
+
response = input("\nAm I processing Medicare patients? (yes/no): ").strip().lower()
|
|
296
|
+
print("DEBUG: Got response: '{}' (length: {})".format(response, len(response)))
|
|
294
297
|
|
|
295
298
|
if response in ['yes', 'y']:
|
|
296
299
|
app_control.load_paths_from_config(medicare=True)
|
|
@@ -298,11 +301,13 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
298
301
|
elif response in ['no', 'n']:
|
|
299
302
|
app_control.load_paths_from_config(medicare=False)
|
|
300
303
|
break
|
|
304
|
+
elif response == '':
|
|
305
|
+
print("No input detected. Please enter 'yes' or 'no'.")
|
|
301
306
|
else:
|
|
302
307
|
print("Invalid entry. Please enter 'yes' or 'no'.")
|
|
303
308
|
except KeyboardInterrupt:
|
|
304
309
|
print("\nOperation cancelled by user. Exiting script.")
|
|
305
|
-
exit()
|
|
310
|
+
sys.exit(0)
|
|
306
311
|
|
|
307
312
|
fixed_values = config.get('fixed_values', {}) # Get fixed values from config json
|
|
308
313
|
if response in ['yes', 'y']:
|
|
@@ -5,7 +5,7 @@ MediBot/MediBot_Crosswalk_Library.py,sha256=Z03tTj2_ebX85D0UWUWnFnqqDSznXPmX-tT3
|
|
|
5
5
|
MediBot/MediBot_Post.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
MediBot/MediBot_Preprocessor.py,sha256=Lc9uQnE5SAa0dQTOREdPV1QUB2cywXTHJ1h2w-fyeeQ,13331
|
|
7
7
|
MediBot/MediBot_Preprocessor_lib.py,sha256=LXzV85uq7YoAWbZi88HzAs_GObl7vP8mhFbWZQbd0M8,45687
|
|
8
|
-
MediBot/MediBot_UI.py,sha256=
|
|
8
|
+
MediBot/MediBot_UI.py,sha256=D6rhBCPdszqxyct8OZ4_m2RFBhUskTEFbPvBI3-PcSI,13710
|
|
9
9
|
MediBot/MediBot_dataformat_library.py,sha256=XNyeiOC6uJUp15UXP_rhtB3rMTPus9ZXDnz5zHNoRYM,8586
|
|
10
10
|
MediBot/MediBot_docx_decoder.py,sha256=GbhX58pMAsWNhBF7B8AtWiNpUOB4bU0zAM81moXYkkE,27370
|
|
11
11
|
MediBot/MediPost.py,sha256=C1hZJFr65rN6F_dckjdBxFC0vL2CoqY9W3YFqU5HXtE,336
|
|
@@ -49,8 +49,8 @@ MediLink/test.py,sha256=kSvvJRL_3fWuNS3_x4hToOnUljGLoeEw6SUTHQWQRJk,3108
|
|
|
49
49
|
MediLink/test_cob_library.py,sha256=wUMv0-Y6fNsKcAs8Z9LwfmEBRO7oBzBAfWmmzwoNd1g,13841
|
|
50
50
|
MediLink/test_validation.py,sha256=FJrfdUFK--xRScIzrHCg1JeGdm0uJEoRnq6CgkP2lwM,4154
|
|
51
51
|
MediLink/webapp.html,sha256=JPKT559aFVBi1r42Hz7C77Jj0teZZRumPhBev8eSOLk,19806
|
|
52
|
-
medicafe-0.250725.
|
|
53
|
-
medicafe-0.250725.
|
|
54
|
-
medicafe-0.250725.
|
|
55
|
-
medicafe-0.250725.
|
|
56
|
-
medicafe-0.250725.
|
|
52
|
+
medicafe-0.250725.16.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
|
|
53
|
+
medicafe-0.250725.16.dist-info/METADATA,sha256=qySEbXCpsIWUKMYX3bgsV2my-f3VY3W4xBy2oMznEpU,5502
|
|
54
|
+
medicafe-0.250725.16.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
55
|
+
medicafe-0.250725.16.dist-info/top_level.txt,sha256=3uOwR4q_SP8Gufk2uCHoKngAgbtdOwQC6Qjl7ViBa_c,17
|
|
56
|
+
medicafe-0.250725.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|