Portal Delete run (Super Admin), lab codes #3/#4, Z23 pointer #45, T1017 #46, payer note, login security-image wait

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ManikandanandClaude Opus 5.5 committed 2026-10-29 12:30:38 +05:30
1 parent a8af44e673
commit fafa5285eb
21 files changed
+1509 -63

No files matched your search

+20
View File
@@ -520,6 +520,26 @@ def tracking_columns_fill_only_for_claims_the_run_read():
assert unread[_col(h)] == "", (h, unread)
@case
def a_payer_the_sheet_and_ecw_disagree_on_is_noted_and_ecws_is_used():
# Operator, 2026-10-28: the rules go by eCW's payer; the sheet's is
# compared, and a difference is a note — not a finding (Category kept).
ecw = _ub(insurance=[{"Name": "Medicare"}])
r = _build({"1000001": cs.claim_outcome(True, ecw)})[1]
assert r[_col("Category")] == "Pass", r
assert r[_col("Comments")].endswith(
"; Payer: sheet says Medicaid, eCW says Medicare - eCW used"), r
assert r[_col("PAYER")] == "Medicaid", "the sheet's column stays"
@case
def no_payer_note_when_they_agree_or_ecw_shows_none():
for ecw in ([{"Name": " medicaid "}], [], [{"Name": ""}]):
r = _build({"1000001": cs.claim_outcome(True,
_ub(insurance=ecw))})[1]
assert "Payer:" not in r[_col("Comments")], (ecw, r)
@case
def a_claim_id_only_test_sheet_still_builds():
rows = cs.build_rows([["Claim No"], ["9000002"], ["9000001"]], 0, 0,