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>
517 B
517 B
| 1 | Patient ID | Item Description | Service Date | Qty | Insurance Name | Item Type | Prescriber NPI | Branch | payer_type |
|---|---|---|---|---|---|---|---|---|---|
| 2 | PT-1011 | FreeStyle Libre 3 | 12/15/2024 | 1 | Aetna Commercial | sensor | 1234567890 | PA-001 | employer |
| 3 | PT-1012 | FSL3 | 12/26/2024 | 1 | Aetna Commercial | sensor | 1234567890 | PA-001 | employer |
| 4 | PT-1013 | FreeStyle Libre 3 | 11/06/2024 | 6 | Aetna Commercial | sensor | 1234567890 | PA-001 | employer |
| 5 | PT-1014 | FSL3 | 11/09/2024 | 2 | Aetna Commercial | sensor | 1234567890 | PA-001 | employer |
| 6 | PT-1015 | Libre 3 | 11/20/2024 | 3 | Aetna Commercial | sensor | 1234567890 | PA-001 | employer |