Model MassHealth Limited and the Children's Medical Security Plan for undocumented Massachusetts residents

Open
#11,219 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python, yaml
Domain
backend

Research direction

Start with the immigration eligibility variables under policyengine_us/variables/gov/hhs/medicaid/eligibility and the CHIP test in policyengine_us/tests/policy/baseline/gov/hhs/chip/is_chip_immigration_status_eligible.yaml, then the MBTA fare program list in parameters/gov/states/ma/dot/mbta/income_eligible_reduced_fares/applicable_programs.yaml. Done means two new Massachusetts variables implement the 130 CMR 504.006(D) rules, the fare list includes MassHealth Limited, and the two listed test cases pass. The regulation rules need domain interpretation, so this is not a quick first edit.

Written by the indexing model from the issue text.

Description

After PolicyEngine/policyengine-us#11130, an undocumented Massachusetts resident passes Medicaid's immigration test only during pregnancy and the postpartum period (cases), and never passes the CHIP test (case 23). 130 CMR 504.006(D) also gives other noncitizens MassHealth Limited and, under age 19, the Children's Medical Security Plan. The model holds neither program. If MassHealth Limited covers what is_emergency_medicaid_eligible tests, that variable could stand in for it, though nothing reads it yet (#11213).

Two results follow in the model:

  • An undocumented Massachusetts child who isn't pregnant or postpartum passes neither immigration test.
  • The MBTA's income-eligible reduced fare counts medicaid_enrolled among its qualifying programs, and the file's comment counts MassHealth Limited as Medicaid. An undocumented adult aged 18 to 64 who qualified only through their own Medicaid now loses the fare.

Possible fix

Add both programs as Massachusetts variables, with the eligibility rules their regulations set. Then add MassHealth Limited enrollment to the fare's program list, and drop it from the comment on medicaid_enrolled.

Test cases

  • An undocumented Massachusetts adult aged 30 in 2025, enrolled in MassHealth Limited: ma_mbta_enrolled_in_applicable_programs true.
  • An undocumented Massachusetts 8-year-old in 2025 who meets the plan's other rules: Children's Medical Security Plan eligibility true.
Dominant language
Python
Stars
178
Forks
224
Avg merge
2d 7h
Merged PRs (30d)
309

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.