Files
ManikandanandClaude Opus 5.5 ba15a574ab Initial import: eCW Charge Validation bot and results Portal
Snapshot of the working project as of 2026-10-23 (local 2d4d4fc), one
commit with no earlier history: the tracked files were de-identified
first (synthetic claim ids and patient data only; see Context.md
section 7). Credentials, run logs, screenshots, claim reports and client
workbooks are gitignored and not included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:38:17 +05:30

24 lines
815 B
Python

r"""
Salud eCW charge-entry bot — entry point.
python run.py
This is the only supported way to start the bot, and the two lines below are
why it exists. The old layout was a folder of flat modules run as
`python src\main.py`, which worked *only* because Python puts the script's own
directory on `sys.path` — so `import config` resolved. Any other way of
starting it (VS Code's "Run File" on a different file, Task Scheduler, pytest,
`python -m`) broke with ImportError. A package plus this shim fixes that: the
import path no longer depends on which file you happened to launch.
"""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent / "src"))
from ecw_bot.flows.export_medcor_ready import main # noqa: E402
if __name__ == "__main__":
sys.exit(main())