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>
536 B
536 B
| 1 | External Patient Ref | Item Description | Dispense Date | Quantity | Plan Name | Supply Type | payer_type |
|---|---|---|---|---|---|---|---|
| 2 | PT-1221 | dexcom g6 | 05/01/2025 00:00:00 | 6 | Humana | sensor | employer |
| 3 | PT-1222 | Dexcom G6 Pro | 04/23/2025 00:00:00 | 6 | Humana | sensor | employer |
| 4 | PT-1223 | G6 | 08/09/2025 00:00:00 | 6 | Humana | sensor | employer |
| 5 | PT-1224 | dexcom g6 | 06/17/2025 00:00:00 | 6 | Humana | sensor | employer |
| 6 | PT-1225 | Dexcom G6 Pro | 04/30/2025 00:00:00 | 6 | Humana | sensor | employer |
| 7 | PT-1226 | dexcom g6 | 06/07/2025 00:00:00 | 2 | Humana | sensor | employer |
| 8 | PT-1227 | dexcom g6 | 09/03/2025 00:00:00 | 9 | Humana | sensor | employer |