fix: route United Ucard claims correctly and add fee schedule

- AI-column auto-submit and manual "Claim All" dispatchers in claim-form.tsx
  had no United Ucard branch, so United Ucard claims silently fell through
  to the MassHealth (MH) submit handler instead of opening the United Ucard
  site.
- Added a United Ucard fee schedule (copied from United SCO as a starting
  point) and wired it into the frontend price-mapping/mismatch-check code
  and the backend fee-schedule update route, which previously had no
  schedule for United Ucard and fell back to MassHealth's prices.
- Selenium claim worker: when the member search returns multiple coverage
  records, it now tries the last row first (existing default) and falls
  back to the first row only if the "Member Details" link never appears
  (i.e. the last row was an inactive record), instead of only ever trying
  one or the other.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:21:53 -04:00
co-authored by Claude Sonnet 5
parent af62bf151e
commit 765368216f
6 changed files with 289 additions and 16 deletions
+2
View File
@@ -14,6 +14,8 @@ const SCHEDULE_FILES: Record<string, string> = {
UNITEDDH: "procedureCodesUnitedDH.json",
UNITED_SCO: "procedureCodesUnitedDH.json",
UNITEDSCO: "procedureCodesUnitedDH.json",
UNITED_UCARD: "procedureCodesUnitedUcard.json",
UNITEDUCARD: "procedureCodesUnitedUcard.json",
};
function getSchedulePath(siteKey: string): string | null {