How northwell-health-orcca/itemized-statement works
This is an invoice-statement RPA application: it loads HCX CSV requests, creates a processing run, skips or retries invoices according to prior outcomes, drives IDX through Selenium, and records each result. The workflow and database layers separate UI automation from run selection and durable history. The README documents CSV loading, per-invoice processing, printer delivery, retry behavior, and reconciliation; sampled excerpts show the orchestration and several UI calls, but not the full workflow or every page implementation.
Main entry points: patient_services.py Patient Services · IDXClient.py IDX Client · main.py Run Orchestrator · base.py Page Helpers
Components 19
Run Processing
- Run Orchestrator
main.py - Invoice Workflow
workflow.py
Persistence
- Run Repository
db/repository.py - Data Models
db/models.py - DB Sessions
db/base.py - SQL Database
IDX Automation
- IDX Client
IDXClient.py
IDX Pages
- Login Page
pages/login.py - Settings Page
pages/settings.py - Tool Bar
pages/vtb.py - Patient Services
pages/patient_services.py - Invoice List
pages/pt_services/invoice_list.py - Select Invoices
pages/pt_services/select_invoices.py - Demand Statement
pages/pt_services/demand_statement.py - Device Selection
pages/pt_services/device_selection.py - Page Helpers
pages/base.py - Modal Handler
pages/modals/modal.py
Other components
- HCX CSV
- Designated Printer
Connections 24
- HCX CSV → Run Orchestrator: provides input
README.md - Run Orchestrator → Run Repository: manages runs
README.md - Run Orchestrator → Invoice Workflow: processes invoices
main.py - Run Orchestrator → IDX Client: initializes and navigates
main.py - Run Orchestrator → Run Repository: records outcomes
README.md - Run Repository → Data Models: queries and updates
db/repository.py - Data Models → DB Sessions: declares on base
db/models.py - Run Repository → SQL Database: reads and writes
README.md - DB Sessions → SQL Database: opens sessions
- Invoice Workflow → IDX Client: uses client
workflow.py - IDX Client → Login Page: constructs
IDXClient.py - IDX Client → Settings Page: constructs
IDXClient.py - IDX Client → Tool Bar: constructs
IDXClient.py - IDX Client → Patient Services: constructs
IDXClient.py - Patient Services → Demand Statement: creates
pages/patient_services.py - Patient Services → Device Selection: creates
pages/patient_services.py - Patient Services → Invoice List: creates
pages/patient_services.py - Patient Services → Select Invoices: creates
pages/patient_services.py - Page Helpers → Modal Handler: uses
pages/base.py - Patient Services → Page Helpers: inherits
pages/patient_services.py - Login Page → Page Helpers: inherits
pages/login.py - Settings Page → Page Helpers: inherits
pages/settings.py - Tool Bar → Page Helpers: inherits
pages/vtb.py - Demand Statement → Designated Printer: sends statement