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>
419 B
419 B
| 1 | patientid | devicetype | dispensedate | qty | payername | supplytype | plan_type |
|---|---|---|---|---|---|---|---|
| 2 | PT-1131 | Omnipod 5 | 05/04/2026 | 9 | UHC | pod | Commercial |
| 3 | PT-1132 | Omnipod 5 | 05/02/2026 | 2 | UHC | pod | Commercial |
| 4 | PT-1133 | Omnipod 5 | 04/27/2026 | 9 | UHC | pod | Commercial |
| 5 | PT-1134 | OmniPod 5 | 04/28/2026 | 9 | UHC | pod | Commercial |
| 6 | PT-1135 | OmniPod 5 | 05/01/2026 | 2 | UHC | pod | Commercial |
| 7 | PT-1136 | OmniPod 5 | 05/05/2026 | 9 | UHC | pod | Commercial |
| 8 | PT-1137 | Omnipod 5 | 04/30/2026 | 1 | UHC | pod | Commercial |