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>
5 lines
455 B
Text
5 lines
455 B
Text
patient_id,device_type,shipment_date,quantity,payer,component,Internal Code,Region,Staff ID,plan_type
|
|
PT-1231,Dexcom G7,2024-12-01,3,Medicare Part A,sensor,DME-99,Northeast,STAFF-001,medicare
|
|
PT-1232,G7,2024-11-21,6,Medicare Part A,sensor,DME-99,Northeast,STAFF-001,medicare
|
|
PT-1233,dexcom g7,2024-11-14,3,Medicare Part A,sensor,DME-99,Northeast,STAFF-001,medicare
|
|
PT-1234,dexcom g7,2025-01-12,3,Medicare Part A,sensor,DME-99,Northeast,STAFF-001,medicare
|