medicafe 0.250724.0__tar.gz → 0.250725.0__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.
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot.py +5 -1
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_UI.py +8 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/PKG-INFO +1 -1
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/PKG-INFO +1 -1
- {medicafe-0.250724.0 → medicafe-0.250725.0}/setup.py +1 -1
- {medicafe-0.250724.0 → medicafe-0.250725.0}/LICENSE +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MANIFEST.in +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot.bat +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_Charges.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_Crosswalk_Library.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_Post.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_Preprocessor.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_Preprocessor_lib.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_dataformat_library.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/MediBot_docx_decoder.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/PDF_to_CSV_Cleaner.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/__init__.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/update_json.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediBot/update_medicafe.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_837p_cob_library.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_837p_encoder.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_837p_encoder_library.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_837p_utilities.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_API_Generator.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_API_v2.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_API_v3.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_APIs.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Azure.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_ClaimStatus.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_ConfigLoader.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_DataMgmt.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Decoder.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Deductible.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Deductible_Validator.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Down.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Gmail.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_GraphQL.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Mailer.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Parser.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Scan.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Scheduler.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_UI.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_Up.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/MediLink_batch.bat +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/Soumit_api.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/__init__.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/openssl.cnf +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/test.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/test_cob_library.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/test_validation.py +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/MediLink/webapp.html +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/README.md +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/SOURCES.txt +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/dependency_links.txt +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/not-zip-safe +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/requires.txt +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/medicafe.egg-info/top_level.txt +0 -0
- {medicafe-0.250724.0 → medicafe-0.250725.0}/setup.cfg +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#MediBot.py
|
|
2
|
-
import subprocess, os, tempfile, traceback, re, sys
|
|
2
|
+
import subprocess, os, tempfile, traceback, re, sys, time
|
|
3
3
|
from collections import OrderedDict
|
|
4
4
|
import MediBot_dataformat_library
|
|
5
5
|
import MediBot_Preprocessor
|
|
@@ -396,9 +396,13 @@ 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)
|
|
399
401
|
proceed = input().lower().strip() in ['yes', 'y']
|
|
400
402
|
else:
|
|
401
403
|
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)
|
|
402
406
|
proceed = input().lower().strip() in ['yes', 'y']
|
|
403
407
|
|
|
404
408
|
# TODO: Here is where we need to add the step where we move to MediBot_Charges.
|
|
@@ -148,6 +148,8 @@ 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)
|
|
151
153
|
proceed = input().lower().strip() in ['yes', 'y']
|
|
152
154
|
|
|
153
155
|
if not proceed:
|
|
@@ -158,6 +160,8 @@ def display_patient_selection_menu(csv_data, reverse_mapping, proceed_as_medicar
|
|
|
158
160
|
while True:
|
|
159
161
|
while True:
|
|
160
162
|
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)
|
|
161
165
|
selection = input().strip()
|
|
162
166
|
if not selection:
|
|
163
167
|
print("Invalid entry. Please provide at least one number.")
|
|
@@ -233,6 +237,8 @@ def handle_user_interaction(interaction_mode, error_message):
|
|
|
233
237
|
print("4: Exit script")
|
|
234
238
|
print("-" * 60)
|
|
235
239
|
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)
|
|
236
242
|
choice = input().strip()
|
|
237
243
|
|
|
238
244
|
if choice == '1':
|
|
@@ -267,6 +273,8 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
267
273
|
try:
|
|
268
274
|
# Use a more explicit prompt format for Windows XP
|
|
269
275
|
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)
|
|
270
278
|
response = input().lower().strip()
|
|
271
279
|
if response:
|
|
272
280
|
if response in ['yes', 'y']:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|