Skip to content

Add Medicaid CE short-term hardship exceptions: hospitalization and medical travel - #9308

Open
DTrim99 wants to merge 1 commit into
PolicyEngine:mainfrom
DTrim99:medicaid-ce-hardship-exceptions
Open

Add Medicaid CE short-term hardship exceptions: hospitalization and medical travel#9308
DTrim99 wants to merge 1 commit into
PolicyEngine:mainfrom
DTrim99:medicaid-ce-hardship-exceptions

Conversation

@DTrim99

@DTrim99 DTrim99 commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Part of #8270 (parent #7751).

Adds two person-level boolean inputs for Medicaid community engagement short-term hardship exceptions and ORs them into the medicaid_work_requirement_eligible exemption set:

  • is_hospitalized_for_medicaid_ce — hospitalization or intensive services
  • has_long_distance_medical_travel_for_medicaid_ce — long-distance medical travel

Both follow the existing hardship-input pattern (e.g. is_in_medicaid_community_engagement_treatment_program) and default to false, so microsimulation results are unchanged — they let household scenarios represent circumstances the survey data can't signal.

Deferred (per the issue's scope): the county-unemployment-threshold and federal-disaster-declaration hardships require external data (county unemployment rates, disaster declarations); and state-election gating pending the mandatory-vs-state-optional determination.

Tests: added hospitalized → exempt, medical-travel → exempt, and a no-hardship control → subject. medicaid_work_requirement_eligible suite 40/40.

🤖 Generated with Claude Code

…cal travel (PolicyEngine#8270)

Adds two person-level boolean inputs for Medicaid community engagement
short-term hardship exceptions - hospitalization/intensive services and
long-distance medical travel - OR-ed into the medicaid_work_requirement_eligible
exemption set, matching the existing hardship-input pattern (e.g. treatment
program). Both default to false, so microsimulation results are unchanged. The
county-unemployment-threshold and federal-disaster hardships require external
data and are deferred.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8326a14) to head (5ab7fbd).
⚠️ Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #9308   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12         3    -9     
  Lines          161        65   -96     
=========================================
- Hits           161        65   -96     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DTrim99
DTrim99 requested a review from hua7450 August 19, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant