medicafe 0.250725.13__py3-none-any.whl → 0.250725.15__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.

@@ -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 3 seconds to skip...")
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 3 seconds or until input is received
356
- input_thread.join(timeout=3.0)
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
@@ -281,32 +281,16 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
281
281
  if interaction_mode == 'triage':
282
282
  display_menu_header(" =(^.^)= Welcome to MediBot! =(^.^)=")
283
283
 
284
- # Clear any leftover input from script launch
285
- while msvcrt.kbhit():
286
- msvcrt.getch()
287
-
288
284
  while True:
289
285
  try:
290
- # Retry mechanism for Windows XP console timing issues
291
- for attempt in range(3): # Try up to 3 times
292
- if attempt > 0:
293
- print("Please try again:")
294
- # Clear any leftover input on retry
295
- while msvcrt.kbhit():
296
- msvcrt.getch()
297
-
298
- print("\nAm I processing Medicare patients? (yes/no): ", end='', flush=True)
299
- time.sleep(0.1) # Windows XP compatibility delay
300
-
301
- # Clear any leftover input
286
+ print("\nAm I processing Medicare patients? (yes/no): ", end='', flush=True)
287
+ response = input().strip().lower()
288
+ if not response:
289
+ # If empty, clear any stray input and retry once
302
290
  while msvcrt.kbhit():
303
291
  msvcrt.getch()
304
-
292
+ print("Please enter 'yes' or 'no': ", end='', flush=True)
305
293
  response = input().strip().lower()
306
-
307
- # If we got a response, break out of retry loop
308
- if response:
309
- break
310
294
 
311
295
  if response in ['yes', 'y']:
312
296
  app_control.load_paths_from_config(medicare=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: medicafe
3
- Version: 0.250725.13
3
+ Version: 0.250725.15
4
4
  Summary: MediCafe
5
5
  Home-page: https://github.com/katanada2
6
6
  Author: Daniel Vidaud
@@ -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=Ix4QlAcg3O9Y6n6ZeSUtbmtV-_n-t0-jnefXDBFlhhI,51441
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=TqitcMZ4ugmzZqwA1k6bYdjdRRjsxeoQD2liKsVy950,14109
8
+ MediBot/MediBot_UI.py,sha256=If5Nrk1RyK2EKtyesrT9ZoqYaRG8AmZwE8zjy0Qy2Is,13515
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.13.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
53
- medicafe-0.250725.13.dist-info/METADATA,sha256=6kESGpjaVd0D6-J9z2vb_9-wCd6YQFowVbwbl7wK8xo,5502
54
- medicafe-0.250725.13.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
55
- medicafe-0.250725.13.dist-info/top_level.txt,sha256=3uOwR4q_SP8Gufk2uCHoKngAgbtdOwQC6Qjl7ViBa_c,17
56
- medicafe-0.250725.13.dist-info/RECORD,,
52
+ medicafe-0.250725.15.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
53
+ medicafe-0.250725.15.dist-info/METADATA,sha256=qsUOm5FiolXu0meWBDv1SJMLrQz27npyyBFwDszMcxE,5502
54
+ medicafe-0.250725.15.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
55
+ medicafe-0.250725.15.dist-info/top_level.txt,sha256=3uOwR4q_SP8Gufk2uCHoKngAgbtdOwQC6Qjl7ViBa_c,17
56
+ medicafe-0.250725.15.dist-info/RECORD,,