Skip to content

Date California Medi-Cal expansions for undocumented residents at their effective dates - #11125

Merged
MaxGhenis merged 6 commits into
mainfrom
fix-ca-medi-cal-undocumented-start-dates
Nov 20, 2026
Merged

MaxGhenis merged 6 commits into
mainfrom
fix-ca-medi-cal-undocumented-start-dates

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What and why

California began state-funded full-scope Medi-Cal for undocumented residents aged 19 to 25 on January 1, 2020. The model's age schedule, eligible_regardless_of_immigration_status.yaml, covered them from 2016, and backdating carried that to 2015. This PR dates each age group in that schedule at its effective date.

Ages Main This PR Model years in which undocumented residents who are not pregnant lose eligibility
19 to 25 true from 2016-01-01 (2015 after backdating) true from 2020-01-01 2015 to 2019
0 to 18 true from 2016-01-01 (2015 after backdating) true from 2016-05-01 2015 and 2016
50 and over true from 2022-01-01 true from 2022-05-01 2022
26 to 49 true from 2024-01-01 unchanged none

The formula still covers pregnancy at every age, and the enrollment freeze from January 1, 2026 works as on main.

is_ca_medicaid_immigration_status_eligible now picks a schedule by status. It applies the corrected schedule to undocumented residents and a new one, eligible_with_daca_or_tps.yaml, to DACA and TPS holders. It names the three statuses it covers, so a status added later to ca_state_funded_immigration_statuses gets false until the formula names it and gives it a schedule. The new file holds main's values, so is_ca_medicaid_immigration_status_eligible gives DACA and TPS holders the same result as on main.

A person who loses this route fails is_medicaid_immigration_status_eligible, so is_medicaid_eligible returns false unless another route applies, such as California's coverage of former foster youth. #11122 traces one household through the variables that follow.

The schedule and the variable now cite the Legislature's page for Welfare and Institutions Code section 14007.8 in place of california.public.law, and the schedule's comments name the subdivision that covers each age group. is_ca_medicaid_immigration_status_eligible now applies edits to gov.states.ca.chhs.eligible_regardless_of_immigration_status to undocumented residents. DACA and TPS holders use eligible_with_daca_or_tps.

Sources

  • Ages 19 to 25. In its 2019-20 budget, the state funded the expansion "starting no sooner than January 1, 2020" (Enacted Budget Summary, p. 4). SB 104 (Chapter 67, Statutes of 2019) had set an earlier floor, "no sooner than July 1, 2019". Los Angeles County's Medi-Cal manual gives the day the expansion took effect: "Effective January 1, 2020" (Full Scope Medi-Cal for Children and Young Adults). The Legislative Analyst's Office dates it "in 2020" and says undocumented residents had restricted-scope coverage, for emergency and pregnancy care, before each expansion (February 2022 report, p. 4).
  • Children under 19. The 2017-18 Governor's Budget Summary reports that SB 75 (Chapter 18, Statutes of 2015) expanded full-scope benefits "effective May 2016" (p. 9). The same Los Angeles County page gives the effective date, "Effective May 1, 2016". It gives May 16, 2016 as the day SB 75's implementation began: children on restricted scope moved to full scope that day, and children who applied later got full scope from their application month.
  • Ages 50 and over. Section 14007.8(a)(2)(A) sets a floor, "no sooner than May 1, 2022". The 2022-23 Governor's Budget Summary gives the effective date, "effective May 1, 2022" (p. 16).
  • Ages 26 to 49. Section 14007.8(a)(2)(B) sets a deadline, "no later than January 1, 2024". The 2024-25 enacted summary gives the effective date, "as of January 1, 2024" (p. 2).
  • Freeze. Section 14007.8(b)(1) limits people aged 19 and over who apply on or after January 1, 2026 to pregnancy-related and emergency services. The 2025-26 enacted summary describes a "freeze on new enrollment to full-scope coverage" and dates it "effective no sooner than January 1, 2026" (p. 2).

The text of section 14007.8, as amended by Statutes of 2026, Chapter 252, and the text of SB 104 come from the Legislature's bulk data (files pubinfo_2025.zip and pubinfo_2019.zip). The section's page on leginfo answers scripts with a bot check. In the current text, subdivision (a)(1) covers people aged 25 or younger and gives no date.

