fix: AI claims/preauths keep all codes past 10; reuse CCA/DentalHub Chrome
- Claim form: AI claim/preauth prefill adds rows beyond the initial 10 instead of dropping codes 11+ - CDT lookup: "D6010 #5, 9, 11, 12" expands to one line per tooth, and the chat graph rebuilds such lists from the message if the LLM drops items - Eligibility: match an existing patient by name+DOB when the insurance ID changed (e.g. MassHealth → CCA) instead of creating a duplicate patient - CCA PreAuth: services grid scrolls to reach rows 11+ - CCA and Tufts SCO PreAuth: tentative service date = today + 3 days - CCA (eligibility/claim/preauth) and DentalHub (claim/preauth): keep Chrome open, blank and minimized, after a job so the next job reuses it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,11 +45,14 @@ class AutomationCCAEligibilityCheck:
|
||||
browser_manager.save_cookies()
|
||||
except Exception as e:
|
||||
print(f"[CCA] Failed to save cookies before close: {e}")
|
||||
# Keep Chrome open (blank + minimized) so the next CCA job reuses it — faster
|
||||
# than starting a new browser. get_driver() recreates it if it was closed.
|
||||
try:
|
||||
browser_manager.quit_driver()
|
||||
print("[CCA] Browser closed")
|
||||
self.driver.get("about:blank")
|
||||
self.driver.minimize_window()
|
||||
print("[CCA] Browser kept open (minimized)")
|
||||
except Exception as e:
|
||||
print(f"[CCA] Could not close browser: {e}")
|
||||
print(f"[CCA] Could not minimize browser: {e}")
|
||||
|
||||
def _force_logout(self):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user