Apply New York's age-65 route to noncitizens who fail on immigration status alone

Open
#11,215 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
Domain
backend

Research direction

Start in policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py, where the New York age-65 term (lines 28-50) tests only UNDOCUMENTED. Read the lawfully_residing parameter YAML files and immigration_statuses.yaml to see which statuses fail only on immigration status. Done means a New York 2025 test aged 70 returns eligible for a two-year permanent resident and for a TPS holder. Wait for #11128 on DACA and check Social Services Law 122(1) first.

Written by the indexing model from the issue text.

Description

At PolicyEngine/policyengine-us#11130's head 735542eb87, New York's age-65 term in is_medicaid_immigration_status_eligible tests UNDOCUMENTED alone. Social Services Law 366(1)(g)(4)(a) covers applicants aged 65 or older who would qualify for medical assistance "but for their immigration status".

So in the model these New Yorkers aged 70 fail every route:

  • A permanent resident two years after entry fails the federal test inside the five-year bar, and the age-65 term.
  • A TPS holder fails the federal test and the age-65 term. New York's lawfully residing option reaches TPS holders only under 21 or during pregnancy.
  • A DACA recipient fails too; #11128 covers DACA.

For pregnancy and for children under 21, New York's lawfully residing option already passes every status on its list. Choice 2 of #11130's description keeps the narrower reading.

Possible fix

Once #11128 settles New York's rules for DACA recipients, extend the age-65 term to the statuses that fail only on immigration status. Check each group against Social Services Law 122(1) first.

Test cases

New York 2025, aged 70, otherwise eligible:

  • a permanent resident two years after entry: is_medicaid_immigration_status_eligible true;
  • a TPS holder: is_medicaid_immigration_status_eligible 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.