Methodology choices

A maintainer can change either default.

1. DACA and TPS holders keep the dates main gives them. Main applies one schedule to undocumented, DACA and TPS residents. Section 14007.8 covers people without satisfactory immigration status, and the budget and Legislative Analyst documents speak of undocumented residents. Two pages of Los Angeles County's manual treat the two statuses differently:

  • DACA. A page released April 11, 2016 treats DACA as PRUCOL (permanently residing under color of law) and PRUCOL immigrants as eligible for full-scope Medi-Cal (Coverage For Immigrants Under Health Care Reform). A page released April 30, 2019 gives state-funded full-scope Medi-Cal to PRUCOL parents and siblings "age 19 or older" of children on CalWORKs, and it counts DACA holders among them (40-103.44). Both support main's coverage of DACA holders aged 19 to 25 before 2020.
  • TPS. The 2016 page says TPS holders "may be eligible" for full scope by declaring PRUCOL, and that minors under 19 get it through SB 75. The 2019 page gives TPS holders restricted scope unless they declare PRUCOL. For a TPS holder who declares no PRUCOL, both support the undocumented schedule, and the model has no PRUCOL input. Neither page addresses TPS holders under the later expansions or the freeze.

dhcs.ca.gov answers scripts with a bot check, so this PR rests on no Department of Health Care Services letter. A follow-up can check letters I 14-45 and I 21-17.

DACA and TPS holders keep the same result from California's Medi-Cal immigration eligibility formula. This default needs a second schedule and a status test in the variable. The second file carries main's values, and its comment says which of them the sources contradict.

Two other choices:

  • Put all three statuses on one schedule. This drops the second file and the status test. It closes the age-based route to DACA and TPS holders aged 19 to 25 in 2015 to 2019, aged 0 to 18 in 2015 and 2016, and aged 50 and over in 2022. A pregnant holder still passes.
  • Put TPS holders on the undocumented schedule and leave DACA holders on the second one. This changes the formula's routing and needs matching updates to the parameters, their documentation and the tests. The county pages favor it before 2020 for a TPS holder who declares no PRUCOL.

2. The two May starts keep their true dates. The repository dates a mid-year change at its effective date and lets annual formulas read January 1. For example, comments in postpartum_coverage.yaml and the CHIP income_limit.yaml say so, and so does the documentation of is_federal_medicaid_immigration_status_eligible. Because is_ca_medicaid_immigration_status_eligible runs on a YEAR period, it covers undocumented children from 2017 and ages 50 and over from 2023. The model then leaves out full-scope coverage from May to December 2016 for children and from May to December 2022 for ages 50 and over.

The other choice dates each start on January 1 of its year. The model would then count January to April of 2016 and of 2022 as full-scope months, when California gave these groups restricted scope.

Proposed follow-up

Before 2024, main's age-26 bracket excludes nonpregnant DACA holders aged 26 to 49, and eligible_with_daca_or_tps.yaml keeps that. The 2019 county page above sets no upper age for PRUCOL adults. The Governor's office said on April 13, 2023, before the expansion to ages 26 to 49, that "California DACA recipients are currently covered by state-only, full-scope Medi-Cal should they meet eligibility requirements" (statement). A March 2026 background paper for the Legislature's health committees groups DACA holders with adults of unsatisfactory immigration status for the 2027 premiums. Before a fix changes the dates, check whether the department's letters establish them. #11128 tracks this, and #11150, which builds on this branch, proposes coverage at every age.

Invariants of is_ca_medicaid_immigration_status_eligible

  • No result changes for a DACA or TPS holder.
  • No result changes for an undocumented resident from 2023 on, or at ages 26 to 49 in any year.
  • Every change for an undocumented resident runs from eligible to not eligible, in the model years the table lists.
  • No result changes for a pregnant person in any of the three statuses.

YAML cases pin each one at single points, and the grid run in the test plan checks all four for ages 0 to 90 in 2015 to 2028.

