medicafe 0.250725.0__tar.gz → 0.250725.2__tar.gz

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.

Files changed (59) hide show
  1. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot.py +21 -7
  2. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_UI.py +42 -13
  3. {medicafe-0.250725.0 → medicafe-0.250725.2}/PKG-INFO +1 -1
  4. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/PKG-INFO +1 -1
  5. {medicafe-0.250725.0 → medicafe-0.250725.2}/setup.py +1 -1
  6. {medicafe-0.250725.0 → medicafe-0.250725.2}/LICENSE +0 -0
  7. {medicafe-0.250725.0 → medicafe-0.250725.2}/MANIFEST.in +0 -0
  8. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot.bat +0 -0
  9. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_Charges.py +0 -0
  10. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_Crosswalk_Library.py +0 -0
  11. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_Post.py +0 -0
  12. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_Preprocessor.py +0 -0
  13. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_Preprocessor_lib.py +0 -0
  14. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_dataformat_library.py +0 -0
  15. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/MediBot_docx_decoder.py +0 -0
  16. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/PDF_to_CSV_Cleaner.py +0 -0
  17. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/__init__.py +0 -0
  18. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/update_json.py +0 -0
  19. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediBot/update_medicafe.py +0 -0
  20. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink.py +0 -0
  21. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_837p_cob_library.py +0 -0
  22. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_837p_encoder.py +0 -0
  23. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_837p_encoder_library.py +0 -0
  24. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_837p_utilities.py +0 -0
  25. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_API_Generator.py +0 -0
  26. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_API_v2.py +0 -0
  27. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_API_v3.py +0 -0
  28. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_APIs.py +0 -0
  29. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Azure.py +0 -0
  30. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_ClaimStatus.py +0 -0
  31. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_ConfigLoader.py +0 -0
  32. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_DataMgmt.py +0 -0
  33. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Decoder.py +0 -0
  34. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Deductible.py +0 -0
  35. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Deductible_Validator.py +0 -0
  36. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Down.py +0 -0
  37. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Gmail.py +0 -0
  38. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_GraphQL.py +0 -0
  39. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Mailer.py +0 -0
  40. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Parser.py +0 -0
  41. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Scan.py +0 -0
  42. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Scheduler.py +0 -0
  43. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_UI.py +0 -0
  44. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_Up.py +0 -0
  45. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/MediLink_batch.bat +0 -0
  46. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/Soumit_api.py +0 -0
  47. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/__init__.py +0 -0
  48. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/openssl.cnf +0 -0
  49. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/test.py +0 -0
  50. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/test_cob_library.py +0 -0
  51. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/test_validation.py +0 -0
  52. {medicafe-0.250725.0 → medicafe-0.250725.2}/MediLink/webapp.html +0 -0
  53. {medicafe-0.250725.0 → medicafe-0.250725.2}/README.md +0 -0
  54. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/SOURCES.txt +0 -0
  55. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/dependency_links.txt +0 -0
  56. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/not-zip-safe +0 -0
  57. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/requires.txt +0 -0
  58. {medicafe-0.250725.0 → medicafe-0.250725.2}/medicafe.egg-info/top_level.txt +0 -0
  59. {medicafe-0.250725.0 → medicafe-0.250725.2}/setup.cfg +0 -0
@@ -1,5 +1,5 @@
1
1
  #MediBot.py
2
- import subprocess, os, tempfile, traceback, re, sys, time
2
+ import subprocess, os, tempfile, traceback, re, sys, time, msvcrt
3
3
  from collections import OrderedDict
4
4
  import MediBot_dataformat_library
5
5
  import MediBot_Preprocessor
@@ -396,14 +396,28 @@ if __name__ == "__main__":
396
396
  # Check if there are patients left to process
397
397
  if len(patients_to_process) == 0:
398
398
  print("\nAll patients have been processed. Continue anyway?: ", end='', flush=True)
399
- # Small delay for Windows XP console buffer synchronization
400
- time.sleep(0.1)
401
- proceed = input().lower().strip() in ['yes', 'y']
399
+ # Force flush and wait for Windows XP console buffer synchronization
400
+ sys.stdout.flush()
401
+ time.sleep(0.2) # Increased delay for Windows XP
402
+
403
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
404
+ while msvcrt.kbhit():
405
+ msvcrt.getch()
406
+
407
+ # Use sys.stdin.readline() for more reliable input on Windows XP
408
+ proceed = sys.stdin.readline().lower().strip() in ['yes', 'y']
402
409
  else:
403
410
  print("\nDo you want to proceed with the {} remaining patient(s)? (yes/no): ".format(len(patients_to_process)), end='', flush=True)
404
- # Small delay for Windows XP console buffer synchronization
405
- time.sleep(0.1)
406
- proceed = input().lower().strip() in ['yes', 'y']
411
+ # Force flush and wait for Windows XP console buffer synchronization
412
+ sys.stdout.flush()
413
+ time.sleep(0.2) # Increased delay for Windows XP
414
+
415
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
416
+ while msvcrt.kbhit():
417
+ msvcrt.getch()
418
+
419
+ # Use sys.stdin.readline() for more reliable input on Windows XP
420
+ proceed = sys.stdin.readline().lower().strip() in ['yes', 'y']
407
421
 
