medicafe 0.250725.14__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_Crosswalk_Library.py +3 -3
- MediBot/MediBot_UI.py +12 -5
- {medicafe-0.250725.14.dist-info → medicafe-0.250725.16.dist-info}/METADATA +1 -1
- {medicafe-0.250725.14.dist-info → medicafe-0.250725.16.dist-info}/RECORD +7 -7
- {medicafe-0.250725.14.dist-info → medicafe-0.250725.16.dist-info}/LICENSE +0 -0
- {medicafe-0.250725.14.dist-info → medicafe-0.250725.16.dist-info}/WHEEL +0 -0
- {medicafe-0.250725.14.dist-info → medicafe-0.250725.16.dist-info}/top_level.txt +0 -0
|
@@ -336,7 +336,7 @@ def prompt_user_for_api_calls(crosswalk, config):
|
|
|
336
336
|
print(" - {} payers found".format(total_payers))
|
|
337
337
|
print(" - All payers have names")
|
|
338
338
|
print(" - All payers have medisoft IDs")
|
|
339
|
-
print("\nPress ENTER to run API validation, or wait
|
|
339
|
+
print("\nPress ENTER to run API validation, or wait 2 seconds to skip...")
|
|
340
340
|
|
|
341
341
|
# Use threading for timeout on Windows
|
|
342
342
|
user_input = [None] # Use list to store result from thread
|
|
@@ -352,8 +352,8 @@ def prompt_user_for_api_calls(crosswalk, config):
|
|
|
352
352
|
input_thread.daemon = True
|
|
353
353
|
input_thread.start()
|
|
354
354
|
|
|
355
|
-
# Wait for
|
|
356
|
-
input_thread.join(timeout=
|
|
355
|
+
# Wait for 2 seconds or until input is received
|
|
356
|
+
input_thread.join(timeout=2.0)
|
|
357
357
|
|
|
358
358
|
if user_input[0] is not None:
|
|
359
359
|
print("Running API validation calls...")
|
MediBot/MediBot_UI.py
CHANGED
|
@@ -280,15 +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
|
|
283
|
+
|
|
284
|
+
# Clear any stray CR/LF that may be sitting in the console buffer
|
|
285
285
|
while msvcrt.kbhit():
|
|
286
|
-
|
|
286
|
+
try:
|
|
287
|
+
msvcrt.getch()
|
|
288
|
+
except OSError:
|
|
289
|
+
# On some terminals this might throw if buffer is empty mid-loop
|
|
290
|
+
break
|
|
287
291
|
|
|
288
292
|
while True:
|
|
289
293
|
try:
|
|
290
|
-
|
|
294
|
+
print("DEBUG: About to call input()...")
|
|
291
295
|
response = input("\nAm I processing Medicare patients? (yes/no): ").strip().lower()
|
|
296
|
+
print("DEBUG: Got response: '{}' (length: {})".format(response, len(response)))
|
|
292
297
|
|
|
293
298
|
if response in ['yes', 'y']:
|
|
294
299
|
app_control.load_paths_from_config(medicare=True)
|
|
@@ -296,11 +301,13 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
296
301
|
elif response in ['no', 'n']:
|
|
297
302
|
app_control.load_paths_from_config(medicare=False)
|
|
298
303
|
break
|
|
304
|
+
elif response == '':
|
|
305
|
+
print("No input detected. Please enter 'yes' or 'no'.")
|
|
299
306
|
else:
|
|
300
307
|
print("Invalid entry. Please enter 'yes' or 'no'.")
|
|
301
308
|
except KeyboardInterrupt:
|
|
302
309
|
print("\nOperation cancelled by user. Exiting script.")
|
|
303
|
-
exit()
|
|
310
|
+
sys.exit(0)
|
|
304
311
|
|
|
305
312
|
fixed_values = config.get('fixed_values', {}) # Get fixed values from config json
|
|
306
313
|
if response in ['yes', 'y']:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
MediBot/MediBot.bat,sha256=anz5i-Td1k3HhRUvkCqHsw9lBLVmO6q9bt5kLTfr1Iw,13282
|
|
2
2
|
MediBot/MediBot.py,sha256=596LWAKHFUswkhQa8s6CVBXsbuZUXyh6qUcU3KtneIY,24907
|
|
3
3
|
MediBot/MediBot_Charges.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
MediBot/MediBot_Crosswalk_Library.py,sha256=
|
|
4
|
+
MediBot/MediBot_Crosswalk_Library.py,sha256=Z03tTj2_ebX85D0UWUWnFnqqDSznXPmX-tT3_QGVdHw,51441
|
|
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
|