Repository navigation
Conversation
medicaid_federal_share treated anyone who passed is_medicaid_immigration_status_eligible as federally matched. That variable also counts state-funded coverage (California's state-funded Medi-Cal, states flagged in the undocumented immigrant parameter), and is_medicaid_eligible adds California FFYP and Illinois HBI without any immigration test. So undocumented, DACA and five-year-bar enrollees got the 90% expansion FMAP or the regular FMAP. 42 U.S.C. 1396b(v)(1) bars Title XIX payment for anyone who fails the federal immigration test, apart from emergency services ((v)(2)) and the lawfully residing option ((v)(4), already in the federal test). The formula now uses is_federal_medicaid_immigration_status_eligible and gives no federal share to any enrollee without a federally matched route, which generalizes the existing Rhode Island postpartum case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For generated enrollees across states, immigration statuses, categories and years, the federal share is 0 whenever the federal immigration test fails or the category is NONE, is the regular FMAP for other categories, and federal plus state cost equals medicaid_cost. The test fails on the previous formula, which matched state-funded enrollees. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The federal Medicaid immigration test now gates the federal share, so it needs the 8 U.S.C. 1613(b)(2) exemption for qualified noncitizens who are veterans, on active duty, or their spouses or dependent children. It reuses is_snap_alien_military_connected, which implements the same exemption. Also cite 42 U.S.C. 1396b(v)(1), (4) and (5) and 8 U.S.C. 1611 and 1613 for their separate limits instead of attributing all of them to (v)(1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…children Adds 2027 cases (a permanent resident on active duty passes, a refugee on active duty fails) and an Alabama dependent-child case. Notes in the SNAP military variable and parameters that Medicaid, the Medicare Savings Programs and Nevada LIHEAP share them, and says the dependent-child ages are borrowed from SNAP since federal Medicaid law sets none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep main's New Jersey Cover All Kids cases 19 to 22 in is_medicaid_immigration_status_eligible.yaml and renumber this branch's six military-exemption cases to 23 to 28. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New York treats DACA recipients as permanently residing under color of law and covers them with state-funded Medicaid. The Essential Plan covered them from August 1, 2024 to June 30, 2026. The model gave them no Medicaid route in any year. - gov.states.ny.hhs.medicaid.state_funded_immigration_statuses lists DACA from 2015-01-01, empties on 2024-08-01 and lists DACA again from 2026-07-01. - is_ny_medicaid_immigration_status_eligible reads the list, and is_medicaid_immigration_status_eligible adds the New York route. Annual calculations read the list on January 1, so the route applies through 2024 and from 2027. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
8 tasks done
The CHIP unborn-child route for New York starts in 2024 and covers a pregnant person who is not eligible for Medicaid. Two cases show that a pregnant DACA recipient reaches Medicaid in 2024, while DACA is on the state-funded list, and keeps the unborn-child route in 2025. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- The variable documentation gives the ages and income the Essential Plan took. - The parameter file notes that the 2014 notice also counts Temporary Protected Status as PRUCOL and that the list does not hold it, and gives the Federal Register rule its full title. - Case 7 also asserts the CHIP immigration test, which this change leaves alone. Case 8 no longer pins the Medicaid immigration result for a TPS adult. No parameter value or formula changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis
marked this pull request as ready for review
November 19, 2026 10:09
- The parameter comments, test header, changelog and documentation say who the Essential Plan covered (ages 19 to 64 up to 250% of the poverty line), that it was due to start on August 1, 2024, and that pregnant and postpartum recipients at any level also return to Medicaid on July 1, 2026. - Case 7 uses a 17-year-old: a DACA recipient could not be 10 in 2019. - Case 15: an 18-year-old in 2025 fails the immigration test, since the list empties at every age. - Case 16: a 30-year-old with no work activity fails the Medicaid work requirement in 2027. No parameter value or formula changes, and no existing expected test value changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
That change gives a Medicaid enrollee who fails the federal immigration test a federal share of 0. New York pays alone for the DACA route this branch adds, so the two belong together. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…t take The route closed for every DACA recipient on August 1, 2024 and reopened on July 1, 2026. The Essential Plan took recipients aged 19 to 64, so the route now stays open after August 2024 for those under 19 or aged 65 or older, through a new age schedule that the variable reads by age alone. The model no longer applies the return of some adults to Medicaid on July 1, 2026: an adult aged 19 to 64 reads from 2025 on the result they had before the route existed. Results for 2015 to 2024 stay the same. The test cases are named for what they assert. New cases cover ages 17 to 19 in 2025 and 18 in 2026, the upper age of the schedule, an adult with an emergency condition in 2027, the federal share of 0 for an enrolled adult, and a citizen parent whose 18-year-old DACA dependent enrolls. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A comment in the emergency Medicaid case stated the Medicaid eligibility rule with a stray NOT. The changelog and three comments said the Essential Plan took every recipient aged 19 to 64. It was due to take those with income up to 250% of the poverty line, and the model takes every recipient at those ages out of the route. The schedule's comment now gives the July 1, 2026 groups as the state described them, says the age test is an approximation above 250%, and says what the model gives these adults from 2026. Cases at 64 and 65 pin the schedule's upper threshold, and the mixed-status household case asserts the parent's adult-group category. Three cases assert program results: an 18-year-old is Medicaid eligible in 2025, a pregnant 18-year-old reaches Medicaid and not the CHIP unborn-child route in 2026, and a 30-year-old has neither Medicaid nor the Essential Plan in 2026. No parameter value, formula or existing expected value changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 20, 2026
Merged
…me case The age schedule's description called it Essential Plan eligibility. It now says what the model does: it leaves DACA recipients at these ages out of New York's Medicaid immigration route from August 1, 2024. The comments say that an adult's own immigration test is unchanged, that a child's coverage can still change an adult's category and emergency Medicaid result, and that the CHIP unborn-child route blocks the model's Essential Plan for a pregnant recipient. The route still reads age alone, so it leaves out a recipient aged 19 to 64 above 250% of the poverty line, whom the Essential Plan could not take. The schedule's comment records that limit and why the formula reads no income: Medicaid's income level reaches the immigration test through other programs, so reading it raises a cycle, and the tax unit's income level is not Medicaid's measure. A new case pins the limit for a blind recipient with medical expenses. Four more cases follow a blind DACA child whose parent's income is now deemed to them, each beside a citizen child. At the higher income both children end with no Medicaid category. With no income of their own the DACA child is medically needy and the citizen child is not, because that group reads SSI's deeming; the cases pin both results. No formula, parameter value or existing expected value changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
8 tasks done
This was referenced Nov 21, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
New York gives Deferred Action for Childhood Arrivals (DACA) recipients state-funded Medicaid if they otherwise qualify, as its Department of Health said in 2018 and NY State of Health said in June 2026. No route to full Medicaid in the model reached them (#11128). New York planned to move recipients aged 19 to 64 with income up to 250% of the poverty line to the Essential Plan on August 1, 2024, if they met the plan's other criteria. NY State of Health's June 2026 webinar shows DACA enrollees in the Essential Plan until June 30, 2026, and says some of them move to Medicaid on July 1, 2026. This PR does not model that return.
DACA requires continuous residence in the United States since June 15, 2007 and birth on or after June 16, 1981 (USCIS). So the second row reaches real recipients only at ages 17 or 18 in 2025 and 18 in 2026, and in 2027 and 2028 the model gives every real recipient main's result.
is_ny_medicaid_immigration_status_eligible, reads the listgov.states.ny.hhs.medicaid.state_funded_immigration_statusesand a new age schedule,gov.states.ny.hhs.medicaid.daca_in_essential_plan, of the ages the model leaves out of the Medicaid immigration route.is_medicaid_immigration_status_eligibleadds the New York route beside California's.How an annual period rounds 2024 and 2026
The model reads the list and the schedule on January 1 of each year.
The model leaves out the return to Medicaid on July 1, 2026. The webinar says NY State of Health moves enrollees in Essential Plan 3 or 4 to Medicaid on that date, and pregnant or 12-month postpartum enrollees at any Essential Plan level. Other enrollees with income over 138% of the poverty line lose Essential Plan coverage on June 30, 2026. From 2025 a DACA adult aged 19 to 64 fails the Medicaid immigration test, as on main, so the model's federal work requirement, which starts in 2027, never bars one. Their own immigration test does not change, but a child's coverage can still change their Medicaid category and emergency Medicaid result, through the adult group's child-coverage rule. We leave the return, the model-year 2026 gap and whether New York applies the work requirement to the adults who return to a follow-up issue.
What follows from the test
The route covers every DACA recipient in New York through 2024, and from 2025 those under 19 or aged 65 or older. For them:
A recipient who meets Medicaid's other rules, a qualifying category among them, becomes
is_medicaid_eligible.is_medicaid_long_term_care_eligiblereads that result, so it can change for one who also receives long-term services and supports and passes the home-equity test. The model applies its work requirement from 2027 to its adult group and adult-like demonstration category, with exemptions. After 2024 the route covers none of the adult group's ages, 19 to 64.The model's CHIP unborn-child route for New York starts in 2024. It covers a pregnant person whom Medicaid does not cover, if they meet its own income and coverage checks. A pregnant recipient whom the route makes eligible for Medicaid leaves the unborn-child route. From 2025 a pregnant recipient aged 19 to 64 can keep it, as on main, and a postpartum recipient no longer pregnant cannot use it.
medicaid_federal_sharegives these enrollees 0, because they fail the federal immigration test and New York pays for this coverage alone. Zero Medicaid federal share for state-funded immigrant coverage #10950 sets that rule, and Case 21 asserts it for an enrolled 30-year-old in 2019.is_emergency_medicaid_eligibleturns false for them, because they now pass the immigration test. One with a Medicaid category becomesis_medicaid_eligible, since the work requirement never bars them.Passing the test changes how the model counts a parent's income for a blind or disabled DACA child under 18. In the aged, blind and disabled group (
is_optional_senior_or_disabled_for_medicaid), the model now deems the parent's income to the child, as it does for a citizen child. Its deeming there reaches a blind or disabled child who passes the Medicaid immigration test. The medically needy group does not: it readsssi_countable_income, and SSI's deeming passes a parent's income only to a citizen or SSI-qualified noncitizen child. Where the deemed income takes the child out of the aged, blind and disabled group, the result turns on the child's own income. Cases 29 to 32 follow a New York family in 2019: a blind 17-year-old with an emergency condition, and a parent earning $100,000.is_medicaid_eligible(Case 31). The citizen child has no Medicaid category (Case 32).The second result comes from the model, not from the deeming rules: as The model counts no parental income for a disabled child who fails Medicaid's immigration test and grants emergency Medicaid a citizen child would not get #11195 reads them, those rules count a parent's income for such a child whatever the child's immigration status. The model ties parental deeming to an immigration test, Medicaid's in one group and SSI's in the other. Main already gives this result to a child who passes Medicaid's immigration test and fails SSI's. The example worked in The model counts no parental income for a disabled child who fails Medicaid's immigration test and grants emergency Medicaid a citizen child would not get #11195 has a disabled child with Temporary Protected Status in New York from 2022. The model counts no parental income for a disabled child who fails Medicaid's immigration test and grants emergency Medicaid a citizen child would not get #11195 tracks the fix for both groups, in code this PR does not touch.
WIC's categorical test passes a person enrolled in Medicaid, and every member of an SPM unit in which a pregnant or infant member has Medicaid. Lifeline counts any Medicaid enrollee in the SPM unit. The Affordable Connectivity Program reads Lifeline's program list, and the Emergency Broadband Benefit reads Lifeline eligibility. Through model year 2023, the Pell Grant's simplified formula counts a Medicaid enrollee in a tax unit whose head and spouse have income under $50,000. A recipient who enrolls can open these routes for themselves and for relatives.
From 2022 each new enrollee's
medicaid_costcounts inhousehold_health_benefitsif the simulation setsgov.simulation.include_health_benefits_in_net_incometo true.The adult group's child-coverage rule reads a child's Medicaid enrollment, and the parental deeming formula splits a parent's income among the blind or disabled children who pass the Medicaid immigration test. So a parent or sibling of a DACA child can move too. For example, a DACA parent aged 19 to 64 can join the adult group, and with an emergency condition gain emergency Medicaid, when their DACA child enrolls. In 2025 such a parent can also lose both if the child's new Medicaid eligibility blocks modeled Marketplace enrollment and the child has no qualifying coverage, including Medicaid enrollment.
The ACA diagnostic
coverage_report_model_conflictcounts modeled Medicaid enrollment as non-Marketplace coverage. A recipient who reported Marketplace coverage and now enrolls in Medicaid shows a conflict.In population runs,
medicaid_slcsp_state_denominatorspreads New York's Medicaid spending over the people the model enrolls, weighted by each one's cost index. A DACA recipient's enrollment adds to that denominator. Within a tax unit it can also change the family-tier numerator ofmedicaid_slcsp_family_tier_person_share, along with the count it divides by. For example, take two equally weighted New York households with equal base premiums in 2024: a single enrolled adult, and a DACA parent with an enrolled citizen child. When the parent enrolls, the child's share of the state's spending rises from 29.18% to 31.48%. A single-household calculation uses the calibrated denominator, and a reform calculation reuses the baseline's.A DACA recipient's own Essential Plan and premium tax credit immigration tests do not change. Their Essential Plan result does not change either: the Basic Health Program's list excludes DACA through 2024, and from 2025 the route covers only ages outside the Essential Plan's 19 to 64. Their premium tax credit result can change in 2025 alone, the one year the credit's list does not exclude DACA. The credit no longer covers a recipient under 19 or aged 65 or older whom the route makes eligible for Medicaid. In 2025 the credit's exception for lawfully present immigrants below the poverty line also reads the Medicaid immigration test, so such a recipient no longer opens it for their tax unit. A relative's result can change where a rule reads the recipient's Medicaid enrollment, as the bullets above show. For example, a citizen parent of an 18-year-old DACA child can move from the Essential Plan or the premium tax credit to Medicaid. Case 22 checks that parent's Medicaid result at about 135% of the poverty line in 2019.
Sources
www.health.ny.gov and info.nystateofhealth.ny.gov answered some scripted requests with HTTP 403. The quotes from the GIS and the webinar come from copies those sites served on November 18, 2026.
Methodology choices
A maintainer can change any of these defaults.
1. The model reads the state's dates on January 1. The rounding section shows what that does to 2024 and 2026. The other choice dates the schedule by model year. The tests check annual results, and none checks a month.
2. The test reads age alone. The application would move DACA recipients aged 19 to 64 up to 250% of the poverty line "assuming they meet the other criteria for the program" (PDF p. 24). The webinar says those who otherwise qualify for Medicaid and Child Health Plus "remain eligible for those programs". The schedule keeps the route for recipients under 19 or aged 65 or older. From model year 2025 every DACA recipient in New York aged 19 to 64 fails the test, whatever their income and whether or not the plan could take them.
The formula cannot read Essential Plan eligibility, because that reads Medicaid. It cannot read
medicaid_income_level, the measure that Medicaid's MAGI groups and the Basic Health Program use. That variable reaches the Medicaid immigration test through tax filing status, state and local income tax and other programs, so the model would depend on itself. The tax unit's income level,tax_unit_medicaid_income_level, measures income differently from Medicaid. For example, a tax dependent of a relative other than a parent can exceed 250% of the poverty line on the tax unit's measure and still fall inside the adult group on Medicaid's own.New York's statute sends to the plan only applicants and recipients "who are MAGI eligible" (Social Services Law 366(1)(g)(1)), so the age test also takes the route from recipients whom the statute leaves in Medicaid. For example, the plan could not take a blind or disabled recipient above 250% of the poverty line. Such a recipient can hold a medically needy category, which subtracts medical expenses from income, and still gets no Medicaid, the result they had before this PR. Case 28 pins one: a blind 30-year-old with $60,000 of wages and $60,000 of medical expenses in 2025. #11206 tracks this limit for blind and disabled recipients above 250% of the poverty line.
The age test also takes the route from pregnant and postpartum recipients, some of whom the webinar shows in the Essential Plan. From 2025 a pregnant recipient aged 19 to 64 can read the CHIP unborn-child route. A postpartum recipient no longer pregnant can read the Essential Plan in 2025 up to 250% of the poverty line if they meet its other tests. From 2026 they read no full Medicaid, Essential Plan or premium tax credit. The other choice reads income and other coverage directly, which needs a measure of Medicaid income that does not reach the immigration test. The application also says enrollees "would also qualify for Fee-for-Service Medicaid for a limited number of services not covered in Essential Plan" (PDF p. 25). The model leaves those services out.
3. The model leaves out the return to Medicaid on July 1, 2026. Modeling it needs a rule for model year 2026, when only some recipients moved, and an answer on the work requirement. From 2027 Medicaid's own rules would pick out who qualifies. The model's federal work requirement covers its adult group and adult-like demonstration category, with exemptions. If the model restored the immigration route from 2027, its work requirement could bar nonexempt recipients in the adult or adult-like demonstration category. Those barred would also fail the emergency Medicaid test because they pass the immigration test. No source read for this PR says whether New York applies that requirement to this state-funded group. Two changes would narrow the 2026 gap. Ending the schedule on 2026-01-01 gives Medicaid from 2026 on to adults aged 19 to 64 who meet Medicaid's other rules, the work requirement among them from 2027. It leaves others up to 250% of the poverty line with no Medicaid, Essential Plan or premium tax credit. Admitting DACA recipients to New York's Essential Plan for 2026 covers adults aged 19 to 64 up to 250% who meet its other rules, and changes the Basic Health Program.
4. The route starts in the model's first year. The model starts in 2015, and the 2014 notice shows New York counted deferred action as PRUCOL before then. The notice names deferred action in general, and neither it nor the GIS says when New York's coverage of DACA recipients began.
5. A state variable reads a status list and an age schedule. California's state-funded route also uses a state variable that reads a status list and an age schedule. New York's variable applies the Essential Plan's age boundary, which a list alone cannot express. The other choice uses a by-state parameter under
gov.hhs.medicaid.eligibility, as #11130 does for undocumented residents.Proposed follow-ups
Invariants
Compared with #10950's branch, this PR's own change keeps these for
is_medicaid_immigration_status_eligibleandis_chip_immigration_status_eligible:YAML cases pin the third and fourth at single points, and Case 10 pins the second for one New Jersey resident.
Test plan
is_medicaid_eligiblein 2019 and to the Essential Plan in 2025. Cases 13 and 14 follow a pregnant 30-year-old to Medicaid in 2024 and to the unborn-child route in 2025, and Case 14 asserts that the Essential Plan does not take them.is_medicaid_eligiblefail, andis_emergency_medicaid_eligiblepasses.medicaid_federal_shareof 0 for an enrolled 30-year-old in 2019. Case 22 follows a citizen parent aged 45 with an 18-year-old DACA dependent at about 135% of the poverty line in 2019, and asserts the parent's adult-group category.is_medicaid_eligiblein 2025. A pregnant 18-year-old reaches Medicaid in 2026, not the CHIP unborn-child route. A 30-year-old has neither Medicaid nor the Essential Plan in 2026.is_medicaid_immigration_status_eligiblefrom fail to pass for a DACA recipient in New York, and the 272 match the set the invariants predict. Nois_chip_immigration_status_eligiblecell moves. This head changes no formula or parameter value from 4467f36.changelog.d/.Related
is_medicaid_immigration_status_eligible.yaml, which this branch carries from Zero Medicaid federal share for state-funded immigrant coverage #10950.git merge-treeof this head with each of Limit New York and Massachusetts Medicaid for undocumented residents #11130, Remove the years_since_us_entry default of 5 #9732, Date California Medi-Cal expansions for undocumented residents at their effective dates #11125 and Cover DACA recipients under Medi-Cal at every age #11150 finds no conflict. Limit New York and Massachusetts Medicaid for undocumented residents #11130 editsis_medicaid_immigration_status_eligiblea few lines above this PR's change.immigration_status_stris an input with no formula, and the route covers every DACA recipient in 2024, the default dataset's year.Microsimulation impact
To be measured before merge.
axiom: needed
Part of #11128
🤖 Generated with Claude Code