-
Notifications
You must be signed in to change notification settings - Fork 201
Add Emergency Medicaid for undocumented immigrants #7031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Emergency Medicaid for undocumented immigrants #7031
Conversation
…lementation Starting implementation of Emergency Medicaid for undocumented immigrants. Documentation and parallel development will follow. Closes PolicyEngine#7003
Implements federal Emergency Medicaid program per 42 USC 1396b(v), which provides limited Medicaid coverage for emergency medical conditions to individuals who would otherwise be eligible for Medicaid but for their immigration status. Key components: - has_emergency_medical_condition: Input variable for emergency condition - is_emergency_medicaid_eligible: Main eligibility determination - Parameters for program configuration and statutory references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7031 +/- ##
============================================
+ Coverage 76.92% 100.00% +23.07%
============================================
Files 1 2 +1
Lines 39 22 -17
Branches 4 0 -4
============================================
- Hits 30 22 -8
+ Misses 8 0 -8
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
not a repeat, this is different than coverage for undocumented immigrants specifically in IL. this is national emergency care |
policyengine_us/parameters/gov/hhs/medicaid/emergency_medicaid/index.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/parameters/gov/hhs/medicaid/emergency_medicaid/organ_transplant_exclusion.yaml
Outdated
Show resolved
Hide resolved
...engine_us/parameters/gov/hhs/medicaid/emergency_medicaid/emergency_condition_definition.yaml
Outdated
Show resolved
Hide resolved
...cyengine_us/variables/gov/hhs/medicaid/emergency_medicaid/has_emergency_medical_condition.py
Show resolved
Hide resolved
…tion comments - Remove emergency_condition_definition.yaml (unused parameter file) - Remove organ_transplant_exclusion.yaml (unused parameter file) - Remove index.yaml from emergency_medicaid parameters - Add documentation comments to has_emergency_medical_condition.py describing the emergency condition criteria from federal regulations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixes AppliedReview Comments Addressed
Verification
Ready for re-review. |
hua7450
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete has_emergency_medical_condition.yaml, then lgtm
Summary
Implements Emergency Medicaid eligibility for individuals who are ineligible for regular Medicaid due to immigration status but meet all other Medicaid eligibility requirements and have an emergency medical condition.
Closes #7003
Regulatory Authority
This implementation is based on:
Eligibility Requirements
Per the statute, Emergency Medicaid eligibility requires all three conditions:
is_medicaid_immigration_status_eligiblevariable)medicaid_categoryvariable)Files Added
Parameters (5 files)
Variables (2 files)
Tests (3 files, 57 test cases)
Test Coverage (57 tests)
Example Calculation
Scenario: Undocumented adult (age 35) with emergency medical condition and $18,000 income
is_medicaid_immigration_status_eligible: false (undocumented)medicaid_category: ADULT (income < 138% FPL in expansion state)has_emergency_medical_condition: trueResult:
is_emergency_medicaid_eligible= trueFormula:
enabled & has_emergency & (medicaid_category != NONE) & ~immigration_eligibleImplementation Notes
medicaid_categoryvariable which handles all income/categorical eligibility checksis_medicaid_immigration_status_eligiblevariable for immigration statushas_emergency_medical_conditionis an input variable (boolean) since emergency conditions are determined by medical providers, not calculatedeconomy: falseandhousehold: falsesince this is person-level eligibilityReferences