Other outputs can still move. If an undocumented infant loses Medicaid enrollment in 2015 or 2016, WIC's family clause carries that loss to other members of the SPM unit who have no other route to WIC categorical eligibility. In those two years a parent of an undocumented child under 19 can lose Medicaid too. meets_medicaid_adult_group_child_coverage_requirement keeps a parent out of the adult group while their child under 19 lacks coverage, and the model gives an undocumented child in California no CHIP or Marketplace coverage. For example, a citizen parent aged 30 in California in 2016 earns $20,000, 125% of the poverty line for two, and has an undocumented infant. That income passes the adult group's 138% limit but not the 114% parent limit. On main the infant has Medicaid and the parent qualifies as an adult; with this PR the infant has no coverage, so the parent loses Medicaid. A person who loses the California immigration route becomes eligible for Emergency Medicaid only if they have an emergency medical condition and fall in a Medicaid eligibility category.

Test plan

  • YAML tests with expected values from the sources above: 28 new cases in is_ca_medicaid_immigration_status_eligible.yaml and 2 in is_medicaid_immigration_status_eligible.yaml, each with its arithmetic in a comment. Ten fail on main: California Cases 15, 16, 19, 20, 22, 24, 25, 29 and 39, and the national 2018 case. The other 20 pass on main too. They pin the years on either side of each start that main already gets right, ages 26 to 49, pregnancy, 2025 and 2026, and DACA and TPS holders.
  • policyengine-core test on each of the two files at this branch's head: all 66 cases pass. With main's code the same 66 cases give 10 failures and 56 passes, in a run on a checkout that matches main except for two Kentucky child care parameters.
  • A grid run that compares main with this PR across the three covered statuses and two others, ages 0 to 90, pregnant or not, on Medicaid or not, 2015 to 2028. Of 25,480 cells, 228 differ. All 228 belong to nonpregnant undocumented residents, in the model years the table lists, and each runs from eligible to not eligible.
  • Sixteen existing test files that read these variables or the ones that follow them: their 289 cases pass with this PR's schedules and variable.
    Pull request run 44631629896 at 0fedf044c2 passed all 37 jobs on GitHub's merge with main 82f7439482.
  • Source-conflict register: not applicable.
  • ruff format and ruff check (0.15.5) pass on the changed variable.
  • Changelog fragment in changelog.d/.

Related

#10950 uses the federal immigration test in medicaid_federal_share to give state-funded-only enrollment a federal share of 0. This PR, #10950 and #9732 each add cases to is_medicaid_immigration_status_eligible.yaml in different places, and git merges this branch with either one without a conflict.

Microsimulation impact

No default result changes. From model year 2023 on, the corrected schedule and main's give the same value at every age, and the default dataset starts in 2024, so a population run for 2024 or later cannot move. Results change only in model years 2015 to 2019 and 2022, for nonpregnant undocumented California residents and for relatives whose results read their Medicaid enrollment. We did not measure those years.

axiom: TheAxiomFoundation/rulespec-us#2330 queued (Cal. Welf. & Inst. Code 14007.8: state-funded full-scope Medi-Cal for undocumented residents by age group and start date, and the 2026 freeze on new adult enrollment). The DACA and TPS schedule has no source to encode yet.

Fixes #11122

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 18, 2026 14:19
…ir effective dates

California began state-funded full-scope Medi-Cal for undocumented
residents aged 19 to 25 on January 1, 2020. The age schedule gave them
coverage from 2016, and backdating carried that to 2015.

- Ages 19 to 25: false before 2020-01-01.
- Children under 19: true from 2016-05-01, with an explicit false before
  it so that 2015 reads false.
- Ages 50 and over: true from 2022-05-01, not 2022-01-01.
- DACA and TPS holders keep the dates the model gave them, in a new
  schedule, eligible_with_daca_or_tps.

The variable is YEAR-defined and reads each schedule at January 1, so
the two May starts apply from 2017 and 2023.

Fixes #11122

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ancy case

- eligible_with_daca_or_tps.yaml: describe the schedule as the one the
  model applies, cite the county and Governor's office sources on DACA
  and TPS coverage, and note that the formula never reads the 2026
  values at baseline.
- eligible_regardless_of_immigration_status.yaml: say that section
  14007.8 (a)(1) gives no date, and what (b)(1) limits from 2026.
