medicafe 0.250806.8__tar.gz → 0.250806.9__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.250806.8 → medicafe-0.250806.9}/MediBot/MediBot.bat +15 -26
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/update_medicafe.py +19 -5
- {medicafe-0.250806.8 → medicafe-0.250806.9}/PKG-INFO +1 -1
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/PKG-INFO +1 -1
- {medicafe-0.250806.8 → medicafe-0.250806.9}/setup.py +1 -1
- {medicafe-0.250806.8 → medicafe-0.250806.9}/LICENSE +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MANIFEST.in +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Charges.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Crosswalk_Library.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Crosswalk_Utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Post.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Preprocessor.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_Preprocessor_lib.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_UI.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_dataformat_library.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_docx_decoder.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/MediBot_smart_import.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/__init__.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/get_medicafe_version.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediBot/update_json.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/MediLink_ConfigLoader.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/__init__.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/__main__.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/api_core.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/api_core_backup.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/api_factory.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/api_utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/core_utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/graphql_utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/logging_config.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/logging_demo.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/migration_helpers.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediCafe/smart_import.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_837p_cob_library.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_837p_encoder.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_837p_encoder_library.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_837p_utilities.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_API_Generator.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Azure.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_ClaimStatus.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_DataMgmt.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Decoder.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Deductible.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Deductible_Validator.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Display_Utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Down.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Gmail.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Mailer.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Parser.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_PatientProcessor.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Scan.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Scheduler.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_UI.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_Up.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_insurance_utils.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_main.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/MediLink_smart_import.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/Soumit_api.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/__init__.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/insurance_type_integration_test.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/openssl.cnf +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/test.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/test_cob_library.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/test_timing.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/test_validation.py +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/MediLink/webapp.html +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/SOURCES.txt +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/dependency_links.txt +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/entry_points.txt +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/not-zip-safe +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/requires.txt +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/medicafe.egg-info/top_level.txt +0 -0
- {medicafe-0.250806.8 → medicafe-0.250806.9}/setup.cfg +0 -0
|
@@ -474,8 +474,7 @@ echo ========================================
|
|
|
474
474
|
echo DEBUG STEP 5: Starting Update Process
|
|
475
475
|
echo ========================================
|
|
476
476
|
echo.
|
|
477
|
-
echo Starting update process
|
|
478
|
-
echo Update command will be logged to: upgrade_log.txt
|
|
477
|
+
echo Starting update process...
|
|
479
478
|
echo.
|
|
480
479
|
|
|
481
480
|
:: Check if update_medicafe.py exists in the expected location, with fallback
|
|
@@ -487,20 +486,13 @@ if exist "%upgrade_medicafe%" (
|
|
|
487
486
|
pause >nul
|
|
488
487
|
echo.
|
|
489
488
|
echo Executing update command...
|
|
490
|
-
start "Medicafe Update" cmd /c python "%upgrade_medicafe
|
|
489
|
+
start "Medicafe Update" cmd /c "python \"%upgrade_medicafe%\" %package_version% & echo. & echo Update process completed. Press any key to close... & pause >nul" && (
|
|
491
490
|
echo %DATE% %TIME% Upgrade initiated successfully. >> "%temp_file%"
|
|
492
491
|
echo [SUCCESS] Update process started successfully
|
|
493
|
-
echo
|
|
492
|
+
echo All output will be displayed in the update window.
|
|
494
493
|
) || (
|
|
495
|
-
echo %DATE% %TIME% Update failed.
|
|
496
|
-
echo [ERROR] Upgrade failed. Check
|
|
497
|
-
echo.
|
|
498
|
-
echo Last 10 lines of upgrade_log.txt:
|
|
499
|
-
if exist upgrade_log.txt (
|
|
500
|
-
powershell "Get-Content upgrade_log.txt | Select-Object -Last 10" 2>nul || type upgrade_log.txt | tail -10
|
|
501
|
-
) else (
|
|
502
|
-
echo upgrade_log.txt not found
|
|
503
|
-
)
|
|
494
|
+
echo %DATE% %TIME% Update failed. >> "%temp_file%"
|
|
495
|
+
echo [ERROR] Upgrade failed. Check the update window for details.
|
|
504
496
|
)
|
|
505
497
|
) else if exist "MediBot\update_medicafe.py" (
|
|
506
498
|
echo [INFO] Using update script at: MediBot\update_medicafe.py
|
|
@@ -510,20 +502,17 @@ if exist "%upgrade_medicafe%" (
|
|
|
510
502
|
pause >nul
|
|
511
503
|
echo.
|
|
512
504
|
echo Executing update command...
|
|
513
|
-
|
|
505
|
+
echo.
|
|
506
|
+
echo The update window will open and show detailed progress.
|
|
507
|
+
echo All output will be displayed on screen.
|
|
508
|
+
echo.
|
|
509
|
+
start "Medicafe Update" cmd /c "python \"MediBot\update_medicafe.py\" %package_version% & echo. & echo Update process completed. Press any key to close... & pause >nul" && (
|
|
514
510
|
echo %DATE% %TIME% Upgrade initiated successfully. >> "%temp_file%"
|
|
515
511
|
echo [SUCCESS] Update process started successfully
|
|
516
|
-
echo
|
|
512
|
+
echo All output will be displayed in the update window.
|
|
517
513
|
) || (
|
|
518
|
-
echo %DATE% %TIME% Update failed.
|
|
519
|
-
echo [ERROR] Upgrade failed. Check
|
|
520
|
-
echo.
|
|
521
|
-
echo Last 10 lines of upgrade_log.txt:
|
|
522
|
-
if exist upgrade_log.txt (
|
|
523
|
-
powershell "Get-Content upgrade_log.txt | Select-Object -Last 10" 2>nul || type upgrade_log.txt | tail -10
|
|
524
|
-
) else (
|
|
525
|
-
echo upgrade_log.txt not found
|
|
526
|
-
)
|
|
514
|
+
echo %DATE% %TIME% Update failed. >> "%temp_file%"
|
|
515
|
+
echo [ERROR] Upgrade failed. Check the update window for details.
|
|
527
516
|
)
|
|
528
517
|
) else (
|
|
529
518
|
echo [ERROR] update_medicafe.py not found in either location
|
|
@@ -537,7 +526,7 @@ if exist "%upgrade_medicafe%" (
|
|
|
537
526
|
echo MediBot directory contents:
|
|
538
527
|
dir /b MediBot\ 2>nul || echo MediBot directory not found
|
|
539
528
|
echo.
|
|
540
|
-
echo %DATE% %TIME% Update failed - script not found. >>
|
|
529
|
+
echo %DATE% %TIME% Update failed - script not found. >> "%temp_file%"
|
|
541
530
|
echo.
|
|
542
531
|
echo Press Enter to return to main menu...
|
|
543
532
|
pause >nul
|
|
@@ -550,7 +539,7 @@ echo DEBUG: Update Process Complete
|
|
|
550
539
|
echo ========================================
|
|
551
540
|
echo.
|
|
552
541
|
echo Update process has been initiated.
|
|
553
|
-
echo
|
|
542
|
+
echo All output will be displayed in the update window.
|
|
554
543
|
echo.
|
|
555
544
|
echo Press Enter to return to main menu...
|
|
556
545
|
pause >nul
|
|
@@ -15,6 +15,14 @@ except ImportError:
|
|
|
15
15
|
requests = None
|
|
16
16
|
print("Warning: requests module not available. Some functionality may be limited.")
|
|
17
17
|
|
|
18
|
+
# Initialize console output
|
|
19
|
+
print("="*60)
|
|
20
|
+
print("MediCafe Update Started")
|
|
21
|
+
print("Timestamp: {}".format(time.strftime("%Y-%m-%d %H:%M:%S")))
|
|
22
|
+
print("Python Version: {}".format(sys.version))
|
|
23
|
+
print("Platform: {}".format(platform.platform()))
|
|
24
|
+
print("="*60)
|
|
25
|
+
|
|
18
26
|
def debug_step(step_number, step_title, message=""):
|
|
19
27
|
"""Print debug step information and wait for user confirmation."""
|
|
20
28
|
print("\n" + "="*60)
|
|
@@ -22,11 +30,17 @@ def debug_step(step_number, step_title, message=""):
|
|
|
22
30
|
print("="*60)
|
|
23
31
|
if message:
|
|
24
32
|
print(message)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
|
|
34
|
+
# Make debug steps less intrusive - only pause for critical steps
|
|
35
|
+
if step_number in [1, 7, 8]: # Only pause for environment check, update execution, and verification
|
|
36
|
+
print("\nPress Enter to continue...")
|
|
37
|
+
try:
|
|
38
|
+
input()
|
|
39
|
+
except:
|
|
40
|
+
pass # Handle case where input() might not work in some environments
|
|
41
|
+
else:
|
|
42
|
+
print("\nContinuing automatically...")
|
|
43
|
+
time.sleep(2) # Brief pause to show progress
|
|
30
44
|
|
|
31
45
|
def print_status(message, status_type="INFO"):
|
|
32
46
|
"""Print formatted status messages with ASCII-only visual indicators."""
|
|
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
|
|
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
|