The model gives Californians on state-funded Medi-Cal no emergency Medicaid once they fail the 2027 work requirement

オープン
#11,190 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, databases

調査の方向性

Read is_emergency_medicaid_eligible.py alongside is_federal_medicaid_immigration_status_eligible.py and is_medicaid_ineligible_due_to_work_requirement.py to trace the eligibility conditions described. Check how California's state route is distinguished from the other state routes before choosing a change. Add or update tests for the enrolled California adult who fails the work requirement but has an emergency condition; done means the model returns emergency Medicaid eligibility for that case while preserving the behavior described for other groups.

索引モデルが issue の本文から書いたものです。

説明

From 2027 the model applies the federal Medicaid work requirement to every adult in the adult group, including adults who reach Medi-Cal only through California's state-funded immigration route. When one of these adults fails the requirement, the model denies them Medicaid and gives them no emergency Medicaid either, since it gives emergency Medicaid only to people who fail its Medicaid immigration test. California applies the requirement to these adults too. California's Legislative Analyst's Office (LAO) analyzed the Governor's proposal to do so and wrote that those who fail it may generally remain eligible for restricted-scope Medi-Cal, which covers emergency and pregnancy-related services.

One household

Take an undocumented Californian aged 30, single with no children, who enrolled in full-scope Medi-Cal before the state's 2026 enrollment freeze, so the household sets receives_medicaid to true. In 2027 they have no income, no work or other qualifying hours, and an emergency medical condition. Each value below follows from the code at main, read line by line; the model did not run.

  • medicaid_category returns the adult group. The person falls in the 19-to-64 age range, has no Medicare or SSI, and has $0 of income, under 138% of the poverty line.
  • is_medicaid_immigration_status_eligible returns true. The model passes the person through the California test's branch for enrollees with current coverage.
  • medicaid_work_requirement_eligible returns false. The person has 0 of the 80 monthly hours and $0 of the $580 monthly income test ($7.25 federal minimum wage times 80 hours). The model gives them no SNAP, since undocumented people fail its SNAP immigration test, so medicaid_community_engagement_pass_through_eligible returns false, and the household sets no exemption input.
  • is_medicaid_eligible returns false, and is_medicaid_ineligible_due_to_work_requirement returns true.
  • is_emergency_medicaid_eligible returns false, because the person passes the immigration test.

If the same person applied for the first time in 2027, the model would give them emergency Medicaid. From 2026 the model lets an undocumented adult onto the California route only with current coverage or a pregnancy, following the state's freeze on new full-scope enrollment. The applicant fails the immigration test, so is_emergency_medicaid_eligible returns true whatever their work hours. The model sends DACA and TPS holders through the same California test, with or without current coverage, so a DACA or TPS adult with the same facts gets the same result as the enrolled person.

What the law says

  • Congress requires each State to make community engagement "a condition of eligibility for medical assistance" for adults in the adult group, from the first quarter that begins after December 31, 2026 at the latest. Congress added this rule as 42 U.S.C. 1396a(xx) in Public Law 119-21, section 71119 (139 Stat. 306-307). An adult meets it with 80 hours a month of work, community service, a work program or half-time school, or with monthly income of at least the federal minimum wage times 80 hours.
  • California applies the requirement to adults with unsatisfactory immigration status (UIS) whose full-scope coverage the state funds alone, though Congress did not require it. The LAO reports that Chapter 27 of 2026 (SB 164) "extends these requirements to individuals with UIS who receive comprehensive Medi-Cal coverage through state-only funding" (The 2026-27 California Spending Plan: Health, October 19, 2026).
  • The LAO analyzed the Governor's proposal to extend the requirement in The 2026-27 Budget: Medi-Cal Analysis (March 2, 2026). It wrote that UIS adults who fail the requirement "may generally remain eligible for restricted-scope Medi-Cal coverage, an option not available to adults with satisfactory immigration status". The LAO did not restate that point in its October report on the enacted budget.
  • Under its enacted 2026-27 budget, California moves noncitizens who lose federally funded full-scope coverage, such as refugees and asylees, to "restricted-scope Medi-Cal" on July 1, 2027 (enacted budget summary, p. 103). In its October report, the LAO describes the coverage they move to as "restricted to emergency and pregnancy-related services".
  • Congress excludes pregnant and postpartum people from the requirement (paragraph (9)(A)(ii)(IX)), so an adult who fails it would use restricted scope for emergency care.

Citizens and lawful permanent residents past the five-year bar have no such fallback, and the model's result for them matches the law. Congress wrote the emergency-care exception in 42 U.S.C. 1396b(v)(2) for "an alien described in paragraph (1)", one "not lawfully admitted for permanent residence or otherwise permanently residing in the United States under color of law". The LAO wrote the same of restricted scope in California.

In the code

The model defaults has_emergency_medical_condition to false, and no other variable reads is_emergency_medicaid_eligible, so no population result depends on it. Users meet the gap in household calculations for 2027 and later that set the condition. A user can also set is_hospitalized_for_medicaid_ce, the input for the inpatient hardship exception that states may elect under paragraph (3)(B), and the model then treats the person as meeting the requirement for the whole year. The household above has no hospital stay.

Possible fix

The model already keeps the federal immigration test in its own variable, is_federal_medicaid_immigration_status_eligible. We could let is_emergency_medicaid_eligible also pass a person who fails that test and for whom is_medicaid_ineligible_due_to_work_requirement returns true. The same change would reach the undocumented-adult routes the model gives the District of Columbia, Massachusetts, New York and Oregon, so we could add a California condition to keep it to the state these sources cover.

Related: #10986 (the federal share of these state routes), #11128 and #11150 (California's route for DACA recipients), #10950 (open; changes to is_federal_medicaid_immigration_status_eligible), and #8575 (closed; hardship exceptions).

🤖 Generated with Claude Code

主要言語
Python
スター
178
フォーク
224
平均マージ
2日 7時間
マージ済み PR(30日)
296

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine-us のほかの issue

PolicyEngine/policyengine-us の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。