fix(sp41): test all 6 disposition constants + document pipe separator choice
This commit is contained in:
@@ -51,7 +51,7 @@ def write_summary_csv(rows: list[SummaryRow], out_path: Path) -> int:
|
||||
str(r.visit.billed),
|
||||
r.disposition,
|
||||
str(r.unpaid),
|
||||
"|".join(r.cas_reasons),
|
||||
"|".join(r.cas_reasons), # pipe-separated; no collision with J-prefixed member IDs or relative file paths
|
||||
r.file_path,
|
||||
])
|
||||
return len(rows)
|
||||
|
||||
@@ -39,4 +39,6 @@ def test_disposition_constants():
|
||||
assert REBILLED_A == "REBILLED_A"
|
||||
assert REBILLED_B == "REBILLED_B"
|
||||
assert EXCLUDED_CARC == "EXCLUDED_CARC"
|
||||
assert EXCLUDED_PAYER == "EXCLUDED_PAYER"
|
||||
assert EXCLUDED_NO_EVV == "EXCLUDED_NO_EVV"
|
||||
assert EXCLUDED_TIMELY_FILING == "EXCLUDED_TIMELY_FILING"
|
||||
|
||||
Reference in New Issue
Block a user