Repository navigation
Description
medicaid_federal_share and chip_federal_share apply federal matching rates to coverage that states pay for alone. The model passes people through is_medicaid_immigration_status_eligible on state-funded routes: undocumented residents of DC, Massachusetts, New York and Oregon, California's state-only Medi-Cal statuses, and, once #10987 (New Jersey Cover All Kids) merges, New Jersey children under 19. medicaid_federal_share then returns the expansion or regular FMAP for them. chip_federal_share returns the enhanced FMAP for every CHIP enrollee, whatever their status.
Examples (model year 2025, current main)
| State | Person | Route through the immigration test | Category | medicaid_federal_share |
|---|---|---|---|---|
| DC | Undocumented adult, 35, no income | undocumented_immigrant.yaml (DC true) |
ADULT |
0.90 (expansion FMAP) |
| CA | Undocumented adult, 35, no income | is_ca_medicaid_immigration_status_eligible |
ADULT |
0.90 |
| OR | Undocumented adult, 35, no income | undocumented_immigrant.yaml (OR true from 2023-07-01) |
ADULT |
0.90 |
| NY, MA | Undocumented adult, 35, no income | undocumented_immigrant.yaml |
ADULT |
0.90 |
After #10987 (New Jersey Cover All Kids), in 2024:
| Person | Program | Federal share returned |
|---|---|---|
| Undocumented 8-year-old, single parent at 122% FPL | Medicaid, OLDER_CHILD |
medicaid_federal_share 0.50 (regular FMAP) |
| Undocumented 12-year-old, two parents at 202% FPL | CHIP, chip $2,853.59 |
chip_federal_share 0.65 (enhanced FMAP), so chip_federal_cost $1,854.83 |
medicaid_federal_cost and chip_federal_cost multiply the benefit value by these shares, and medicaid_state_cost and chip_state_cost take the rest.
The law
- 42 U.S.C. 1396b(v)(1) bars federal payment "for medical assistance furnished to an alien who is not lawfully admitted for permanent residence or otherwise permanently residing in the United States under color of law", except under paragraphs (2), (4) and (5). Paragraph (2) is emergency care, which
is_emergency_medicaid_eligiblemodels separately and which keeps its match. - New Jersey funds Cover All Kids alone. The Office of Legislative Services' FY2023 analysis of the Department of Human Services budget says "No federal Medicaid and CHIP cost reimbursements are available for this new eligibility group" (PDF page 40).
Where the code goes wrong
medicaid_federal_share.pytreatscategory != NONEwithis_medicaid_immigration_status_eligibleas a federally matched route. That variable ORs the federal test (is_federal_medicaid_immigration_status_eligible) with every state-funded route.chip_federal_share.pyapplies the enhanced FMAP to every enrollee. Once the New Jersey PR merges,is_chip_immigration_status_eligiblewill also include New Jersey's state route, and there is no federal-only CHIP immigration test.
Possible fix
medicaid_federal_share: readis_federal_medicaid_immigration_status_eligiblefor the matched route. Enrollees who pass only a state route get 0, as Rhode Island's state-funded postpartum coverage already does.- CHIP: split a federal-only immigration test out of
is_chip_immigration_status_eligible, and setchip_federal_shareto 0 for enrollees who pass only the state route. - Test cases for one state-funded enrollee in each of DC, CA, OR, NY, MA and NJ, plus an emergency Medicaid case showing it keeps its match.
The fix lowers federal and raises state Medicaid and CHIP cost in these six states. It doesn't change eligibility or benefit values.
Related: #10795 (Healthier Oregon also adds its own cost on top of Medicaid for the same people).
Activity
MaxGhenis commentedon Nov 21, 2026
#10950 fixes the Medicaid half.
medicaid_federal_sharenow returns 0 for an enrollee who failsis_federal_medicaid_immigration_status_eligible. That covers the DC, California, Oregon, New York and Massachusetts examples above, Illinois Health Benefits for Immigrants and New Jersey Cover All Kids. Emergency Medicaid has no route intomedicaid_enrolled, somedicaid_costleaves out people who qualify for it alone. Since the model doesn't split an enrollee's cost by service, the PR also leaves out the federal match on enrollees' emergency care under 1396b(v)(2).The CHIP half stays open.
chip_federal_sharestill gives the enhanced FMAP to children who reach CHIP only through New Jersey Cover All Kids, so the 12-year-old above keeps 0.5 + 0.3 × (1 − 0.5) = 0.65. #11130 adds a federal-only CHIP immigration test, but it zeroes the share only for undocumented children on the CHIP route it opens in New York.🤖 Generated with Claude Code