Full client-mapped plan_type pipeline: complete header alias set (bare 'plan'/'plan_name' stay payer aliases), value canonicalization map (Medicare Part B / FFS / MA / Part C / private / employer etc), unrecognized values grade Plan Type Needed with a hashed once-per-value warning. Once-per-batch deprecation fence when records lack plan_type (timing guesses from payer, legacy; readiness never does). CSVImport mapping review gains Plan Type. All 66 demo/drift fixture CSVs authored with plan_type columns (variant headers + variant values on the drift corpus); corpus sweep: 66/66 map, 100% typed. Echo paths canonicalize through the same value map (audit Low fixed). _normalize_payer and the default config entry remain untouched (Phase 2c, Kisa-gated). Independent audit: SHIP. 169 tests green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
563 B
563 B
| 1 | patient id | item | dispense date | count | carrier | supply_type | Billing Staff | Auth Number | payer_type |
|---|---|---|---|---|---|---|---|---|---|
| 2 | PT-1171 | FreestyleLibre3 | 2024-11-20 | 6 | Medicare Part B | sensor | M. Jones | CGM-2026-001 | Medicare Part B |
| 3 | PT-1172 | FreestyleLibre3 | 2025-01-02 | 3 | Medicare Part B | sensor | M. Jones | CGM-2026-001 | Medicare Part B |
| 4 | PT-1173 | FSL3 | 2024-10-05 | 2 | Medicare Part B | sensor | M. Jones | CGM-2026-001 | Medicare Part B |
| 5 | PT-1174 | FreeStyle Libre 3 | 2024-12-17 | 1 | Medicare Part B | sensor | M. Jones | CGM-2026-001 | Medicare Part B |
| 6 | PT-1175 | FSL3 | 2024-12-20 | 3 | Medicare Part B | sensor | M. Jones | CGM-2026-001 | Medicare Part B |