medicafe 0.250725.11__py3-none-any.whl → 0.250725.12__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 +8 -22
- {medicafe-0.250725.11.dist-info → medicafe-0.250725.12.dist-info}/METADATA +1 -1
- {medicafe-0.250725.11.dist-info → medicafe-0.250725.12.dist-info}/RECORD +6 -6
- {medicafe-0.250725.11.dist-info → medicafe-0.250725.12.dist-info}/LICENSE +0 -0
- {medicafe-0.250725.11.dist-info → medicafe-0.250725.12.dist-info}/WHEEL +0 -0
- {medicafe-0.250725.11.dist-info → medicafe-0.250725.12.dist-info}/top_level.txt +0 -0
MediBot/MediBot_UI.py
CHANGED
|
@@ -20,25 +20,6 @@ VK_PAUSE = int(config.get('VK_PAUSE', ""), 16) # Try F11 (7A). Virtual-key code
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
def robust_input(prompt="", max_retries=3):
|
|
24
|
-
"""
|
|
25
|
-
Simple input function with retry logic for Windows XP console issues.
|
|
26
|
-
"""
|
|
27
|
-
for attempt in range(max_retries):
|
|
28
|
-
if attempt > 0:
|
|
29
|
-
# Clear any leftover input on retry
|
|
30
|
-
while msvcrt.kbhit():
|
|
31
|
-
msvcrt.getch()
|
|
32
|
-
|
|
33
|
-
response = input(prompt if attempt == 0 else "").strip()
|
|
34
|
-
|
|
35
|
-
if response:
|
|
36
|
-
return response
|
|
37
|
-
|
|
38
|
-
return ""
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
23
|
class AppControl:
|
|
43
24
|
def __init__(self):
|
|
44
25
|
self.script_paused = False
|
|
@@ -231,8 +212,6 @@ def display_menu_header(title):
|
|
|
231
212
|
print("\n" + "-" * 60)
|
|
232
213
|
print(title)
|
|
233
214
|
print("-" * 60)
|
|
234
|
-
# Force flush for Windows XP compatibility
|
|
235
|
-
sys.stdout.flush()
|
|
236
215
|
|
|
237
216
|
def handle_user_interaction(interaction_mode, error_message):
|
|
238
217
|
# Import here to avoid circular imports
|
|
@@ -308,7 +287,14 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
308
287
|
|
|
309
288
|
while True:
|
|
310
289
|
try:
|
|
311
|
-
|
|
290
|
+
print("\nAm I processing Medicare patients? (yes/no): ", end='', flush=True)
|
|
291
|
+
time.sleep(0.1) # Windows XP compatibility delay
|
|
292
|
+
|
|
293
|
+
# Clear any leftover input
|
|
294
|
+
while msvcrt.kbhit():
|
|
295
|
+
msvcrt.getch()
|
|
296
|
+
|
|
297
|
+
response = input().strip().lower()
|
|
312
298
|
|
|
313
299
|
if response in ['yes', 'y']:
|
|
314
300
|
app_control.load_paths_from_config(medicare=True)
|
|
@@ -5,7 +5,7 @@ MediBot/MediBot_Crosswalk_Library.py,sha256=Ix4QlAcg3O9Y6n6ZeSUtbmtV-_n-t0-jnefX
|
|
|
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=c1WDr017mGPYYBkfgRJfXIBnEyLuMfdRkFO9kkviu_w,13535
|
|
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.12.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
|
|
53
|
+
medicafe-0.250725.12.dist-info/METADATA,sha256=FlJzGB5PMI3rudimWojMtfk39VR7PdZssReEAlH0JWU,5502
|
|
54
|
+
medicafe-0.250725.12.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
55
|
+
medicafe-0.250725.12.dist-info/top_level.txt,sha256=3uOwR4q_SP8Gufk2uCHoKngAgbtdOwQC6Qjl7ViBa_c,17
|
|
56
|
+
medicafe-0.250725.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|