408
422
  # TODO: Here is where we need to add the step where we move to MediBot_Charges.
409
423
  # The return is an enriched dataset to be picked up by MediBot which means we need to return:
@@ -1,5 +1,5 @@
1
1
  #MediBot_UI.py
2
- import ctypes, time, re, os, sys
2
+ import ctypes, time, re, os, sys, msvcrt
3
3
  from ctypes import wintypes
4
4
  from sys import exit
5
5
  project_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
@@ -148,9 +148,16 @@ def display_patient_selection_menu(csv_data, reverse_mapping, proceed_as_medicar
148
148
 
149
149
  print("-" * 60)
150
150
  print("\nDo you want to proceed with the selected patients? (yes/no): ", end='', flush=True)
151
- # Small delay for Windows XP console buffer synchronization
152
- time.sleep(0.1)
153
- proceed = input().lower().strip() in ['yes', 'y']
151
+ # Force flush and wait for Windows XP console buffer synchronization
152
+ sys.stdout.flush()
153
+ time.sleep(0.2) # Increased delay for Windows XP
154
+
155
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
156
+ while msvcrt.kbhit():
157
+ msvcrt.getch()
158
+
159
+ # Use sys.stdin.readline() for more reliable input on Windows XP
160
+ proceed = sys.stdin.readline().lower().strip() in ['yes', 'y']
154
161
 
155
162
  if not proceed:
156
163
  display_menu_header("Patient Selection for Today's Data Entry")
@@ -160,9 +167,16 @@ def display_patient_selection_menu(csv_data, reverse_mapping, proceed_as_medicar
160
167
  while True:
161
168
  while True:
162
169
  print("\nEnter the number(s) of the patients you wish to proceed with \n(e.g., 1,3,5): ", end='', flush=True)
163
- # Small delay for Windows XP console buffer synchronization
164
- time.sleep(0.1)
165
- selection = input().strip()
170
+ # Force flush and wait for Windows XP console buffer synchronization
171
+ sys.stdout.flush()
172
+ time.sleep(0.2) # Increased delay for Windows XP
173
+
174
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
175
+ while msvcrt.kbhit():
176
+ msvcrt.getch()
177
+
178
+ # Use sys.stdin.readline() for more reliable input on Windows XP
179
+ selection = sys.stdin.readline().strip()
166
180
  if not selection:
167
181
  print("Invalid entry. Please provide at least one number.")
168
182
  continue
@@ -237,9 +251,16 @@ def handle_user_interaction(interaction_mode, error_message):
237
251
  print("4: Exit script")
238
252
  print("-" * 60)
239
253
  print("Enter your choice (1/2/3/4): ", end='', flush=True)
240
- # Small delay for Windows XP console buffer synchronization
241
- time.sleep(0.1)
242
- choice = input().strip()
254
+ # Force flush and wait for Windows XP console buffer synchronization
255
+ sys.stdout.flush()
256
+ time.sleep(0.2) # Increased delay for Windows XP
257
+
258
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
259
+ while msvcrt.kbhit():
260
+ msvcrt.getch()
261
+
262
+ # Use sys.stdin.readline() for more reliable input on Windows XP
263
+ choice = sys.stdin.readline().strip()
243
264
 
244
265
  if choice == '1':
245
266
  print("Selected: 'Retry last entry'. Please press 'F12' to continue.")
@@ -273,9 +294,17 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
273
294
  try:
274
295
  # Use a more explicit prompt format for Windows XP
275
296
  print("\nAm I processing Medicare patients? (yes/no): ", end='', flush=True)
276
- # Small delay for Windows XP console buffer synchronization
277
- time.sleep(0.1)
278
- response = input().lower().strip()
297
+ # Force flush and wait for Windows XP console buffer synchronization
298
+ sys.stdout.flush()
299
+ time.sleep(0.2) # Increased delay for Windows XP
300
+
301
+ # Clear any leftover input in stdin buffer for Windows XP compatibility
302
+ while msvcrt.kbhit():
303
+ msvcrt.getch()
304
+
305
+ # Use sys.stdin.readline() for more reliable input on Windows XP
306
+ response = sys.stdin.readline().lower().strip()
307
+
279
308
  if response:
280
309
  if response in ['yes', 'y']:
281
310
  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.0
3
+ Version: 0.250725.2
4
4
  Summary: MediCafe
5
5
  Home-page: https://github.com/katanada2
6
6
  Author: Daniel Vidaud
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: medicafe
3
- Version: 0.250725.0
3
+ Version: 0.250725.2
4
4
  Summary: MediCafe
5
5
  Home-page: https://github.com/katanada2
6
6
  Author: Daniel Vidaud
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='medicafe',
5
- version="0.250725.0",
5
+ version="0.250725.2",
6
6
  description='MediCafe',
7
7
  long_description="""
8
8
  # Project Overview: MediCafe
File without changes
File without changes
File without changes
File without changes