From 5f8c7748b1f3c840a308e6d53153a1b2805b01cb Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 19:07:17 -0500 Subject: [PATCH 01/11] Zero Medicaid federal share for state-funded immigrant coverage 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 --- ...dicaid-state-funded-federal-share.fixed.md | 1 + .../costs/medicaid_federal_share.yaml | 161 ++++++++++++++++++ .../medicaid/costs/medicaid_federal_share.py | 36 ++-- 3 files changed, 187 insertions(+), 11 deletions(-) create mode 100644 changelog.d/fix-medicaid-state-funded-federal-share.fixed.md diff --git a/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md b/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md new file mode 100644 index 00000000000..2deffa4cb46 --- /dev/null +++ b/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md @@ -0,0 +1 @@ +Medicaid federal share is now zero for enrollees who fail the federal immigration test and reach Medicaid only through state-funded coverage, such as California's state-funded Medi-Cal, Illinois Health Benefits for Immigrants and states that cover undocumented immigrants. diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml index ee57b302434..c417ac98dfe 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml @@ -282,3 +282,164 @@ medicaid_category: [ADULT, ADULT, PREGNANT, SSI_RECIPIENT] medicaid_enrolled: [true, true, true, true] medicaid_federal_share: [0.9, 0.9, 0.5501, 0.5501] + +# 42 U.S.C. 1396b(v)(1) bars Title XIX payment for anyone who fails the federal +# immigration test, apart from emergency services under (v)(2) and the lawfully +# residing children and pregnant people option under (v)(4). California covers +# undocumented, DACA and TPS residents and former foster youth regardless of +# immigration status, and uses state funds where federal participation is +# unavailable (Cal. Welf. & Inst. Code § 14007.8(a), (b)(3) and (f)(2)). +# Former foster youth who pass the federal test are in the Title XIX former +# foster care group (42 CFR 435.150) and keep a match, as does a TPS child +# under California's lawfully residing election. FY2025 FMAP: CA 50%. +# https://www.law.cornell.edu/uscode/text/42/1396b#v +# https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=14007.8.&lawCode=WIC +# https://www.ecfr.gov/current/title-42/section-435.150 +- name: California state-funded Medi-Cal and former foster youth coverage get no federal share without federal immigration status. + period: 2025 + input: + people: + person1: + # Undocumented adult covered by state-funded full-scope Medi-Cal. + age: 30 + immigration_status: UNDOCUMENTED + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + medicaid_cost: 1_000 + person2: + # Lawful permanent resident within the five-year bar, reached only + # through the Former Foster Youth Program. + age: 22 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + was_in_foster_care: true + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person3: + # DACA is not lawfully residing for the (v)(4) option. + age: 10 + immigration_status: DACA + medicaid_category: OLDER_CHILD + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person4: + age: 30 + immigration_status: CITIZEN + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + medicaid_cost: 1_000 + person5: + age: 22 + immigration_status: CITIZEN + was_in_foster_care: true + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person6: + age: 10 + immigration_status: TPS + medicaid_category: OLDER_CHILD + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + households: + household: + members: [person1, person2, person3, person4, person5, person6] + state_code: CA + output: + is_federal_medicaid_immigration_status_eligible: [false, false, false, true, true, true] + ca_ffyp_eligible: [false, true, false, false, true, false] + medicaid_enrolled: [true, true, true, true, true, true] + medicaid_federal_share: [0, 0, 0, 0.9, 0.9, 0.5] + medicaid_federal_cost: [0, 0, 0, 900, 0, 0] + medicaid_state_cost: [1_000, 0, 0, 100, 0, 0] + +# Illinois Health Benefits for Immigrants covers noncitizens who are not +# eligible for Medicaid because of their immigration status (305 ILCS +# 5/12-4.35); HFS calls HBIS and the related programs state-funded. HBIA +# (ages 42 to 64) ended July 1, 2025, so this uses 2025, read at January 1. +# A citizen and a lawful permanent resident past the five-year bar keep the +# expansion FMAP. +# https://www.ilga.gov/Documents/legislation/ilcs/documents/030500050K12-4.35.htm +# https://hfs.illinois.gov/medicalclients/healthbenefitsforimmigrants.html +- name: Illinois Health Benefits for Immigrants enrollees get no federal share, while federally eligible adults keep the expansion FMAP. + period: 2025 + input: + people: + person1: + age: 50 + immigration_status: UNDOCUMENTED + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person2: + age: 10 + immigration_status: UNDOCUMENTED + medicaid_category: OLDER_CHILD + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person3: + age: 50 + immigration_status: CITIZEN + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person4: + age: 50 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 10 + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + households: + household: + members: [person1, person2, person3, person4] + state_code: IL + output: + il_hbi_eligible: [true, true, false, false] + medicaid_enrolled: [true, true, true, true] + medicaid_federal_share: [0, 0, 0.9, 0.9] + +# The District covers undocumented residents through locally funded coverage, +# and 42 U.S.C. 1396b(v)(1) bars a Title XIX match for it. A citizen keeps the +# expansion FMAP. +# https://www.law.cornell.edu/uscode/text/42/1396b#v +- name: An undocumented adult covered through state-funded coverage gets no federal share. + period: 2025 + input: + people: + person1: + age: 30 + immigration_status: UNDOCUMENTED + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person2: + age: 30 + immigration_status: CITIZEN + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + households: + household: + members: [person1, person2] + state_code: DC + output: + is_medicaid_immigration_status_eligible: [true, true] + is_federal_medicaid_immigration_status_eligible: [false, true] + medicaid_enrolled: [true, true] + medicaid_federal_share: [0, 0.9] diff --git a/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py b/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py index b9bf95ca8d5..a84ef943214 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py +++ b/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py @@ -9,19 +9,32 @@ class medicaid_federal_share(Variable): "Federal medical assistance percentage applied to this enrollee's " "Medicaid expenditures. Uses the ACA expansion FMAP for expansion " "adults (42 U.S.C. 1396d(y)) and the state's regular FMAP for all " - "other enrollment groups (42 U.S.C. 1396d(b)). Rhode Island's " - "postpartum continuation receives no Title XIX match unless the " - "pregnancy was covered by Medicaid and the enrollee meets Medicaid " - "immigration requirements: RIte Start serves people not eligible " + "other enrollment groups (42 U.S.C. 1396d(b)). Title XIX pays only " + "for an enrollee in a Medicaid group who meets the federal " + "immigration test, which includes the lawfully residing option for " + "children and pregnant people (42 U.S.C. 1396b(v)(1) and (4)). Every " + "other enrollee reaches Medicaid only through state-funded coverage " + "and gets no federal share. That coverage includes state coverage " + "regardless of immigration status (California's state-funded " + "Medi-Cal, former foster youth coverage included, and states that " + "cover undocumented immigrants) and Illinois Health Benefits for " + "Immigrants. It also includes Rhode Island's postpartum continuation " + "outside the pregnancy group: RIte Start serves people not eligible " "under Title XIX or XXI, and CHIP and FCEP pregnancies are Title XXI " "coverage. An enrollee who also meets a federally matched group keeps " - "that group's match. Separate Title XXI health services " - "initiative funding is not included here." + "that group's match. Title XIX matches emergency services for " + "enrollees who fail the immigration test (42 U.S.C. 1396b(v)(2)), but " + "per-enrollee cost is not split by service, so that match is not " + "included. Separate Title XXI health services initiative funding is " + "not included either." ) unit = "/1" definition_period = YEAR reference = ( "https://www.law.cornell.edu/uscode/text/42/1396d", + "https://www.law.cornell.edu/uscode/text/42/1396b#v", + "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=14007.8.&lawCode=WIC", + "https://www.ilga.gov/Documents/legislation/ilcs/documents/030500050K12-4.35.htm", "https://webserver.rilegislature.gov/Statutes/TITLE42/42-12.3/42-12.3-3.htm", "https://www.medicaid.gov/medicaid/spa/downloads/RI-22-0024.pdf#page=7", "https://www.medicaid.gov/CHIP/Downloads/RI-22-0026.pdf#page=2", @@ -34,13 +47,14 @@ def formula(person, period, parameters): regular_fmap = p.fmap[state] category = person("medicaid_category", period) categories = category.possible_values + # 42 U.S.C. 1396b(v)(1) bars Title XIX payment for an enrollee who + # fails the federal immigration test, apart from emergency services. + # is_medicaid_immigration_status_eligible also counts state-funded + # coverage, so the federal test is used here. federally_matched_route = (category != categories.NONE) & person( - "is_medicaid_immigration_status_eligible", period - ) - no_federal_medicaid_match = ( - person("ri_medicaid_state_funded_postpartum_eligible", period) - & ~federally_matched_route + "is_federal_medicaid_immigration_status_eligible", period ) + no_federal_medicaid_match = ~federally_matched_route return select( [ no_federal_medicaid_match, From d10e54134ad07ed5ee7646183472a0ebfc5edaec Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:40:47 -0500 Subject: [PATCH 02/11] Add property test for Medicaid federal share invariants 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 --- .../test_medicaid_federal_share_invariants.py | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 policyengine_us/tests/test_medicaid_federal_share_invariants.py diff --git a/policyengine_us/tests/test_medicaid_federal_share_invariants.py b/policyengine_us/tests/test_medicaid_federal_share_invariants.py new file mode 100644 index 00000000000..b37137a9884 --- /dev/null +++ b/policyengine_us/tests/test_medicaid_federal_share_invariants.py @@ -0,0 +1,127 @@ +"""Property tests: Medicaid federal share for enrollees without federal status. + +42 U.S.C. 1396b(v)(1) bars Title XIX payment for medical assistance to anyone +who fails the federal immigration test, apart from emergency services under +(v)(2) and the lawfully residing children and pregnant people option under +(v)(4). is_federal_medicaid_immigration_status_eligible applies that test, +including (v)(4); is_medicaid_immigration_status_eligible also counts +state-funded coverage. https://www.law.cornell.edu/uscode/text/42/1396b#v + +For every generated person: + +1. medicaid_federal_share is between 0 and 1. +2. An enrollee who fails the federal immigration test, or whose Medicaid + category is NONE, gets 0, whichever route enrolled them (state coverage + regardless of immigration status, California FFYP, Illinois HBI or Rhode + Island's postpartum continuation). +3. An enrollee who passes the test in any category other than NONE or ADULT + gets the state's regular FMAP. An ADULT gets the regular or the expansion + FMAP. +4. An enrollee's federal and state costs add up to medicaid_cost, and a + person who is not enrolled has no federal share or cost. + +Each case is its own household, so states vary within one simulation. +""" + +import numpy as np +from hypothesis import given, settings, strategies as st + +from policyengine_us import Simulation + +STATES = ["CA", "IL", "DC", "NY", "OR", "MA", "RI", "TX", "FL", "WA"] +STATUSES = [ + "CITIZEN", + "LEGAL_PERMANENT_RESIDENT", + "REFUGEE", + "ASYLEE", + "DEPORTATION_WITHHELD", + "CUBAN_HAITIAN_ENTRANT", + "CONDITIONAL_ENTRANT", + "PAROLED_ONE_YEAR", + "UNDOCUMENTED", + "DACA", + "TPS", +] +CATEGORIES = [ + "INFANT", + "YOUNG_CHILD", + "OLDER_CHILD", + "YOUNG_ADULT", + "ADULT", + "PARENT", + "PREGNANT", + "SSI_RECIPIENT", + "SENIOR_OR_DISABLED", + "NONE", + "MEDICALLY_NEEDY", + "WORKING_DISABLED_BUY_IN", + "SECTION_1115_MEC_ADULT", +] + +case = st.tuples( + st.sampled_from(STATES), + st.sampled_from(STATUSES), + st.sampled_from([0, 5, 10, 17, 19, 22, 30, 45, 50, 64, 67]), + st.sampled_from(CATEGORIES), + st.sampled_from([0, 2, 6, 20]), + st.booleans(), + st.sampled_from([0, 0.5, 1, 1.38, 2, 4]), + st.booleans(), + st.integers(0, 20_000), +) + + +def situation(cases, year): + people, households = {}, {} + for index, spec in enumerate(cases): + state, status, age, category, years, foster, income, takes_up, cost = spec + name = f"person{index}" + people[name] = { + "age": {year: age}, + "immigration_status": {year: status}, + "years_since_us_entry": {year: years}, + "was_in_foster_care": {year: foster}, + "medicaid_category": {year: category}, + "medicaid_household_size": {year: 1}, + "medicaid_income_level": {year: income}, + "takes_up_medicaid_if_eligible": {year: takes_up}, + "medicaid_cost": {year: cost}, + } + households[f"household{index}"] = { + "members": [name], + "state_code": {year: state}, + } + return {"people": people, "households": households} + + +@settings(max_examples=8, deadline=None, derandomize=True) +@given( + st.sampled_from([2024, 2025, 2026, 2027]), + st.lists(case, min_size=1, max_size=40), +) +def test_federal_share_follows_federal_immigration_status(year, cases): + sim = Simulation(situation=situation(cases, year)) + share = sim.calculate("medicaid_federal_share", year) + enrolled = sim.calculate("medicaid_enrolled", year) + federal_status = sim.calculate( + "is_federal_medicaid_immigration_status_eligible", year + ) + category = sim.calculate("medicaid_category", year).decode_to_str() + cost = sim.calculate("medicaid_cost", year) + federal_cost = sim.calculate("medicaid_federal_cost", year) + state_cost = sim.calculate("medicaid_state_cost", year) + p = sim.tax_benefit_system.parameters(f"{year}-01-01").gov.hhs.medicaid + regular = np.array([p.cost_share.fmap[spec[0]] for spec in cases]) + expansion = p.cost_share.expansion_fmap + + assert np.all((share >= 0) & (share <= 1)) + matched = enrolled & federal_status & (category != "NONE") + assert np.all(share[~matched] == 0) + other = matched & (category != "ADULT") + assert np.allclose(share[other], regular[other]) + adult = matched & (category == "ADULT") + assert np.all( + np.isclose(share[adult], regular[adult]) | np.isclose(share[adult], expansion) + ) + assert np.allclose(federal_cost[enrolled] + state_cost[enrolled], cost[enrolled]) + assert np.all(federal_cost[~enrolled] == 0) From 6f21b53488145b848daf76ac555559c6f3088245 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 09:49:34 -0500 Subject: [PATCH 03/11] Exempt military-connected noncitizens from the Medicaid five-year bar 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 --- ...dicaid-state-funded-federal-share.fixed.md | 2 +- .../costs/medicaid_federal_share.yaml | 77 ++++++++++++++++++- ..._medicaid_immigration_status_eligible.yaml | 37 +++++++++ .../test_medicaid_federal_share_invariants.py | 14 ++-- .../medicaid/costs/medicaid_federal_share.py | 24 ++++-- ...al_medicaid_immigration_status_eligible.py | 22 +++++- 6 files changed, 157 insertions(+), 19 deletions(-) diff --git a/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md b/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md index 2deffa4cb46..cb2057518f6 100644 --- a/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md +++ b/changelog.d/fix-medicaid-state-funded-federal-share.fixed.md @@ -1 +1 @@ -Medicaid federal share is now zero for enrollees who fail the federal immigration test and reach Medicaid only through state-funded coverage, such as California's state-funded Medi-Cal, Illinois Health Benefits for Immigrants and states that cover undocumented immigrants. +Medicaid federal share is now zero for enrollees who fail the federal immigration test and reach Medicaid only through state-funded coverage, such as California's state-funded Medi-Cal, Illinois Health Benefits for Immigrants and states that cover undocumented immigrants. The federal Medicaid immigration test now exempts qualified noncitizens who are veterans, on active duty, or their spouses or dependent children from the five-year bar. diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml index c417ac98dfe..8e9c5e05bb4 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_federal_share.yaml @@ -283,9 +283,10 @@ medicaid_enrolled: [true, true, true, true] medicaid_federal_share: [0.9, 0.9, 0.5501, 0.5501] -# 42 U.S.C. 1396b(v)(1) bars Title XIX payment for anyone who fails the federal -# immigration test, apart from emergency services under (v)(2) and the lawfully -# residing children and pregnant people option under (v)(4). California covers +# Title XIX pays for noncitizens only within 42 U.S.C. 1396b(v)(1) and (5) and +# the qualified-noncitizen rules and five-year bar of 8 U.S.C. 1611 and 1613, +# apart from emergency services under (v)(2) and the lawfully residing children +# and pregnant people option under (v)(4). California covers # undocumented, DACA and TPS residents and former foster youth regardless of # immigration status, and uses state funds where federal participation is # unavailable (Cal. Welf. & Inst. Code § 14007.8(a), (b)(3) and (f)(2)). @@ -293,6 +294,7 @@ # foster care group (42 CFR 435.150) and keep a match, as does a TPS child # under California's lawfully residing election. FY2025 FMAP: CA 50%. # https://www.law.cornell.edu/uscode/text/42/1396b#v +# https://www.law.cornell.edu/uscode/text/8/1613 # https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=14007.8.&lawCode=WIC # https://www.ecfr.gov/current/title-42/section-435.150 - name: California state-funded Medi-Cal and former foster youth coverage get no federal share without federal immigration status. @@ -443,3 +445,72 @@ is_federal_medicaid_immigration_status_eligible: [false, true] medicaid_enrolled: [true, true] medicaid_federal_share: [0, 0.9] + +# 8 U.S.C. 1613(b)(2) exempts a qualified noncitizen on active duty, a veteran, +# and their spouse from the five-year bar, and 8 U.S.C. 1612(b)(2)(C) protects +# their Medicaid eligibility. They meet the federal test and keep the match. A +# permanent resident inside the bar without that connection reaches Medicaid +# only through Illinois Health Benefits for Immigrants and gets no federal +# share. Expansion adults get the 90% expansion FMAP. +# https://www.law.cornell.edu/uscode/text/8/1613#b_2 +# https://www.law.cornell.edu/uscode/text/8/1612#b_2_C +- name: Military-connected permanent residents inside the five-year bar keep the federal share in Illinois. + period: 2024 + input: + people: + person1: + age: 50 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 3 + is_military: true + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person2: + age: 50 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 3 + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person3: + age: 50 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 3 + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + person4: + age: 50 + immigration_status: CITIZEN + is_veteran: true + medicaid_category: ADULT + medicaid_household_size: 1 + medicaid_income_level: 1 + takes_up_medicaid_if_eligible: true + marital_units: + marital_unit1: + members: [person1] + marital_unit2: + members: [person2] + marital_unit3: + members: [person3, person4] + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + tax_unit3: + members: [person3, person4] + households: + household: + members: [person1, person2, person3, person4] + state_code: IL + output: + is_federal_medicaid_immigration_status_eligible: [true, false, true, true] + il_hbi_eligible: [false, true, false, false] + medicaid_enrolled: [true, true, true, true] + medicaid_federal_share: [0.9, 0, 0.9, 0.9] diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml index f1e11a9f544..ea99d7cb727 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml @@ -147,3 +147,40 @@ state_code: TX output: is_medicaid_immigration_status_eligible: false + +- name: Case 19, recent permanent resident on active duty in Texas is exempt from the five-year bar. + period: 2025 + input: + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + is_military: true + age: 30 + state_code: TX + output: + # 8 U.S.C. 1613(b)(2)(B) and 1612(b)(2)(C) + is_federal_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 20, recent permanent resident veteran in Texas is exempt from the five-year bar. + period: 2025 + input: + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + is_veteran: true + age: 30 + state_code: TX + output: + # 8 U.S.C. 1613(b)(2)(A) + is_federal_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 21, temporary protected status adult on active duty in Texas is not eligible, since the military exemption applies only to qualified noncitizens. + period: 2025 + input: + immigration_status: TPS + is_military: true + age: 30 + state_code: TX + output: + is_federal_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false diff --git a/policyengine_us/tests/test_medicaid_federal_share_invariants.py b/policyengine_us/tests/test_medicaid_federal_share_invariants.py index b37137a9884..8816fdb0796 100644 --- a/policyengine_us/tests/test_medicaid_federal_share_invariants.py +++ b/policyengine_us/tests/test_medicaid_federal_share_invariants.py @@ -1,11 +1,13 @@ """Property tests: Medicaid federal share for enrollees without federal status. -42 U.S.C. 1396b(v)(1) bars Title XIX payment for medical assistance to anyone -who fails the federal immigration test, apart from emergency services under -(v)(2) and the lawfully residing children and pregnant people option under -(v)(4). is_federal_medicaid_immigration_status_eligible applies that test, -including (v)(4); is_medicaid_immigration_status_eligible also counts -state-funded coverage. https://www.law.cornell.edu/uscode/text/42/1396b#v +Title XIX pays for medical assistance to noncitizens only within 42 U.S.C. +1396b(v)(1) and (5) and the qualified-noncitizen rules and five-year bar of +8 U.S.C. 1611 and 1613, apart from emergency services under (v)(2) and the +lawfully residing children and pregnant people option under (v)(4). +is_federal_medicaid_immigration_status_eligible applies that test, including +(v)(4); is_medicaid_immigration_status_eligible also counts state-funded +coverage. https://www.law.cornell.edu/uscode/text/42/1396b#v and +https://www.law.cornell.edu/uscode/text/8/1613 For every generated person: diff --git a/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py b/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py index a84ef943214..a22e9b0595d 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py +++ b/policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_federal_share.py @@ -11,8 +11,16 @@ class medicaid_federal_share(Variable): "adults (42 U.S.C. 1396d(y)) and the state's regular FMAP for all " "other enrollment groups (42 U.S.C. 1396d(b)). Title XIX pays only " "for an enrollee in a Medicaid group who meets the federal " - "immigration test, which includes the lawfully residing option for " - "children and pregnant people (42 U.S.C. 1396b(v)(1) and (4)). Every " + "immigration test. 42 U.S.C. 1396b(v)(1) bars payment for " + "noncitizens who are neither permanent residents nor permanently " + "residing under color of law. 8 U.S.C. 1611 and 1613 limit federal " + "benefits to qualified noncitizens and bar most of them for five " + "years after entry, with exemptions that include veterans, active " + "duty members and their families. From October 1, 2026, 42 U.S.C. " + "1396b(v)(5) limits payment to citizens, permanent residents, Cuban " + "and Haitian entrants and Compact of Free Association migrants. The " + "lawfully residing option for children and pregnant people (42 " + "U.S.C. 1396b(v)(4)) is an exception to these limits. Every " "other enrollee reaches Medicaid only through state-funded coverage " "and gets no federal share. That coverage includes state coverage " "regardless of immigration status (California's state-funded " @@ -33,6 +41,8 @@ class medicaid_federal_share(Variable): reference = ( "https://www.law.cornell.edu/uscode/text/42/1396d", "https://www.law.cornell.edu/uscode/text/42/1396b#v", + "https://www.law.cornell.edu/uscode/text/8/1611", + "https://www.law.cornell.edu/uscode/text/8/1613", "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=14007.8.&lawCode=WIC", "https://www.ilga.gov/Documents/legislation/ilcs/documents/030500050K12-4.35.htm", "https://webserver.rilegislature.gov/Statutes/TITLE42/42-12.3/42-12.3-3.htm", @@ -47,10 +57,12 @@ def formula(person, period, parameters): regular_fmap = p.fmap[state] category = person("medicaid_category", period) categories = category.possible_values - # 42 U.S.C. 1396b(v)(1) bars Title XIX payment for an enrollee who - # fails the federal immigration test, apart from emergency services. - # is_medicaid_immigration_status_eligible also counts state-funded - # coverage, so the federal test is used here. + # Title XIX pays for a noncitizen only within 42 U.S.C. 1396b(v)(1) + # and (5) and 8 U.S.C. 1611 and 1613, apart from emergency services + # under (v)(2) and the lawfully residing option under (v)(4). + # is_federal_medicaid_immigration_status_eligible applies those + # limits, (v)(4) included; is_medicaid_immigration_status_eligible + # also counts state-funded coverage. federally_matched_route = (category != categories.NONE) & person( "is_federal_medicaid_immigration_status_eligible", period ) diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py index 7318f57acf5..2b67dfb8080 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py @@ -9,8 +9,17 @@ class is_federal_medicaid_immigration_status_eligible(Variable): "Whether a person's immigration status allows federally funded Medicaid: " "a citizen, a qualified noncitizen who is exempt from or past the " "five-year bar, or a lawfully residing child or pregnant person in a " - "state that takes the option in 42 U.S.C. 1396b(v)(4). State-funded " - "coverage is left to is_medicaid_immigration_status_eligible. " + "state that takes the option in 42 U.S.C. 1396b(v)(4). The bar " + "exemptions include qualified noncitizens with a military connection: " + "veterans, active duty members and their spouses and dependent " + "children (8 U.S.C. 1613(b)(2)), whose Medicaid eligibility 8 U.S.C. " + "1612(b)(2)(C) also protects. That test uses " + "is_snap_alien_military_connected, which implements the same " + "exemption. The statute sets no ages for a dependent child, so the " + "ages come from the SNAP regulation (7 CFR 273.4(a)(6)(ii)(G)); " + "that variable's documentation lists the proxies and their limits. " + "State-funded coverage is left to " + "is_medicaid_immigration_status_eligible. " "Because this variable is YEAR-defined, the status list dated " "2026-10-01 is read at January 1, so the 42 U.S.C. 1396b(v)(5) " "narrowing that starts October 1, 2026 applies in the model only from " @@ -23,6 +32,8 @@ class is_federal_medicaid_immigration_status_eligible(Variable): "https://www.law.cornell.edu/uscode/text/42/1396b#v", "https://www.law.cornell.edu/uscode/text/42/1396b#v_4_A", "https://www.law.cornell.edu/uscode/text/8/1641", + "https://www.law.cornell.edu/uscode/text/8/1612#b_2_C", + "https://www.law.cornell.edu/uscode/text/8/1613#b_2", "https://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim-title8-section1613&num=0&edition=prelim", ) @@ -40,8 +51,13 @@ def formula(person, period, parameters): ) years_since_entry = person("years_since_us_entry", period.this_year) past_five_year_bar = years_since_entry >= p.five_year_bar_years + # 8 USC 1613(b)(2) exempts veterans, active duty members and their + # spouses and dependent children from the five-year bar, the same + # exemption SNAP applies. + military_connected = person("is_snap_alien_military_connected", period) federally_eligible_status = citizen | ( - eligible_immigration_status & (bar_exempt_status | past_five_year_bar) + eligible_immigration_status + & (bar_exempt_status | past_five_year_bar | military_connected) ) # 42 USC 1396b(v)(4) lets states cover lawfully residing children and # pregnant individuals without the qualified-alien limit or five-year bar. From 27f6c36ea2ff2269676336f26e2745ff54246b04 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 10:49:49 -0500 Subject: [PATCH 04/11] Test the military exemption after the October 2026 narrowing and for 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 --- .../military/child_age_threshold.yaml | 3 + .../military/student_age_threshold.yaml | 3 + ..._medicaid_immigration_status_eligible.yaml | 69 +++++++++++++++++++ ...al_medicaid_immigration_status_eligible.py | 7 +- .../is_snap_alien_military_connected.py | 6 +- 5 files changed, 84 insertions(+), 4 deletions(-) diff --git a/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/child_age_threshold.yaml b/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/child_age_threshold.yaml index 213783be83b..503ff28c0a5 100644 --- a/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/child_age_threshold.yaml +++ b/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/child_age_threshold.yaml @@ -6,6 +6,9 @@ description: The Department of Agriculture excludes military-connected dependent # 65 FR 70134 (November 21, 2000), effective January 20, 2001, and now at # 7 CFR 273.4(a)(6)(ii)(G)(3). Children under this age are also exempt under # 7 CFR 273.4(a)(6)(ii)(J). +# is_snap_alien_military_connected reads this parameter, and Medicaid, the +# Medicare Savings Programs and Nevada LIHEAP use that variable too, so a +# change here also changes them. Federal Medicaid law sets no ages. values: 2001-01-20: 18 diff --git a/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/student_age_threshold.yaml b/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/student_age_threshold.yaml index 85a1f2b758b..8ce18738933 100644 --- a/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/student_age_threshold.yaml +++ b/policyengine_us/parameters/gov/usda/snap/eligibility/waiting_period/exceptions/military/student_age_threshold.yaml @@ -5,6 +5,9 @@ description: The Department of Agriculture excludes military-connected full-time # they come from the regulation, first adopted as 7 CFR 273.4(a)(5)(ii)(G)(3) # by the final rule at 65 FR 70134 (November 21, 2000), effective January 20, # 2001, and now at 7 CFR 273.4(a)(6)(ii)(G)(3). +# is_snap_alien_military_connected reads this parameter, and Medicaid, the +# Medicare Savings Programs and Nevada LIHEAP use that variable too, so a +# change here also changes them. Federal Medicaid law sets no ages. values: 2001-01-20: 22 diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml index ea99d7cb727..247d0bb635c 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml @@ -184,3 +184,72 @@ output: is_federal_medicaid_immigration_status_eligible: false is_medicaid_immigration_status_eligible: false + +- name: Case 22, recent permanent resident on active duty in Texas stays exempt from the five-year bar after the October 2026 narrowing. + period: 2027 + input: + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + is_military: true + age: 30 + state_code: TX + output: + # 42 U.S.C. 1396b(v)(5)(B)(ii) keeps permanent residents; 8 U.S.C. + # 1613(b)(2)(B) still lifts their five-year bar. + is_federal_medicaid_immigration_status_eligible: true + +- name: Case 23, refugee on active duty in Texas fails the federal test after the October 2026 narrowing. + period: 2027 + input: + immigration_status: REFUGEE + years_since_us_entry: 0 + is_military: true + age: 30 + state_code: TX + output: + # 42 U.S.C. 1396b(v)(5) drops refugees; the military exemption only lifts + # the five-year bar and cannot restore the status. + is_federal_medicaid_immigration_status_eligible: false + +- name: Case 24, dependent child of an active duty parent in Alabama is exempt from the five-year bar until the dependent-child ages run out. + period: 2025 + input: + people: + person1: + age: 40 + immigration_status: CITIZEN + is_military: true + is_tax_unit_head: true + person2: + age: 10 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + is_tax_unit_dependent: true + is_tax_unit_spouse: false + person3: + age: 19 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + is_tax_unit_dependent: true + is_tax_unit_spouse: false + marital_units: + marital_unit1: + members: [person1] + marital_unit2: + members: [person2] + marital_unit3: + members: [person3] + tax_units: + tax_unit: + members: [person1, person2, person3] + households: + household: + members: [person1, person2, person3] + state_code: AL + output: + # 8 U.S.C. 1613(b)(2)(C). Alabama does not elect the lawfully residing + # option, so the 10-year-old passes only through the military exemption. + # The 19-year-old is not a full-time student or disabled, so is past the + # dependent-child ages the model borrows from 7 CFR 273.4(a)(6)(ii)(G)(3). + is_snap_alien_military_connected: [true, true, false] + is_federal_medicaid_immigration_status_eligible: [true, true, false] diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py index 2b67dfb8080..b4cc611e77c 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_federal_medicaid_immigration_status_eligible.py @@ -15,9 +15,10 @@ class is_federal_medicaid_immigration_status_eligible(Variable): "children (8 U.S.C. 1613(b)(2)), whose Medicaid eligibility 8 U.S.C. " "1612(b)(2)(C) also protects. That test uses " "is_snap_alien_military_connected, which implements the same " - "exemption. The statute sets no ages for a dependent child, so the " - "ages come from the SNAP regulation (7 CFR 273.4(a)(6)(ii)(G)); " - "that variable's documentation lists the proxies and their limits. " + "exemption. Federal Medicaid law sets no ages for a dependent child, " + "so the model borrows SNAP's (7 CFR 273.4(a)(6)(ii)(G)(3): under 18, " + "a full-time student under 22, or disabled); that variable's " + "documentation lists the proxies and their limits. " "State-funded coverage is left to " "is_medicaid_immigration_status_eligible. " "Because this variable is YEAR-defined, the status list dated " diff --git a/policyengine_us/variables/gov/usda/snap/eligibility/waiting_period/is_snap_alien_military_connected.py b/policyengine_us/variables/gov/usda/snap/eligibility/waiting_period/is_snap_alien_military_connected.py index d66c21f46a9..2eab5b59b6e 100644 --- a/policyengine_us/variables/gov/usda/snap/eligibility/waiting_period/is_snap_alien_military_connected.py +++ b/policyengine_us/variables/gov/usda/snap/eligibility/waiting_period/is_snap_alien_military_connected.py @@ -34,7 +34,11 @@ class is_snap_alien_military_connected(Variable): "under-applies the waiting period. Not modeled: the unremarried " "surviving spouse of a deceased veteran and the child of a deceased " "veteran who was dependent at the veteran's death. Set this variable " - "directly to override the proxies." + "directly to override the proxies. 8 U.S.C. 1613(b)(2) gives the same " + "exemption for other federal means-tested benefits, so " + "is_federal_medicaid_immigration_status_eligible (Medicaid and the " + "Medicare Savings Programs) and Nevada LIHEAP also use this variable; " + "an override, or a change to its parameters, changes them too." ) definition_period = YEAR reference = ( From cd81d378ff18fd4c7e43646b3623b010be188958 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 02:20:07 +0000 Subject: [PATCH 05/11] Give DACA recipients New York state-funded Medicaid 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 --- ...fix-ny-daca-state-funded-medicaid.fixed.md | 1 + .../state_funded_immigration_statuses.yaml | 40 +++++ ..._medicaid_immigration_status_eligible.yaml | 158 ++++++++++++++++++ ...is_medicaid_immigration_status_eligible.py | 6 + ...ny_medicaid_immigration_status_eligible.py | 30 ++++ 5 files changed, 235 insertions(+) create mode 100644 changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md create mode 100644 policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml create mode 100644 policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py diff --git a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md new file mode 100644 index 00000000000..72fbb5f14ce --- /dev/null +++ b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md @@ -0,0 +1 @@ +Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid before August 1, 2024 and from July 1, 2026, the months around their Essential Plan coverage. Annual calculations apply it from 2015 through 2024 and from 2027. diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml new file mode 100644 index 00000000000..8c088abccdc --- /dev/null +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml @@ -0,0 +1,40 @@ +description: New York covers these immigration statuses under the Medicaid program with state funds. +# Undocumented residents follow the parameters under +# gov.hhs.medicaid.eligibility, not this list. +values: + # New York treats Deferred Action for Childhood Arrivals recipients as + # permanently residing under color of law (PRUCOL) and gives them + # state-funded Medicaid. GIS 18 MA/005, effective April 2, 2018, keeps + # them eligible after the federal plan to end DACA. The Department of + # Health's client notice of October 10, 2014 lists deferred action among + # the PRUCOL statuses. + 2015-01-01: + - DACA + # The Essential Plan covers DACA recipients aged 19 to 64 with income up + # to 250% of the poverty level from August 1, 2024. YEAR-defined formulas + # read January 1, so this value first applies in 2025. The list empties + # for every age, though the Essential Plan covers ages 19 to 64 only. + 2024-08-01: + [] + # NY State of Health ends Essential Plan coverage for DACA recipients on + # June 30, 2026, and those in Essential Plan 3 or 4 become eligible for + # Medicaid on July 1, 2026. YEAR-defined formulas read January 1, so this + # value first applies in 2027. + 2026-07-01: + - DACA + +metadata: + unit: list + period: year + label: New York state-funded Medicaid immigration statuses + reference: + - title: "New York State Department of Health, GIS 18 MA/005, Continuation of State Funded Medicaid for Deferred Action for Childhood Arrivals (DACA)" + href: https://www.health.ny.gov/health_care/medicaid/publications/gis/18ma005.htm + - title: "New York section 1332 waiver application (December 18, 2023)" + href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24 + - title: New York State Department of Health, client notice D61-C0332 + href: https://ohipdocs.health.ny.gov/ohipdocs/web/system/files/ohiprepos/shared_documents/2019-11/D61C0332.pdf + - title: "89 FR 39392, Clarifying the Eligibility of Deferred Action for Childhood Arrivals (DACA) Recipients and Certain Other Noncitizens" + href: https://www.govinfo.gov/content/pkg/FR-2024-05-08/pdf/2024-09661.pdf#page=1 + - title: "NY State of Health, Changes for 2026 (webinar, June 17, 2026)" + href: https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml new file mode 100644 index 00000000000..22fc6055316 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -0,0 +1,158 @@ +# New York gives DACA recipients state-funded Medicaid as residents +# permanently residing under color of law. The Essential Plan covered them +# from August 1, 2024 to June 30, 2026, and annual calculations read the +# status list at January 1. + +- name: Case 1, DACA 30-year-old is eligible in 2019. + period: 2019 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # DACA is on the list at 2019-01-01 (from 2015-01-01). + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 2, DACA 30-year-old is eligible in 2015. + period: 2015 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # The list's first value starts on 2015-01-01. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 3, DACA 30-year-old is eligible in 2024. + period: 2024 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # The list empties on 2024-08-01, after 2024-01-01. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 4, DACA 30-year-old is ineligible in 2025. + period: 2025 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # The list is empty at 2025-01-01 (from 2024-08-01). + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +- name: Case 5, DACA 30-year-old is ineligible in 2026. + period: 2026 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # The list is empty at 2026-01-01. DACA returns on 2026-07-01, which annual + # calculations read from 2027. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +- name: Case 6, DACA 30-year-old is eligible in 2027. + period: 2027 + input: + age: 30 + immigration_status: DACA + state_code: NY + output: + # DACA is on the list at 2027-01-01 (from 2026-07-01). + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 7, DACA 10-year-old is eligible in 2019. + period: 2019 + input: + age: 10 + immigration_status: DACA + state_code: NY + output: + # The list sets no age limit. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 8, TPS 30-year-old is not on the list in 2019. + period: 2019 + input: + age: 30 + immigration_status: TPS + state_code: NY + output: + # The list holds DACA alone. A TPS adult also fails the federal test. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +- name: Case 9, undocumented 30-year-old is not on the list in 2019. + period: 2019 + input: + age: 30 + immigration_status: UNDOCUMENTED + state_code: NY + output: + # The list holds DACA alone. + is_ny_medicaid_immigration_status_eligible: false + +- name: Case 10, DACA 30-year-old in New Jersey is ineligible in 2019. + period: 2019 + input: + age: 30 + immigration_status: DACA + state_code: NJ + output: + # The variable is defined for New York alone. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +# A DACA adult with no income reaches Medicaid through the state-funded route. +- name: Case 11, DACA 30-year-old with no income is Medicaid eligible in 2019. + period: 2019 + input: + people: + person1: + age: 30 + is_pregnant: false + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # No income is below New York's adult limit of 138% of the poverty line. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + is_medicaid_eligible: true + is_basic_health_program_eligible: false + +# In 2025 the same adult fails the Medicaid immigration test and qualifies +# for the Essential Plan below its income floor. +- name: Case 12, DACA 30-year-old with no income gets the Essential Plan in 2025. + period: 2025 + input: + people: + person1: + age: 30 + is_pregnant: false + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # DACA is off the Basic Health Program's ineligible list at 2025-01-01 + # (from 2024-11-01), and the person fails the Medicaid immigration test. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + is_medicaid_eligible: false + is_basic_health_program_eligible: true diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py index d5c4dd14a2d..9cf00dce549 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py @@ -40,10 +40,16 @@ def formula(person, period, parameters): ca_eligible_regardless_of_immigration_status = person( "is_ca_medicaid_immigration_status_eligible", period ) + # New York covers some statuses outside the federal test with state + # funds. + ny_state_funded_eligible = person( + "is_ny_medicaid_immigration_status_eligible", period + ) return ( federally_eligible | undocumented_eligible | child_eligible_regardless_of_status | ca_eligible_regardless_of_immigration_status + | ny_state_funded_eligible ) diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py new file mode 100644 index 00000000000..956a6f02ab6 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -0,0 +1,30 @@ +from policyengine_us.model_api import * + + +class is_ny_medicaid_immigration_status_eligible(Variable): + value_type = bool + entity = Person + label = "Eligible for New York state-funded Medicaid by immigration status" + definition_period = YEAR + reference = ( + "https://www.health.ny.gov/health_care/medicaid/publications/gis/18ma005.htm", + "https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24", + "https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15", + ) + documentation = """ + New York gives state-funded Medicaid to residents it treats as + permanently residing under color of law, Deferred Action for Childhood + Arrivals recipients among them. The Essential Plan covered those + recipients from August 1, 2024 to June 30, 2026. This variable is + YEAR-defined and reads the status list at January 1, so the model + applies the Medicaid route through 2024 and again from 2027. + """ + defined_for = StateCode.NY + + def formula(person, period, parameters): + p = parameters(period).gov.states.ny.hhs.medicaid + immigration_status = person("immigration_status", period) + return np.isin( + immigration_status.decode_to_str(), + p.state_funded_immigration_statuses, + ) From f9f0c676b9d7ffba992d445255872f8c8a412e61 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 09:18:15 +0000 Subject: [PATCH 06/11] Test a pregnant DACA recipient in New York in 2024 and 2025 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 --- ..._medicaid_immigration_status_eligible.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index 22fc6055316..463d3f9a82d 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -156,3 +156,48 @@ is_medicaid_immigration_status_eligible: false is_medicaid_eligible: false is_basic_health_program_eligible: true + +# Pregnancy. The model's CHIP unborn-child route for New York starts in 2024 +# and covers a pregnant person who is not eligible for Medicaid. A pregnant +# DACA recipient reaches Medicaid while DACA is on the list and the +# unborn-child route while it is not. +- name: Case 13, pregnant DACA 30-year-old with no income gets Medicaid in 2024. + period: 2024 + input: + people: + person1: + age: 30 + is_pregnant: true + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # DACA is on the list at 2024-01-01, so the person is Medicaid eligible and + # the unborn-child route does not apply. + is_medicaid_immigration_status_eligible: true + is_medicaid_eligible: true + is_chip_fcep_eligible_person: false + +- name: Case 14, pregnant DACA 30-year-old with no income keeps the unborn-child route in 2025. + period: 2025 + input: + people: + person1: + age: 30 + is_pregnant: true + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # The list is empty at 2025-01-01, so the person fails the Medicaid + # immigration test and the unborn-child route applies, as it did before. + is_medicaid_immigration_status_eligible: false + is_medicaid_eligible: false + is_chip_fcep_eligible_person: true + chip_category: PREGNANT_FCEP From bf4fa60464be5c689fd98b691c5ffd6b48f7a397 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 10:02:39 +0000 Subject: [PATCH 07/11] Tighten the New York DACA comments and two test cases - 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 --- .../hhs/medicaid/state_funded_immigration_statuses.yaml | 7 +++++-- .../is_ny_medicaid_immigration_status_eligible.yaml | 6 ++++-- .../is_ny_medicaid_immigration_status_eligible.py | 9 +++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml index 8c088abccdc..97a8c6b7b18 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml @@ -1,6 +1,9 @@ description: New York covers these immigration statuses under the Medicaid program with state funds. # Undocumented residents follow the parameters under -# gov.hhs.medicaid.eligibility, not this list. +# gov.hhs.medicaid.eligibility, not this list. The Department of Health's +# 2014 client notice also counts Temporary Protected Status holders as +# PRUCOL. The list does not hold them: their coverage dates have not been +# sourced. values: # New York treats Deferred Action for Childhood Arrivals recipients as # permanently residing under color of law (PRUCOL) and gives them @@ -34,7 +37,7 @@ metadata: href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24 - title: New York State Department of Health, client notice D61-C0332 href: https://ohipdocs.health.ny.gov/ohipdocs/web/system/files/ohiprepos/shared_documents/2019-11/D61C0332.pdf - - title: "89 FR 39392, Clarifying the Eligibility of Deferred Action for Childhood Arrivals (DACA) Recipients and Certain Other Noncitizens" + - title: "89 FR 39392, Clarifying the Eligibility of Deferred Action for Childhood Arrivals (DACA) Recipients and Certain Other Noncitizens for a Qualified Health Plan through an Exchange, Advance Payments of the Premium Tax Credit, Cost-Sharing Reductions, and a Basic Health Program" href: https://www.govinfo.gov/content/pkg/FR-2024-05-08/pdf/2024-09661.pdf#page=1 - title: "NY State of Health, Changes for 2026 (webinar, June 17, 2026)" href: https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index 463d3f9a82d..b6dd803f021 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -80,6 +80,8 @@ # The list sets no age limit. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true + # The list opens no CHIP route: DACA stays off the CHIP status lists. + is_chip_immigration_status_eligible: false - name: Case 8, TPS 30-year-old is not on the list in 2019. period: 2019 @@ -88,9 +90,9 @@ immigration_status: TPS state_code: NY output: - # The list holds DACA alone. A TPS adult also fails the federal test. + # The list holds DACA alone. New York's 2014 notice counts TPS as PRUCOL + # too, and the list does not hold it yet. is_ny_medicaid_immigration_status_eligible: false - is_medicaid_immigration_status_eligible: false - name: Case 9, undocumented 30-year-old is not on the list in 2019. period: 2019 diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py index 956a6f02ab6..d50a99389c4 100644 --- a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -14,10 +14,11 @@ class is_ny_medicaid_immigration_status_eligible(Variable): documentation = """ New York gives state-funded Medicaid to residents it treats as permanently residing under color of law, Deferred Action for Childhood - Arrivals recipients among them. The Essential Plan covered those - recipients from August 1, 2024 to June 30, 2026. This variable is - YEAR-defined and reads the status list at January 1, so the model - applies the Medicaid route through 2024 and again from 2027. + Arrivals recipients among them. The Essential Plan took those aged 19 + to 64 with income up to 250% of the poverty level from August 1, 2024 + to June 30, 2026. This variable is YEAR-defined and reads the status + list at January 1, so the model applies the Medicaid route through 2024 + and again from 2027. """ defined_for = StateCode.NY From 4cdfdfe16502701af5a89adde752f2ebad11e8d5 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 11:50:16 +0000 Subject: [PATCH 08/11] Tighten the New York DACA wording and add two test cases - 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 --- ...fix-ny-daca-state-funded-medicaid.fixed.md | 2 +- .../state_funded_immigration_statuses.yaml | 16 ++++--- ..._medicaid_immigration_status_eligible.yaml | 45 ++++++++++++++++--- ...ny_medicaid_immigration_status_eligible.py | 10 ++--- 4 files changed, 55 insertions(+), 18 deletions(-) diff --git a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md index 72fbb5f14ce..019c3d6e9b3 100644 --- a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md +++ b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md @@ -1 +1 @@ -Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid before August 1, 2024 and from July 1, 2026, the months around their Essential Plan coverage. Annual calculations apply it from 2015 through 2024 and from 2027. +Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid before August 1, 2024 and from July 1, 2026. Between those dates the Essential Plan covered recipients aged 19 to 64 with income up to 250% of the poverty line. Annual calculations apply the Medicaid route from 2015 through 2024 and from 2027. diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml index 97a8c6b7b18..a865934f102 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml @@ -13,16 +13,18 @@ values: # the PRUCOL statuses. 2015-01-01: - DACA - # The Essential Plan covers DACA recipients aged 19 to 64 with income up - # to 250% of the poverty level from August 1, 2024. YEAR-defined formulas - # read January 1, so this value first applies in 2025. The list empties - # for every age, though the Essential Plan covers ages 19 to 64 only. + # The Essential Plan was due to take DACA recipients aged 19 to 64 with + # income up to 250% of the poverty level from August 1, 2024, and covered + # them to June 30, 2026. YEAR-defined formulas read January 1, so this + # value first applies in 2025. The list empties for every age, though the + # Essential Plan covered ages 19 to 64 only. 2024-08-01: [] # NY State of Health ends Essential Plan coverage for DACA recipients on - # June 30, 2026, and those in Essential Plan 3 or 4 become eligible for - # Medicaid on July 1, 2026. YEAR-defined formulas read January 1, so this - # value first applies in 2027. + # June 30, 2026. Those in Essential Plan 3 or 4, and pregnant or + # postpartum recipients at any level, become eligible for Medicaid on + # July 1, 2026. YEAR-defined formulas read January 1, so this value first + # applies in 2027. 2026-07-01: - DACA diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index b6dd803f021..55fba942215 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -1,7 +1,8 @@ # New York gives DACA recipients state-funded Medicaid as residents -# permanently residing under color of law. The Essential Plan covered them -# from August 1, 2024 to June 30, 2026, and annual calculations read the -# status list at January 1. +# permanently residing under color of law. The Essential Plan was due to +# take recipients aged 19 to 64 with income up to 250% of the poverty line +# from August 1, 2024, and covered them to June 30, 2026. Annual +# calculations read the status list at January 1. - name: Case 1, DACA 30-year-old is eligible in 2019. period: 2019 @@ -70,10 +71,10 @@ is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -- name: Case 7, DACA 10-year-old is eligible in 2019. +- name: Case 7, DACA 17-year-old is eligible in 2019. period: 2019 input: - age: 10 + age: 17 immigration_status: DACA state_code: NY output: @@ -203,3 +204,37 @@ is_medicaid_eligible: false is_chip_fcep_eligible_person: true chip_category: PREGNANT_FCEP + +# The list empties at every age, though the Essential Plan took ages 19 to 64. +- name: Case 15, DACA 18-year-old is ineligible in 2025. + period: 2025 + input: + age: 18 + immigration_status: DACA + state_code: NY + output: + # The list is empty at 2025-01-01 (from 2024-08-01), whatever the age. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +# From 2027 the Medicaid work requirement applies to the adult group. +- name: Case 16, DACA 30-year-old with no work activity fails the work requirement in 2027. + period: 2027 + input: + age: 30 + immigration_status: DACA + state_code: NY + medicaid_category: ADULT + monthly_hours_worked: 0 + employment_income: 0 + medicaid_community_engagement_pass_through_eligible: false + output: + # DACA is on the list at 2027-01-01 (from 2026-07-01). + is_medicaid_immigration_status_eligible: true + # An adult-group member aged 19 to 64 with 0 hours (under 80), no income + # and no exemption does not meet the requirement. + medicaid_work_requirement_eligible: false + is_medicaid_ineligible_due_to_work_requirement: true + # Category AND immigration test AND work requirement: true AND true AND + # false = false. + is_medicaid_eligible: false diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py index d50a99389c4..192556fb62e 100644 --- a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -14,11 +14,11 @@ class is_ny_medicaid_immigration_status_eligible(Variable): documentation = """ New York gives state-funded Medicaid to residents it treats as permanently residing under color of law, Deferred Action for Childhood - Arrivals recipients among them. The Essential Plan took those aged 19 - to 64 with income up to 250% of the poverty level from August 1, 2024 - to June 30, 2026. This variable is YEAR-defined and reads the status - list at January 1, so the model applies the Medicaid route through 2024 - and again from 2027. + Arrivals recipients among them. The Essential Plan was due to take + those aged 19 to 64 with income up to 250% of the poverty level from + August 1, 2024, and covered them to June 30, 2026. This variable is + YEAR-defined and reads the status list at January 1, so the model + applies the Medicaid route through 2024 and again from 2027. """ defined_for = StateCode.NY From d94cf5d0cfd59ba5201998f58afd9736f30e05dd Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 21:40:20 +0000 Subject: [PATCH 09/11] Keep the Medicaid route for DACA recipients the Essential Plan did not 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 --- ...fix-ny-daca-state-funded-medicaid.fixed.md | 2 +- .../hhs/medicaid/daca_in_essential_plan.yaml | 49 ++++ .../state_funded_immigration_statuses.yaml | 21 +- ..._medicaid_immigration_status_eligible.yaml | 209 ++++++++++++++---- ...ny_medicaid_immigration_status_eligible.py | 16 +- 5 files changed, 225 insertions(+), 72 deletions(-) create mode 100644 policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml diff --git a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md index 019c3d6e9b3..d841ddbf9e7 100644 --- a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md +++ b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md @@ -1 +1 @@ -Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid before August 1, 2024 and from July 1, 2026. Between those dates the Essential Plan covered recipients aged 19 to 64 with income up to 250% of the poverty line. Annual calculations apply the Medicaid route from 2015 through 2024 and from 2027. +Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid at every age from 2015 until August 1, 2024. From that date the Essential Plan took recipients aged 19 to 64, so the route covers only those under 19 or aged 65 or older. The model does not apply the return of some adults to Medicaid on July 1, 2026. Annual calculations read the August 2024 change from 2025. diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml new file mode 100644 index 00000000000..802fdf348f5 --- /dev/null +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml @@ -0,0 +1,49 @@ +description: New York moves Deferred Action for Childhood Arrivals recipients at these ages from state-funded Medicaid to the Essential Plan. +metadata: + period: year + amount_unit: bool + threshold_unit: year + type: single_amount + label: New York DACA ages in the Essential Plan + reference: + - title: "New York section 1332 waiver application (December 18, 2023), coverage of DACA recipients aged 19 to 64" + href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24 + - title: "New York section 1332 waiver application (December 18, 2023), August 1, 2024 start" + href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=27 + - title: "89 FR 39392, Clarifying the Eligibility of Deferred Action for Childhood Arrivals (DACA) Recipients and Certain Other Noncitizens for a Qualified Health Plan through an Exchange, Advance Payments of the Premium Tax Credit, Cost-Sharing Reductions, and a Basic Health Program" + href: https://www.govinfo.gov/content/pkg/FR-2024-05-08/pdf/2024-09661.pdf#page=1 + - title: "NY State of Health, Changes for 2026 (webinar, June 17, 2026)" + href: https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15 + +# New York planned to move DACA recipients aged 19 to 64 with income up to +# 250% of the poverty level to the Essential Plan on August 1, 2024. Those +# who otherwise qualify for Medicaid or Child Health Plus stayed in those +# programs, so recipients under 19 or aged 65 or older keep the Medicaid +# route. The ages match the Basic Health Program's minimum and maximum +# ages (19 and 65). +# is_ny_medicaid_immigration_status_eligible reads age alone. Essential +# Plan eligibility itself reads Medicaid, so the formula cannot ask whether +# the person qualifies for the Essential Plan. Medicaid's income limits sit +# below 250% of the poverty level. +# YEAR-defined formulas read January 1, so the 2024-08-01 value first +# applies in 2025. +# Model year 2026: the Essential Plan covered these recipients to June 30, +# 2026. On July 1, 2026 those in Essential Plan 3 or 4, and pregnant or +# postpartum recipients at any level, became eligible for Medicaid. This +# parameter models neither: ages 19 to 64 stay out of the Medicaid route +# from 2025 on, and they read the result they had before this route +# existed. +brackets: + - threshold: + 2015-01-01: 0 + amount: + 2015-01-01: false + - threshold: + 2015-01-01: 19 + amount: + 2015-01-01: false + 2024-08-01: true + - threshold: + 2015-01-01: 65 + amount: + 2015-01-01: false diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml index a865934f102..e28a0fc04a2 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml @@ -11,22 +11,11 @@ values: # them eligible after the federal plan to end DACA. The Department of # Health's client notice of October 10, 2014 lists deferred action among # the PRUCOL statuses. + # From August 1, 2024 the Essential Plan took recipients aged 19 to 64. + # daca_in_essential_plan holds those ages, and + # is_ny_medicaid_immigration_status_eligible takes them out of this route. 2015-01-01: - DACA - # The Essential Plan was due to take DACA recipients aged 19 to 64 with - # income up to 250% of the poverty level from August 1, 2024, and covered - # them to June 30, 2026. YEAR-defined formulas read January 1, so this - # value first applies in 2025. The list empties for every age, though the - # Essential Plan covered ages 19 to 64 only. - 2024-08-01: - [] - # NY State of Health ends Essential Plan coverage for DACA recipients on - # June 30, 2026. Those in Essential Plan 3 or 4, and pregnant or - # postpartum recipients at any level, become eligible for Medicaid on - # July 1, 2026. YEAR-defined formulas read January 1, so this value first - # applies in 2027. - 2026-07-01: - - DACA metadata: unit: list @@ -39,7 +28,3 @@ metadata: href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24 - title: New York State Department of Health, client notice D61-C0332 href: https://ohipdocs.health.ny.gov/ohipdocs/web/system/files/ohiprepos/shared_documents/2019-11/D61C0332.pdf - - title: "89 FR 39392, Clarifying the Eligibility of Deferred Action for Childhood Arrivals (DACA) Recipients and Certain Other Noncitizens for a Qualified Health Plan through an Exchange, Advance Payments of the Premium Tax Credit, Cost-Sharing Reductions, and a Basic Health Program" - href: https://www.govinfo.gov/content/pkg/FR-2024-05-08/pdf/2024-09661.pdf#page=1 - - title: "NY State of Health, Changes for 2026 (webinar, June 17, 2026)" - href: https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index 55fba942215..45fe4b0d831 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -1,90 +1,93 @@ # New York gives DACA recipients state-funded Medicaid as residents # permanently residing under color of law. The Essential Plan was due to # take recipients aged 19 to 64 with income up to 250% of the poverty line -# from August 1, 2024, and covered them to June 30, 2026. Annual -# calculations read the status list at January 1. +# from August 1, 2024, so from then on the route covers recipients under 19 +# or aged 65 or older. Annual calculations read the parameters at January +# 1: every recipient passes through 2024. The model does not apply the +# return of some adults to Medicaid on July 1, 2026. -- name: Case 1, DACA 30-year-old is eligible in 2019. +- name: Case 1, DACA 30-year-old passes both immigration tests in 2019. period: 2019 input: age: 30 immigration_status: DACA state_code: NY output: - # DACA is on the list at 2019-01-01 (from 2015-01-01). + # DACA is on the list, and no age is in the Essential Plan at 2019-01-01. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -- name: Case 2, DACA 30-year-old is eligible in 2015. +- name: Case 2, DACA 30-year-old passes both immigration tests in 2015. period: 2015 input: age: 30 immigration_status: DACA state_code: NY output: - # The list's first value starts on 2015-01-01. + # The list and the age schedule both start on 2015-01-01. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -- name: Case 3, DACA 30-year-old is eligible in 2024. +- name: Case 3, DACA 30-year-old passes both immigration tests in 2024. period: 2024 input: age: 30 immigration_status: DACA state_code: NY output: - # The list empties on 2024-08-01, after 2024-01-01. + # The age-19 bracket turns true on 2024-08-01, after 2024-01-01. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -- name: Case 4, DACA 30-year-old is ineligible in 2025. +- name: Case 4, DACA 30-year-old fails both immigration tests in 2025. period: 2025 input: age: 30 immigration_status: DACA state_code: NY output: - # The list is empty at 2025-01-01 (from 2024-08-01). + # The age-19 bracket is true at 2025-01-01 (from 2024-08-01): the Essential + # Plan took ages 19 to 64. is_ny_medicaid_immigration_status_eligible: false is_medicaid_immigration_status_eligible: false -- name: Case 5, DACA 30-year-old is ineligible in 2026. +- name: Case 5, DACA 30-year-old fails both immigration tests in 2026. period: 2026 input: age: 30 immigration_status: DACA state_code: NY output: - # The list is empty at 2026-01-01. DACA returns on 2026-07-01, which annual - # calculations read from 2027. + # The age-19 bracket is true at 2026-01-01. The model applies no return to + # Medicaid on July 1, 2026. is_ny_medicaid_immigration_status_eligible: false is_medicaid_immigration_status_eligible: false -- name: Case 6, DACA 30-year-old is eligible in 2027. +- name: Case 6, DACA 30-year-old fails both immigration tests in 2027. period: 2027 input: age: 30 immigration_status: DACA state_code: NY output: - # DACA is on the list at 2027-01-01 (from 2026-07-01). - is_ny_medicaid_immigration_status_eligible: true - is_medicaid_immigration_status_eligible: true + # The age-19 bracket stays true: the model applies no return to Medicaid. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false -- name: Case 7, DACA 17-year-old is eligible in 2019. +- name: Case 7, DACA 17-year-old passes both Medicaid immigration tests and fails the CHIP immigration test in 2019. period: 2019 input: age: 17 immigration_status: DACA state_code: NY output: - # The list sets no age limit. + # The list sets no age limit, and no age is in the Essential Plan in 2019. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true # The list opens no CHIP route: DACA stays off the CHIP status lists. is_chip_immigration_status_eligible: false -- name: Case 8, TPS 30-year-old is not on the list in 2019. +- name: Case 8, TPS 30-year-old fails the New York state-funded test in 2019. period: 2019 input: age: 30 @@ -95,7 +98,7 @@ # too, and the list does not hold it yet. is_ny_medicaid_immigration_status_eligible: false -- name: Case 9, undocumented 30-year-old is not on the list in 2019. +- name: Case 9, undocumented 30-year-old fails the New York state-funded test in 2019. period: 2019 input: age: 30 @@ -105,7 +108,7 @@ # The list holds DACA alone. is_ny_medicaid_immigration_status_eligible: false -- name: Case 10, DACA 30-year-old in New Jersey is ineligible in 2019. +- name: Case 10, DACA 30-year-old in New Jersey fails both immigration tests in 2019. period: 2019 input: age: 30 @@ -139,7 +142,7 @@ # In 2025 the same adult fails the Medicaid immigration test and qualifies # for the Essential Plan below its income floor. -- name: Case 12, DACA 30-year-old with no income gets the Essential Plan in 2025. +- name: Case 12, DACA 30-year-old with no income qualifies for the Essential Plan in 2025. period: 2025 input: people: @@ -162,9 +165,9 @@ # Pregnancy. The model's CHIP unborn-child route for New York starts in 2024 # and covers a pregnant person who is not eligible for Medicaid. A pregnant -# DACA recipient reaches Medicaid while DACA is on the list and the -# unborn-child route while it is not. -- name: Case 13, pregnant DACA 30-year-old with no income gets Medicaid in 2024. +# DACA adult reaches Medicaid through 2024 and the unborn-child route from +# 2025. +- name: Case 13, pregnant DACA 30-year-old with no income qualifies for Medicaid in 2024. period: 2024 input: people: @@ -178,13 +181,13 @@ members: [person1] state_code: NY output: - # DACA is on the list at 2024-01-01, so the person is Medicaid eligible and - # the unborn-child route does not apply. + # No age is in the Essential Plan at 2024-01-01, so the person is Medicaid + # eligible and the unborn-child route does not apply. is_medicaid_immigration_status_eligible: true is_medicaid_eligible: true is_chip_fcep_eligible_person: false -- name: Case 14, pregnant DACA 30-year-old with no income keeps the unborn-child route in 2025. +- name: Case 14, pregnant DACA 30-year-old with no income qualifies for the CHIP unborn-child route in 2025. period: 2025 input: people: @@ -198,43 +201,151 @@ members: [person1] state_code: NY output: - # The list is empty at 2025-01-01, so the person fails the Medicaid - # immigration test and the unborn-child route applies, as it did before. + # Age 30 is in the Essential Plan at 2025-01-01, so the person fails the + # Medicaid immigration test and the unborn-child route applies, as it did + # before. is_medicaid_immigration_status_eligible: false is_medicaid_eligible: false is_chip_fcep_eligible_person: true chip_category: PREGNANT_FCEP -# The list empties at every age, though the Essential Plan took ages 19 to 64. -- name: Case 15, DACA 18-year-old is ineligible in 2025. +# The Essential Plan took ages 19 to 64 only. Younger recipients keep the +# Medicaid route. +- name: Case 15, DACA 18-year-old passes both immigration tests in 2025. period: 2025 input: age: 18 immigration_status: DACA state_code: NY output: - # The list is empty at 2025-01-01 (from 2024-08-01), whatever the age. - is_ny_medicaid_immigration_status_eligible: false - is_medicaid_immigration_status_eligible: false + # Age 18 sits in the age-0 bracket, false at every date. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true -# From 2027 the Medicaid work requirement applies to the adult group. -- name: Case 16, DACA 30-year-old with no work activity fails the work requirement in 2027. +# From 2027 a DACA adult aged 19 to 64 reads the result main gives: no +# Medicaid route, and emergency Medicaid for an emergency condition. +- name: Case 16, DACA 30-year-old with an emergency condition qualifies for emergency Medicaid in 2027. period: 2027 input: age: 30 immigration_status: DACA state_code: NY medicaid_category: ADULT - monthly_hours_worked: 0 - employment_income: 0 - medicaid_community_engagement_pass_through_eligible: false + has_emergency_medical_condition: true output: - # DACA is on the list at 2027-01-01 (from 2026-07-01). - is_medicaid_immigration_status_eligible: true - # An adult-group member aged 19 to 64 with 0 hours (under 80), no income - # and no exemption does not meet the requirement. - medicaid_work_requirement_eligible: false - is_medicaid_ineligible_due_to_work_requirement: true - # Category AND immigration test AND work requirement: true AND true AND - # false = false. + # The age-19 bracket is true at 2027-01-01. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + # A Medicaid category AND NOT immigration eligible: true AND false = false. is_medicaid_eligible: false + # Emergency condition AND a Medicaid category AND NOT immigration eligible: + # true AND true AND NOT false = true. + is_emergency_medicaid_eligible: true + +- name: Case 17, DACA 17-year-old passes both immigration tests in 2025. + period: 2025 + input: + age: 17 + immigration_status: DACA + state_code: NY + output: + # Age 17 sits in the age-0 bracket, false at every date. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 18, DACA 18-year-old passes both immigration tests in 2026. + period: 2026 + input: + age: 18 + immigration_status: DACA + state_code: NY + output: + # Age 18 sits in the age-0 bracket, false at 2026-01-01. A recipient must + # have lived in the United States since June 15, 2007, so 18 is the youngest + # possible age in 2026. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +- name: Case 19, DACA 19-year-old fails both immigration tests in 2025. + period: 2025 + input: + age: 19 + immigration_status: DACA + state_code: NY + output: + # 19 is the first age in the age-19 bracket, true at 2025-01-01. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +- name: Case 20, DACA 70-year-old passes both immigration tests in 2025. + period: 2025 + input: + age: 70 + immigration_status: DACA + state_code: NY + output: + # Age 70 sits in the age-65 bracket, false at every date. USCIS requires + # birth on or after June 16, 1981 (https://www.uscis.gov/DACA), so no + # recipient is 70. This case pins the schedule's upper age, not a real + # recipient. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +# New York pays for this coverage alone. The enrollee fails the federal +# immigration test, so the federal share is 0. +- name: Case 21, enrolled DACA 30-year-old with no income has no federal Medicaid share in 2019. + period: 2019 + input: + people: + person1: + age: 30 + is_pregnant: false + immigration_status: DACA + employment_income: 0 + takes_up_medicaid_if_eligible: true + households: + household: + members: [person1] + state_code: NY + output: + # Adult category AND NOT federally eligible: the share is 0, not the + # expansion match. + is_medicaid_eligible: true + medicaid_enrolled: true + is_federal_medicaid_immigration_status_eligible: false + medicaid_federal_share: 0 + +# A relative can move too. A parent joins the adult group only if every child +# under 19 in their care has coverage (42 CFR 435.119(c)). The 18-year-old +# DACA dependent now enrolls in Medicaid, so the citizen parent meets that +# rule. Before this route existed the child had no coverage and the parent +# failed it. +- name: Case 22, citizen parent of an 18-year-old DACA dependent qualifies for Medicaid at 135% of the poverty line in 2019. + period: 2019 + input: + people: + parent: + age: 45 + immigration_status: CITIZEN + employment_income: 22_800 + takes_up_medicaid_if_eligible: true + child: + age: 18 + immigration_status: DACA + is_tax_unit_dependent: true + is_full_time_student: false + takes_up_medicaid_if_eligible: true + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: NY + output: + is_medicaid_immigration_status_eligible: [true, true] + # $22,800 / $16,910 = 1.35: below the adult limit of 138% and the + # older-child limit of 154%. + is_medicaid_eligible: [true, true] + medicaid_enrolled: [true, true] + is_basic_health_program_eligible: [false, false] diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py index 192556fb62e..e1680b06446 100644 --- a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -16,16 +16,24 @@ class is_ny_medicaid_immigration_status_eligible(Variable): permanently residing under color of law, Deferred Action for Childhood Arrivals recipients among them. The Essential Plan was due to take those aged 19 to 64 with income up to 250% of the poverty level from - August 1, 2024, and covered them to June 30, 2026. This variable is - YEAR-defined and reads the status list at January 1, so the model - applies the Medicaid route through 2024 and again from 2027. + August 1, 2024, so from then on this route covers DACA recipients + under 19 or aged 65 or older. This variable is YEAR-defined and reads + its parameters at January 1, so every DACA recipient passes through + 2024. The model does not apply the return of some adults to Medicaid + on July 1, 2026. """ defined_for = StateCode.NY def formula(person, period, parameters): p = parameters(period).gov.states.ny.hhs.medicaid immigration_status = person("immigration_status", period) - return np.isin( + state_funded_status = np.isin( immigration_status.decode_to_str(), p.state_funded_immigration_statuses, ) + # The Essential Plan took DACA recipients by age. The test reads age + # alone, because Essential Plan eligibility itself reads Medicaid. + daca = immigration_status == immigration_status.possible_values.DACA + age = person("age", period) + in_essential_plan_ages = p.daca_in_essential_plan.calc(age).astype(bool) + return state_funded_status & ~(daca & in_essential_plan_ages) From 4467f36f544319d3348feba99502df2cd458ef8f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 22:24:51 +0000 Subject: [PATCH 10/11] Correct the New York DACA comments and add program-level cases 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 --- ...fix-ny-daca-state-funded-medicaid.fixed.md | 2 +- .../hhs/medicaid/daca_in_essential_plan.yaml | 21 ++-- .../state_funded_immigration_statuses.yaml | 6 +- ..._medicaid_immigration_status_eligible.yaml | 114 ++++++++++++++++-- ...ny_medicaid_immigration_status_eligible.py | 3 +- 5 files changed, 126 insertions(+), 20 deletions(-) diff --git a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md index d841ddbf9e7..1c897e70316 100644 --- a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md +++ b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md @@ -1 +1 @@ -Give Deferred Action for Childhood Arrivals recipients New York's state-funded Medicaid at every age from 2015 until August 1, 2024. From that date the Essential Plan took recipients aged 19 to 64, so the route covers only those under 19 or aged 65 or older. The model does not apply the return of some adults to Medicaid on July 1, 2026. Annual calculations read the August 2024 change from 2025. +Let Deferred Action for Childhood Arrivals recipients pass New York's state-funded Medicaid immigration test at every age from 2015 until August 1, 2024. The Essential Plan was due to take recipients aged 19 to 64 with income up to 250% of the poverty line from that date, and the model takes every recipient at those ages out of the route, so it covers only those under 19 or aged 65 or older. The model does not apply the return of some adults to Medicaid on July 1, 2026. Annual calculations read the August 2024 change from 2025. diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml index 802fdf348f5..e2e7cb54168 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml @@ -23,16 +23,23 @@ metadata: # ages (19 and 65). # is_ny_medicaid_immigration_status_eligible reads age alone. Essential # Plan eligibility itself reads Medicaid, so the formula cannot ask whether -# the person qualifies for the Essential Plan. Medicaid's income limits sit -# below 250% of the poverty level. +# the person qualifies for the Essential Plan. The age test is an +# approximation: it takes every recipient aged 19 to 64 out of this route, +# one with income above 250% of the poverty level included. The Essential +# Plan's income limit left that person out, and the model can still give +# them a Medicaid category, for example on the medically needy route, +# which subtracts medical expenses from income. # YEAR-defined formulas read January 1, so the 2024-08-01 value first # applies in 2025. # Model year 2026: the Essential Plan covered these recipients to June 30, -# 2026. On July 1, 2026 those in Essential Plan 3 or 4, and pregnant or -# postpartum recipients at any level, became eligible for Medicaid. This -# parameter models neither: ages 19 to 64 stay out of the Medicaid route -# from 2025 on, and they read the result they had before this route -# existed. +# 2026. On July 1, 2026 enrollees in Essential Plan 3 or 4, and enrollees at +# any level who were pregnant or in their 12-month postpartum period, moved +# to Medicaid. This parameter models neither: ages 19 to 64 stay out of the +# Medicaid route from 2025 on and have the result they had before this +# route existed. In the model that is the Essential Plan in 2025, within +# its income limit. From 2026 an adult who is not pregnant has neither +# program, because the Basic Health Program's list excludes DACA again +# from August 25, 2025. brackets: - threshold: 2015-01-01: 0 diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml index e28a0fc04a2..c193b9c00de 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/state_funded_immigration_statuses.yaml @@ -11,9 +11,11 @@ values: # them eligible after the federal plan to end DACA. The Department of # Health's client notice of October 10, 2014 lists deferred action among # the PRUCOL statuses. - # From August 1, 2024 the Essential Plan took recipients aged 19 to 64. + # The Essential Plan was due to take recipients aged 19 to 64 with income + # up to 250% of the poverty level from August 1, 2024. # daca_in_essential_plan holds those ages, and - # is_ny_medicaid_immigration_status_eligible takes them out of this route. + # is_ny_medicaid_immigration_status_eligible takes every recipient at + # those ages out of this route. 2015-01-01: - DACA diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index 45fe4b0d831..6c2a0f5aa25 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -46,8 +46,8 @@ immigration_status: DACA state_code: NY output: - # The age-19 bracket is true at 2025-01-01 (from 2024-08-01): the Essential - # Plan took ages 19 to 64. + # The age-19 bracket is true at 2025-01-01 (from 2024-08-01): the model + # takes ages 19 to 64 out of the route. is_ny_medicaid_immigration_status_eligible: false is_medicaid_immigration_status_eligible: false @@ -209,7 +209,7 @@ is_chip_fcep_eligible_person: true chip_category: PREGNANT_FCEP -# The Essential Plan took ages 19 to 64 only. Younger recipients keep the +# The Essential Plan's ages were 19 to 64. Younger recipients keep the # Medicaid route. - name: Case 15, DACA 18-year-old passes both immigration tests in 2025. period: 2025 @@ -222,8 +222,9 @@ is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -# From 2027 a DACA adult aged 19 to 64 reads the result main gives: no -# Medicaid route, and emergency Medicaid for an emergency condition. +# From 2025 a DACA adult aged 19 to 64 has the result they had before this +# route existed: no Medicaid route, and emergency Medicaid for an emergency +# condition. This case reads 2027, after the state's July 2026 return. - name: Case 16, DACA 30-year-old with an emergency condition qualifies for emergency Medicaid in 2027. period: 2027 input: @@ -236,7 +237,7 @@ # The age-19 bracket is true at 2027-01-01. is_ny_medicaid_immigration_status_eligible: false is_medicaid_immigration_status_eligible: false - # A Medicaid category AND NOT immigration eligible: true AND false = false. + # A Medicaid category AND immigration eligible: true AND false = false. is_medicaid_eligible: false # Emergency condition AND a Medicaid category AND NOT immigration eligible: # true AND true AND NOT false = true. @@ -286,8 +287,8 @@ output: # Age 70 sits in the age-65 bracket, false at every date. USCIS requires # birth on or after June 16, 1981 (https://www.uscis.gov/DACA), so no - # recipient is 70. This case pins the schedule's upper age, not a real - # recipient. + # recipient is 70. This case checks an age in the top bracket, not a real + # recipient. Cases 23 and 24 pin the cut at 65. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true @@ -319,7 +320,9 @@ # under 19 in their care has coverage (42 CFR 435.119(c)). The 18-year-old # DACA dependent now enrolls in Medicaid, so the citizen parent meets that # rule. Before this route existed the child had no coverage and the parent -# failed it. +# failed it. New York's parent group counts a child under 18, so the +# 18-year-old does not put the parent in that group: the parent's category +# is the adult group. - name: Case 22, citizen parent of an 18-year-old DACA dependent qualifies for Medicaid at 135% of the poverty line in 2019. period: 2019 input: @@ -346,6 +349,99 @@ is_medicaid_immigration_status_eligible: [true, true] # $22,800 / $16,910 = 1.35: below the adult limit of 138% and the # older-child limit of 154%. + medicaid_category: [ADULT, OLDER_CHILD] is_medicaid_eligible: [true, true] medicaid_enrolled: [true, true] is_basic_health_program_eligible: [false, false] + +# The cut at 65. No recipient is 64 or 65 in 2025 (see Case 20): these two +# cases pin the schedule's upper threshold from both sides. +- name: Case 23, DACA 64-year-old fails both immigration tests in 2025. + period: 2025 + input: + age: 64 + immigration_status: DACA + state_code: NY + output: + # 64 is the last whole age in the age-19 bracket, true at 2025-01-01. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + +- name: Case 24, DACA 65-year-old passes both immigration tests in 2025. + period: 2025 + input: + age: 65 + immigration_status: DACA + state_code: NY + output: + # 65 is the first age in the age-65 bracket, false at every date. + is_ny_medicaid_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: true + +# Program results in 2025 and 2026. A recipient under 19 keeps the Medicaid +# route, so Medicaid's own rules decide. +- name: Case 25, DACA 18-year-old with no income is Medicaid eligible in 2025. + period: 2025 + input: + people: + person1: + age: 18 + is_pregnant: false + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # Age 18 keeps the route at 2025-01-01, and no income is below New York's + # older-child limit of 154% of the poverty line. + is_medicaid_immigration_status_eligible: true + is_medicaid_eligible: true + is_basic_health_program_eligible: false + +- name: Case 26, pregnant DACA 18-year-old with no income qualifies for Medicaid and not the CHIP unborn-child route in 2026. + period: 2026 + input: + people: + person1: + age: 18 + is_pregnant: true + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # Age 18 keeps the route at 2026-01-01, so the person is Medicaid eligible. + # The unborn-child route covers a pregnant person without Medicaid, so it + # does not apply. Compare Case 14, a 30-year-old. + is_medicaid_immigration_status_eligible: true + is_medicaid_eligible: true + is_chip_fcep_eligible_person: false + +# Model year 2026 for an adult aged 19 to 64 who is not pregnant. The adult +# has no Medicaid route, and the Basic Health Program's list excludes DACA +# from August 25, 2025, so the model gives neither program. +- name: Case 27, DACA 30-year-old with no income has neither Medicaid nor the Essential Plan in 2026. + period: 2026 + input: + people: + person1: + age: 30 + is_pregnant: false + immigration_status: DACA + employment_income: 0 + households: + household: + members: [person1] + state_code: NY + output: + # The age-19 bracket is true at 2026-01-01, and DACA is on the Basic + # Health Program's ineligible list at 2026-01-01. Compare Case 12, the + # same adult in 2025. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + is_medicaid_eligible: false + is_basic_health_program_eligible: false diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py index e1680b06446..f75f481759a 100644 --- a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -31,7 +31,8 @@ def formula(person, period, parameters): immigration_status.decode_to_str(), p.state_funded_immigration_statuses, ) - # The Essential Plan took DACA recipients by age. The test reads age + # The Essential Plan was due to take DACA recipients aged 19 to 64 + # with income up to 250% of the poverty level. The test reads age # alone, because Essential Plan eligibility itself reads Medicaid. daca = immigration_status == immigration_status.possible_values.DACA age = person("age", period) From c35e649a825205a71e86fdfe276d9a471d85c896 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 20 Nov 2026 19:13:09 +0000 Subject: [PATCH 11/11] Say what the New York DACA age rule leaves out, and pin a deemed-income 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 --- ...fix-ny-daca-state-funded-medicaid.fixed.md | 2 +- .../hhs/medicaid/daca_in_essential_plan.yaml | 49 +++-- ..._medicaid_immigration_status_eligible.yaml | 208 +++++++++++++++++- ...ny_medicaid_immigration_status_eligible.py | 4 +- 4 files changed, 233 insertions(+), 30 deletions(-) diff --git a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md index 1c897e70316..924028ffd08 100644 --- a/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md +++ b/changelog.d/fix-ny-daca-state-funded-medicaid.fixed.md @@ -1 +1 @@ -Let Deferred Action for Childhood Arrivals recipients pass New York's state-funded Medicaid immigration test at every age from 2015 until August 1, 2024. The Essential Plan was due to take recipients aged 19 to 64 with income up to 250% of the poverty line from that date, and the model takes every recipient at those ages out of the route, so it covers only those under 19 or aged 65 or older. The model does not apply the return of some adults to Medicaid on July 1, 2026. Annual calculations read the August 2024 change from 2025. +Let Deferred Action for Childhood Arrivals recipients pass New York's state-funded Medicaid immigration test at every age in model years 2015 to 2024. The model applies the August 2024 transition from 2025, when only recipients under 19 or aged 65 or older keep the route. The model leaves out the July 2026 return of some adults to Medicaid. diff --git a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml index e2e7cb54168..25f883d22f3 100644 --- a/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml +++ b/policyengine_us/parameters/gov/states/ny/hhs/medicaid/daca_in_essential_plan.yaml @@ -1,10 +1,10 @@ -description: New York moves Deferred Action for Childhood Arrivals recipients at these ages from state-funded Medicaid to the Essential Plan. +description: The model leaves DACA recipients at these ages out of New York's Medicaid immigration route, because the Essential Plan was due to take those with income up to 250% of the poverty line on August 1, 2024. metadata: period: year amount_unit: bool threshold_unit: year type: single_amount - label: New York DACA ages in the Essential Plan + label: New York DACA ages left out of the Medicaid immigration route reference: - title: "New York section 1332 waiver application (December 18, 2023), coverage of DACA recipients aged 19 to 64" href: https://www.cms.gov/files/document/ny-1332-waiver_updated-application12182023.pdf#page=24 @@ -16,30 +16,41 @@ metadata: href: https://info.nystateofhealth.ny.gov/sites/default/files/June%20Webinar%20-%20NY%20State%20of%20Health%20Changes%20for%202026.pdf#page=15 # New York planned to move DACA recipients aged 19 to 64 with income up to -# 250% of the poverty level to the Essential Plan on August 1, 2024. Those -# who otherwise qualify for Medicaid or Child Health Plus stayed in those -# programs, so recipients under 19 or aged 65 or older keep the Medicaid +# 250% of the poverty level to the Essential Plan on August 1, 2024. +# Recipients outside those ages stayed in Medicaid or Child Health Plus if +# they qualified, so those under 19 or aged 65 or older keep the Medicaid # route. The ages match the Basic Health Program's minimum and maximum # ages (19 and 65). -# is_ny_medicaid_immigration_status_eligible reads age alone. Essential -# Plan eligibility itself reads Medicaid, so the formula cannot ask whether -# the person qualifies for the Essential Plan. The age test is an -# approximation: it takes every recipient aged 19 to 64 out of this route, -# one with income above 250% of the poverty level included. The Essential -# Plan's income limit left that person out, and the model can still give -# them a Medicaid category, for example on the medically needy route, -# which subtracts medical expenses from income. +# is_ny_medicaid_immigration_status_eligible reads age alone. A recipient +# aged 19 to 64 above 250% of the poverty level fails this test, though the +# Essential Plan could not take them. One who is blind or disabled can +# hold a medically needy category, which subtracts medical expenses from +# income, and fails Medicaid on this test alone. This is a known limit of +# the age test. +# The formula cannot ask whether the person qualifies for the Essential +# Plan, because Essential Plan eligibility itself reads Medicaid. An +# income test would need 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 +# income tax and other programs, so reading it here raises a cycle. The +# tax unit's income level (tax_unit_medicaid_income_level) raises none, +# but it is not Medicaid's measure. A tax dependent of a relative who is +# not their parent can be above 250% on the tax unit's measure and inside +# the adult group on Medicaid's own. # YEAR-defined formulas read January 1, so the 2024-08-01 value first # applies in 2025. # Model year 2026: the Essential Plan covered these recipients to June 30, # 2026. On July 1, 2026 enrollees in Essential Plan 3 or 4, and enrollees at # any level who were pregnant or in their 12-month postpartum period, moved -# to Medicaid. This parameter models neither: ages 19 to 64 stay out of the -# Medicaid route from 2025 on and have the result they had before this -# route existed. In the model that is the Essential Plan in 2025, within -# its income limit. From 2026 an adult who is not pregnant has neither -# program, because the Basic Health Program's list excludes DACA again -# from August 25, 2025. +# to Medicaid. This parameter models neither: from 2025 recipients aged 19 +# to 64 fail the Medicaid immigration test, as they did before this route +# existed. A child's coverage can still change such an adult's Medicaid +# category and emergency Medicaid result, through the adult group's +# child-coverage rule. In the model one who is not pregnant and meets the +# Essential Plan's other tests reaches it in 2025, within its income +# limit. From 2026 an adult who is not pregnant has neither program, +# because the Basic Health Program's list excludes DACA again from August +# 25, 2025. brackets: - threshold: 2015-01-01: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml index 6c2a0f5aa25..987dc62c324 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.yaml @@ -13,7 +13,7 @@ immigration_status: DACA state_code: NY output: - # DACA is on the list, and no age is in the Essential Plan at 2019-01-01. + # DACA is on the list, and the schedule leaves no age out at 2019-01-01. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true @@ -81,7 +81,7 @@ immigration_status: DACA state_code: NY output: - # The list sets no age limit, and no age is in the Essential Plan in 2019. + # The list sets no age limit, and the schedule leaves no age out in 2019. is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true # The list opens no CHIP route: DACA stays off the CHIP status lists. @@ -181,7 +181,7 @@ members: [person1] state_code: NY output: - # No age is in the Essential Plan at 2024-01-01, so the person is Medicaid + # The schedule leaves no age out at 2024-01-01, so the person is Medicaid # eligible and the unborn-child route does not apply. is_medicaid_immigration_status_eligible: true is_medicaid_eligible: true @@ -201,13 +201,15 @@ members: [person1] state_code: NY output: - # Age 30 is in the Essential Plan at 2025-01-01, so the person fails the - # Medicaid immigration test and the unborn-child route applies, as it did - # before. + # The schedule leaves age 30 out of the Medicaid route at 2025-01-01, so + # the person fails the Medicaid immigration test. The CHIP unborn-child + # route applies, as it did before this route existed, and it blocks the + # model's Essential Plan. is_medicaid_immigration_status_eligible: false is_medicaid_eligible: false is_chip_fcep_eligible_person: true chip_category: PREGNANT_FCEP + is_basic_health_program_eligible: false # The Essential Plan's ages were 19 to 64. Younger recipients keep the # Medicaid route. @@ -222,9 +224,13 @@ is_ny_medicaid_immigration_status_eligible: true is_medicaid_immigration_status_eligible: true -# From 2025 a DACA adult aged 19 to 64 has the result they had before this -# route existed: no Medicaid route, and emergency Medicaid for an emergency -# condition. This case reads 2027, after the state's July 2026 return. +# From 2025 a DACA adult aged 19 to 64 fails the Medicaid immigration test, +# as before this route existed: no Medicaid route, and emergency Medicaid +# for an emergency condition if they meet a Medicaid category. The adult's +# own immigration test is unchanged. A child's coverage can still change +# the adult's category and emergency result, through the adult group's +# child-coverage rule. This case sets the category and reads 2027, after +# the state's July 2026 return. - name: Case 16, DACA 30-year-old with an emergency condition qualifies for emergency Medicaid in 2027. period: 2027 input: @@ -445,3 +451,187 @@ is_medicaid_immigration_status_eligible: false is_medicaid_eligible: false is_basic_health_program_eligible: false + +# A known limit of the age test. This recipient is above the Essential +# Plan's ceiling of 250% of the poverty line, so the plan could not take +# them, and the route still leaves out every recipient aged 19 to 64. The +# recipient holds a medically needy category and fails Medicaid on the +# immigration test alone. These are the results the person had before +# this route existed. The schedule's comment says why the formula reads no +# income. +- name: Case 28, blind DACA 30-year-old above 250% of the poverty line with medical expenses fails the immigration test in 2025. + period: 2025 + input: + people: + person1: + age: 30 + is_blind: true + other_medical_expenses: 60_000 + immigration_status: DACA + employment_income: 60_000 + households: + household: + members: [person1] + state_code: NY + output: + # $60,000 / $15,650 = 3.83 times the 2025 guideline for one person. The + # age-19 bracket is true at 2025-01-01, so the person fails the test. + is_ny_medicaid_immigration_status_eligible: false + is_medicaid_immigration_status_eligible: false + medicaid_category: MEDICALLY_NEEDY + is_medicaid_eligible: false + is_basic_health_program_eligible: false + +# A child who passes the Medicaid immigration test has a parent's income +# deemed to them in the aged, blind and disabled group, as a citizen child +# does. Before this route existed the model deemed nothing to a DACA child, +# so this child met that group's income limit and, failing the immigration +# test, qualified for emergency Medicaid. With this income the child now +# has what a citizen child has: no Medicaid category, no Medicaid and no +# emergency Medicaid. That match holds at this income and not at every +# income: see Cases 31 and 32. own_children_in_household marks the adult +# as the child's parent: without it the model treats no one as the parent +# and deems no income. +- name: Case 29, blind DACA 17-year-old with a parent earning $100,000 has no Medicaid category in 2019. + period: 2019 + input: + people: + parent: + age: 45 + immigration_status: CITIZEN + employment_income: 100_000 + own_children_in_household: 1 + child: + age: 17 + is_blind: true + immigration_status: DACA + has_emergency_medical_condition: true + social_security_survivors: 10_375 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: NY + output: + # The child's own countable income is $10,375 - $240 = $10,135 a year, under + # the group's limit of 82% of $12,490 = $10,241.80. The deemed income is + # ($100,000 / 12 - $85) / 2 - $771 = $3,353.17 a month, so the child is over + # that limit. The medically needy group reads the child's own $10,135, + # which is over its limit of $842 a month, or $10,104 a year. + is_medicaid_immigration_status_eligible: [true, true] + is_optional_senior_or_disabled_for_medicaid: [false, false] + is_medically_needy_for_medicaid: [false, false] + medicaid_category: [NONE, NONE] + is_medicaid_eligible: [false, false] + is_emergency_medicaid_eligible: [false, false] + +# The same household with a citizen child, who also ends with no Medicaid +# category and no Medicaid. own_children_in_household again marks the +# parent. +- name: Case 30, blind citizen 17-year-old with the same parent and income has the same Medicaid result in 2019. + period: 2019 + input: + people: + parent: + age: 45 + immigration_status: CITIZEN + employment_income: 100_000 + own_children_in_household: 1 + child: + age: 17 + is_blind: true + immigration_status: CITIZEN + has_emergency_medical_condition: true + social_security_survivors: 10_375 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: NY + output: + # The same deemed income puts the child over the group's limit. The + # medically needy group reads income that includes the deemed amount. + is_medicaid_immigration_status_eligible: [true, true] + is_optional_senior_or_disabled_for_medicaid: [false, false] + is_medically_needy_for_medicaid: [false, false] + medicaid_category: [NONE, NONE] + is_medicaid_eligible: [false, false] + is_emergency_medicaid_eligible: [false, false] + +# The two children's results differ when the child's own income is lower. +# The aged, blind and disabled group counts a parent's deemed income for +# any child who passes the Medicaid immigration test. The medically needy +# group reads SSI's countable income, and SSI deems a parent's income only +# to a child who is a citizen or a qualified noncitizen. So where a +# parent's deemed income is over the medically needy limit, a blind DACA +# child with little income of their own can be Medicaid eligible through +# that group, and a citizen child with the same facts is not. The +# medically needy formula is outside this route; Cases 31 and 32 pin its +# result for the two children. +- name: Case 31, blind DACA 17-year-old with no income of their own and a parent earning $100,000 is Medicaid eligible through the medically needy group in 2019. + period: 2019 + input: + people: + parent: + age: 45 + immigration_status: CITIZEN + employment_income: 100_000 + own_children_in_household: 1 + child: + age: 17 + is_blind: true + immigration_status: DACA + has_emergency_medical_condition: true + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: NY + output: + # The deemed income of $3,353.17 a month keeps the child out of the aged, + # blind and disabled group. SSI deems nothing to a DACA child, so the + # medically needy group reads income of $0, under its limit of $10,104. + is_medicaid_immigration_status_eligible: [true, true] + is_optional_senior_or_disabled_for_medicaid: [false, false] + is_medically_needy_for_medicaid: [false, true] + medicaid_category: [NONE, MEDICALLY_NEEDY] + is_medicaid_eligible: [false, true] + is_emergency_medicaid_eligible: [false, false] + +# The same household with a citizen child. +- name: Case 32, blind citizen 17-year-old with no income of their own and the same parent has no Medicaid category in 2019. + period: 2019 + input: + people: + parent: + age: 45 + immigration_status: CITIZEN + employment_income: 100_000 + own_children_in_household: 1 + child: + age: 17 + is_blind: true + immigration_status: CITIZEN + has_emergency_medical_condition: true + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: NY + output: + # SSI deems the parent's income to a citizen child, so the medically needy + # group reads ($3,353.17 - $20) x 12 = $39,998, over its limit. + is_medicaid_immigration_status_eligible: [true, true] + is_optional_senior_or_disabled_for_medicaid: [false, false] + is_medically_needy_for_medicaid: [false, false] + medicaid_category: [NONE, NONE] + is_medicaid_eligible: [false, false] + is_emergency_medicaid_eligible: [false, false] diff --git a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py index f75f481759a..19b9f4afc2e 100644 --- a/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py +++ b/policyengine_us/variables/gov/states/ny/hhs/medicaid/is_ny_medicaid_immigration_status_eligible.py @@ -33,7 +33,9 @@ def formula(person, period, parameters): ) # The Essential Plan was due to take DACA recipients aged 19 to 64 # with income up to 250% of the poverty level. The test reads age - # alone, because Essential Plan eligibility itself reads Medicaid. + # alone. It cannot read Essential Plan eligibility, which itself + # reads Medicaid, or medicaid_income_level, which reaches this test + # through tax filing status and other programs. daca = immigration_status == immigration_status.possible_values.DACA age = person("age", period) in_essential_plan_ages = p.daca_in_essential_plan.calc(age).astype(bool)