- Variable: say which statuses read the second schedule.
- Tests: add a pregnant DACA holder at an age the second schedule
  leaves out, say what the DACA and TPS cases guard, and move the two
  national cases beside the file's other California cases, away from
  the end of the file, where open PRs append theirs.
- Changelog: name the model years that change.

No parameter value or formula result changes from the previous commit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis and others added 4 commits November 19, 2026 11:50
- Changelog: the model had covered ages 19 to 25 from 2015, not in
  every year, and a reform of eligible_regardless_of_immigration_status
  now changes results for undocumented residents only.
- ca_state_funded_immigration_statuses.yaml: a status added to the
  list also needs a schedule choice in the variable.
- eligible_regardless_of_immigration_status.yaml: add Los Angeles
  County page on the ages 50 and over expansion to the references.

No parameter value, formula or test changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The formula sent every status other than undocumented to the DACA and
TPS schedule and relied on the status list to keep others out. It now
names undocumented, DACA and TPS and gives false to any other status,
so a status added to the list later gets no route by accident. The
status list holds only those three, so no baseline result changes.

The changelog limits its reform sentence to the formula itself. The
schedule comments say which source gives each start day and keep the
earliest and latest dates in Section 14007.8 apart from it. The DACA
and TPS schedule no longer says the formula never reads its 2026
values. The two national test cases set is_pregnant to false, since a
pregnant resident of that age passed before 2020.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The documentation said refugees and asylees who lose federal coverage
after October 2026 are picked up by state-funded coverage. The formula
gives them false, so the line now says the model does not yet cover
them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The documentation said the model does not yet cover refugees and
asylees who lose federal coverage after October 2026. Another Medicaid
route can still cover them, so the line now says only that they fail
this state-funded immigration test. Documentation only: no formula,
parameter value or test changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

