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>
556 B
556 B
| 1 | pt id | device_type | service date | quantity | payer | component | plan_type |
|---|---|---|---|---|---|---|---|
| 2 | PT-1201 | op5 | 11/15/2024 | 6 | Aetna Commercial | pod | commercial |
| 3 | PT-1202 | op5 | 12/28/2024 | 2 | Aetna Commercial | pod | commercial |
| 4 | PT-1203 | OmniPod 5 | 12/25/2024 | 9 | Aetna Commercial | pod | commercial |
| 5 | PT-1204 | OmniPod 5 | 12/30/2024 | 1 | Aetna Commercial | pod | commercial |
| 6 | PT-1205 | OmniPod 5 | 01/07/2025 | 2 | Aetna Commercial | pod | commercial |
| 7 | PT-1206 | Omnipod 5 | 10/28/2024 | 1 | Aetna Commercial | pod | commercial |
| 8 | PT-1207 | Omnipod 5 | 11/05/2024 | 6 | Aetna Commercial | pod | commercial |
| 9 | PT-1208 | Omnipod | 11/29/2024 | 6 | Aetna Commercial | pod | commercial |