feat(intake/cases): faithful NCANDS RptSrc + RptDisp capture (close leave-unpopulated gaps)
Summary
The NCANDS Child File export (epic &55 (closed)) deliberately leaves some federal coded fields unpopulated because CRAIG's domain model is coarser than the federal codebook (the "leave-unpopulated" policy, ADR-040 / #640 (closed) — never emit a guessed code). This issue tracks the faithful fix: capture the finer data so those fields can be populated.
Gaps (from craig-reference::ncands #644 (closed) functions):
- RptSrc (#10 (closed)) —
reporter_type_to_rptsrcreturnsNoneforReporterType::MandatedandProfessional(reporter statuses, not NCANDS source categories). A faithful export needs a true NCANDS report-source category (the 13-valueRptSrccodebook list: social services / medical / mental health / education / daycare / etc.) captured at intake. - RptDisp (#11 (closed)) / Mal disposition level (#27 (closed)) —
disposition_to_rptdispreturnsNoneforDisposition::Inconclusive(no NCANDS equivalent). Decide the faithful handling (enrichDisposition, or map per a documented policy).
Acceptance criteria
- Intake captures a true NCANDS report-source category (or a richer reporter taxonomy that maps onto the 13 RptSrc values).
-
Disposition::Inconclusivehas a decided, documented federal handling. -
reporter_type_to_rptsrc/disposition_to_rptdisp(or their successors) no longer returnNonefor the previously-unmappable inputs; tests updated to the codebook.
References
Epic &55 (closed); #644 (closed) (the code library that surfaced these gaps); ADR-040 (leave-unpopulated policy); plan docs/modules/ROOT/pages/plans/ncands-child-file-export.adoc.