US + core hub merge audit, us#11125 at 0fedf044c24da5b0fa7cf938165113ef3d5b28c9 (squash): Date California Medi-Cal expansions for undocumented residents at their effective dates.

  • Reviews:
    • The PR has no GitHub reviews. A pre-review check and a refuter check read b0f094be80, and two review rounds ran outside GitHub, at eec6d2b8e1 and 70c6ab0410. A fix commit followed each step. No review read the last commit, 0fedf044c2; a read of its diff finds two changed lines of the variable's documentation and nothing else. Neither review round ran the test suite: both traced the cases without running them.
    • The pre-review check asked for changes, with two P2 findings. The description's invariants held for the variable but not for WIC, whose family clause carries an infant's lost Medicaid to others in the SPM unit. The changelog left out that a reform of the undocumented schedule no longer reaches DACA and TPS holders. Its three P3 findings covered the formula's catch-all for any listed status other than undocumented, a missing county page for the ages 50 and over date, and the changelog's "in every year from 2015". The refuter check kept all five and widened the first to Emergency Medicaid. Outside the PR's scope, the two checks named the freeze file's california.public.law reference, the refugee and asylee line in the variable's documentation and a comment in ca_cchip_eligible.
    • eec6d2b8e1 answered the changelog findings, cited the county's ages 50 and over page and noted in ca_state_funded_immigration_statuses.yaml that a new status needs a schedule choice. It changed no value, formula or test. The description took the WIC and Emergency Medicaid scope.
    • The first round, at eec6d2b8e1, asked for changes, with one P1 finding: the changelog's reform sentence still claimed too much, since WIC carries an infant's change to others. Its four P2 findings covered the DACA and TPS comment on 2026 values and the formula's fallback for a newly listed status. They also covered an age-19 comment that read as if the statute set the 2020 start, and the national cases' comment and missing is_pregnant: false.
    • That round checked the sources (some PDFs timed out), traced the 30 new cases by hand, merged the head with Zero Medicaid federal share for state-funded immigrant coverage #10950 and Remove the years_since_us_entry default of 5 #9732 in git merge-tree without conflict, and read CI run 44518447587, where every job passed. It named the refugee and asylee line as outside the diff.
    • ba5fed98d4 answered all five. The formula now names undocumented, DACA and TPS and gives false to any other status. The schedule comments name each start's source and keep the statute's floors and deadlines apart. The changelog limits its reform sentence to the formula, and the national cases set is_pregnant: false. CI passed all 39 jobs there.
    • 70c6ab0410 rewrote the refugee and asylee line that the pre-review check and the first round had named, and changed nothing else.
    • The second round, at 70c6ab0410, asked for changes on one P2 finding and raised no P1. The new line overstated the gap: a refugee with was_in_foster_care set still reaches Medicaid through California's former foster youth coverage. The round closed all five first-round findings and listed three description corrections, which the description carries.
    • That round found that the commits since the first round change no baseline result, so a 2015 to 2024 rerun isn't owed. It matched every description quote in a source it could reach. The statute text stayed unverified behind leginfo's bot check. On methodology, it found that the sources don't establish a full TPS schedule.
    • 0fedf044c2 narrows the line as the second round asked: refugees and asylees who lose federal eligibility after October 2026 "fail this state-funded immigration test".
  • Methodology choices for maintainers:
    • DACA and TPS holders keep main's ages and dates through eligible_with_daca_or_tps.yaml, whose comment says its references don't date their coverage that way. Los Angeles County's manual treats DACA as PRUCOL. For TPS, federal law and the county manual point two ways. Cover DACA recipients under Medi-Cal at every age #11150 builds on this branch to cover DACA recipients at every age.
    • The two May starts keep their true dates, May 1, 2016 for children and May 1, 2022 for ages 50 and over. The annual variable reads them at January 1, so it applies them from 2017 and 2023 and leaves out May to December of 2016 and 2022. Dating them January 1 would count January to April as full-scope months, when California gave these groups restricted scope.
    • The formula names its three statuses and gives false to any other status on ca_state_funded_immigration_statuses. is_ca_medicaid_immigration_status_eligible now applies a reform of eligible_regardless_of_immigration_status to undocumented residents alone. Through WIC's family clause and the adult group's child coverage requirement, such a reform can still change results for other members of the household.
    • Pregnancy passes the test at every age, as on main. The postpartum period doesn't.
  • Gates checked live at merge:
    • gh pr checks exits 0;
    • the latest Pull request run at the head, 44631629896, passed and tested this head merged into main at 82f7439482;
    • MERGEABLE;
    • not a draft;
    • no reviewer's latest review requests changes;
    • the semantic-overlap guard: since 82f7439482, main has changed no area this PR touches. From the merge base 1d9f074ab1 to main at 92b2f276e3, main's 38 commits change 229 files and none of this PR's seven. They change nothing under states/ca/chhs, hhs/medicaid, hhs/chip or usda/wic. Main moved CURRENT_YEAR from 2024 to 2026 and added two constants to tools/parameters.py, and left backdate_parameters unchanged;
    • the merge pins the head.
  • Impact: No default result changes. From model year 2023 on, the corrected schedule and main's give the same value at every age, and the default dataset starts in 2024, so a population run for 2024 or later cannot move. Results change only in model years 2015 to 2019 and 2022, for nonpregnant undocumented California residents and for relatives whose results read their Medicaid enrollment. We did not measure those years.
  • Next:
  • Axiom: No module at rulespec-us main ddad6d63df encodes Cal. Welf. & Inst. Code 14007.8. Encode California's state-funded full-scope Medi-Cal for undocumented residents by age group and start date, and its 2026 enrollment freeze (Cal. Welf. & Inst. Code 14007.8) (PE-US #11125) TheAxiomFoundation/rulespec-us#2330 queued, a new pe-parity issue for its age groups, start days and 2026 freeze for undocumented residents, with companion rows from this PR's YAML. The signed encoder can't run yet. The corpus release that rulespec-us pins lacks the WIC title scope that holds 14007.8, and the start days come from budget summaries and the county manual, outside the corpus. The DACA and TPS schedule has no source to encode.

🤖 Generated with Claude Code

@MaxGhenis
MaxGhenis deleted the fix-ca-medi-cal-undocumented-start-dates branch November 20, 2026 07:57
MaxGhenis added a commit that referenced this pull request Nov 21, 2026
Main now holds #11125 as one squashed commit. This merge keeps main's tree
and this branch's version of each file the pull request changes, and leaves
eligible_with_daca_or_tps.yaml deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The model gives undocumented Californians aged 19 to 25 full-scope Medi-Cal from 2016, four years before the state's 2020 expansion

1 participant