diff --git a/changelog.d/medicaid-adult-group-start-dates.fixed.md b/changelog.d/medicaid-adult-group-start-dates.fixed.md new file mode 100644 index 00000000000..d948879fb26 --- /dev/null +++ b/changelog.d/medicaid-adult-group-start-dates.fixed.md @@ -0,0 +1 @@ +Started the Medicaid adult group in Maine on July 2, 2018, in Idaho on January 1, 2020 and in Nebraska on October 1, 2020. diff --git a/policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/adult/income_limit.yaml b/policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/adult/income_limit.yaml index 3a8f6e7e214..5259fb59cc5 100644 --- a/policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/adult/income_limit.yaml +++ b/policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/adult/income_limit.yaml @@ -50,7 +50,16 @@ IA: 2018-01-01: 1.38 ID: 2018-01-01: -.inf - 2021-01-01: 1.38 + 2020-01-01: + value: 1.38 + metadata: + reference: + - title: CMS approval of Idaho State Plan Amendment ID-19-0007, November 13, 2019 + href: https://www.medicaid.gov/State-resource-center/Medicaid-State-Plan-Amendments/Downloads/ID/ID-19-0007.pdf#page=3 + - title: Idaho Department of Health and Welfare Strategic Plan, SFY 2020-2024 + href: https://dfm.idaho.gov/wp-content/uploads/publications/exec/budget/fy2020/strategic-plans/health-and-human-services/health-and-welfare_department-of.pdf#page=12 + - title: Idaho House Health and Welfare Committee minutes, January 29, 2020 + href: https://legislature.idaho.gov/wp-content/uploads/sessioninfo/2020/standingcommittees/200129_hhea_0900AM-Minutes.pdf#page=3 IL: 2018-01-01: 1.38 IN: @@ -68,7 +77,16 @@ MD: 2018-01-01: 1.38 ME: 2018-01-01: -.inf - 2021-01-01: 1.38 + 2018-07-02: + value: 1.38 + metadata: + reference: + - title: CMS approval of Maine State Plan Amendment 18-0006, April 3, 2019 + href: https://www.medicaid.gov/State-resource-center/Medicaid-State-Plan-Amendments/Downloads/me/me-18-0006.pdf#page=2 + - title: CMS approval of Maine Medicaid expansion, April 3, 2019 + href: https://www.maine.gov/future/sites/maine.gov.governor.mills/files/inline-files/Maine%20Medicaid%20Expansion%20SPAs%20-%20Master%20Approval%20Letter%20and%20Dir%20Chris%20Traylor%20Letter.pdf#page=1 + - title: Maine Revised Statutes, Title 22, section 3174-G(1)(H) + href: https://legislature.maine.gov/statutes/22/title22sec3174-G.html MI: 2018-01-01: 1.38 MN: @@ -92,7 +110,14 @@ ND: 2018-01-01: 1.38 NE: 2018-01-01: -.inf - 2021-01-01: 1.38 + 2020-10-01: + value: 1.38 + metadata: + reference: + - title: CMS approval of Nebraska Heritage Health Adult demonstration, October 20, 2020 + href: https://www.medicaid.gov/sites/default/files/2020-10/ne-hha-ca.pdf#page=4 + - title: Nebraska Medicaid Annual Report, State Fiscal Year 2020 + href: https://nebraskalegislature.gov/FloorDocs/106/PDF/Agencies/Health_and_Human_Services__Department_of/107_20201201-154227.pdf#page=4 NH: 2018-01-01: 1.38 NJ: @@ -129,12 +154,18 @@ UT: value: 1.00 metadata: reference: + - title: Utah Medicaid Expansion at a Glance, July 2019 + href: https://medicaid-documents.dhhs.utah.gov/Documents/pdfs/Adult%20Expansion%20Comparison%20Chart_FINAL.pdf#page=1 + - title: Utah SB 96 (2019), section 26-18-415(1)(b)(i) + href: https://le.utah.gov/~2019/bills/sbillenr/SB0096.htm - title: "CMS approval of Utah Primary Care Network demonstration, December 16, 2020 #page 6,19,25-26" href: https://www.medicaid.gov/sites/default/files/2020-12/ut-primary-care-network-ca.pdf#page=6 2020-01-01: value: 1.38 metadata: reference: + - title: Utah Medicaid Statewide Provider Training, 2020 + href: https://medicaid-documents.dhhs.utah.gov/Documents/pdfs/Statewide%20Provider%20Training%202020%20Presentation.pdf#page=38 - title: CMS approval of Utah Primary Care Network demonstration, December 16, 2020 href: https://www.medicaid.gov/sites/default/files/2020-12/ut-primary-care-network-ca.pdf#page=7 VA: @@ -145,6 +176,8 @@ VA: reference: - title: CMS approval of Virginia demonstration amendment, July 9, 2020 href: https://www.medicaid.gov/medicaid/section-1115-demonstrations/downloads/va-gov-access-plan-gap-amendment-appvl-07092020.pdf#page=8 + - title: Virginia Medical Assistance Eligibility Manual, October 2018, M0310.136(A) + href: https://www.dmas.virginia.gov/media/2261/transmittal-dmas-10-effective-10-1-18.pdf#page=43 VT: 2018-01-01: 1.38 WA: diff --git a/policyengine_us/tests/core/test_medicaid_adult_group_start_dates.py b/policyengine_us/tests/core/test_medicaid_adult_group_start_dates.py new file mode 100644 index 00000000000..1b0bd381610 --- /dev/null +++ b/policyengine_us/tests/core/test_medicaid_adult_group_start_dates.py @@ -0,0 +1,61 @@ +"""Check daily parameter boundaries that annual household tests cannot reach.""" + +from datetime import date, timedelta +from pathlib import Path + +import pytest +from hypothesis import given, settings +from hypothesis import strategies as st +from policyengine_core.parameters.helpers import load_parameter_file + + +INCOME_LIMIT = load_parameter_file( + str( + Path(__file__).resolve().parents[2] + / "parameters/gov/hhs/medicaid/eligibility/categories/adult/income_limit.yaml" + ), + "medicaid_adult_income_limit", +) +STATES = ("VA", "ME", "ID", "UT", "NE") +NO_COVERAGE = float("-inf") + + +@pytest.mark.parametrize( + "state, start, before, after", + [ + ("VA", date(2019, 1, 1), NO_COVERAGE, 1.38), + ("ME", date(2018, 7, 2), NO_COVERAGE, 1.38), + ("ID", date(2020, 1, 1), NO_COVERAGE, 1.38), + ("UT", date(2019, 4, 1), NO_COVERAGE, 1.00), + ("UT", date(2020, 1, 1), 1.00, 1.38), + ("NE", date(2020, 10, 1), NO_COVERAGE, 1.38), + ], +) +def test_adult_income_limit_changes_on_coverage_start(state, start, before, after): + parameter = INCOME_LIMIT.children[state] + assert parameter((start - timedelta(days=1)).isoformat()) == before + assert parameter(start.isoformat()) == after + + +@settings(max_examples=30, deadline=None, derandomize=True) +@given( + first=st.dates(min_value=date(2018, 1, 1), max_value=date(2026, 12, 31)), + second=st.dates(min_value=date(2018, 1, 1), max_value=date(2026, 12, 31)), +) +def test_adult_income_limits_never_fall_during_expansion(first, second): + earlier, later = sorted((first, second)) + for state in STATES: + parameter = INCOME_LIMIT.children[state] + earlier_limit = parameter(earlier.isoformat()) + later_limit = parameter(later.isoformat()) + allowed = {NO_COVERAGE, 1.00, 1.38} if state == "UT" else {NO_COVERAGE, 1.38} + assert earlier_limit in allowed + assert later_limit in allowed + assert earlier_limit <= later_limit + + +@settings(max_examples=30, deadline=None, derandomize=True) +@given(day=st.dates(min_value=date(2021, 1, 1), max_value=date(2035, 12, 31))) +def test_adult_income_limits_preserve_post_2020_coverage(day): + for state in STATES: + assert INCOME_LIMIT.children[state](day.isoformat()) == 1.38 diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medicaid_category.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medicaid_category.yaml index 02e95d276b7..a2d1e44ecac 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medicaid_category.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medicaid_category.yaml @@ -264,3 +264,328 @@ output: medicaid_category: [SENIOR_OR_DISABLED, ADULT] is_medicaid_eligible: [true, true] + + +# In 2019, $15,000 / $12,490 = 1.201 FPL, below 1.38. +# On January 1, KY, VA and ME cover the adult group; ID, UT and NE do not. +- name: Adult group covers a childless adult in KY in 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: KY + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in VA in 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: VA + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ME in 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: ME + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group does not cover a childless adult in ID on January 1, 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: ID + output: + medicaid_category: NONE + is_aca_ptc_eligible: true + +- name: Adult group does not cover a childless adult in UT on January 1, 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: UT + output: + medicaid_category: NONE + is_aca_ptc_eligible: true + +- name: Adult group does not cover a childless adult in NE on January 1, 2019. + period: 2019 + input: + age: 30 + employment_income: 15_000 + state_code: NE + output: + medicaid_category: NONE + is_aca_ptc_eligible: true + + +# In 2020, $15,000 / $12,760 = 1.176 FPL, below 1.38. +# On January 1, KY, VA, ME, ID and UT cover the adult group; NE does not. +- name: Adult group covers a childless adult in KY in 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: KY + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in VA in 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: VA + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ME in 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: ME + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ID in 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: ID + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in UT in 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: UT + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group does not cover a childless adult in NE on January 1, 2020. + period: 2020 + input: + age: 30 + employment_income: 15_000 + state_code: NE + output: + medicaid_category: NONE + is_aca_ptc_eligible: true + + +# In 2021, $15,000 / $12,880 = 1.165 FPL, below 1.38 in all six states. +- name: Adult group covers a childless adult in KY in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: KY + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in VA in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: VA + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ME in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: ME + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ID in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: ID + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in UT in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: UT + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in NE in 2021. + period: 2021 + input: + age: 30 + employment_income: 15_000 + state_code: NE + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + + +# In 2026, $15,000 / $15,960 = 0.940 FPL, below 1.38 in all six states. +- name: Adult group covers a childless adult in KY in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: KY + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in VA in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: VA + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ME in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: ME + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in ID in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: ID + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in UT in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: UT + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: Adult group covers a childless adult in NE in 2026. + period: 2026 + input: + age: 30 + employment_income: 15_000 + state_code: NE + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +# In 2026, $20,000 / $15,960 = 1.253 FPL, below the 1.38 adult limit. +# ACA uses the prior-year guideline: floor(100 * 20,000 / 15,650) / 100 +# = 1.27, above its 1.00 income floor (26 USC 36B(c)(1)(A)). Adults +# eligible for Medicaid cannot claim PTCs (26 USC 36B(c)(2)(B)(i)). +# https://uscode.house.gov/us/usc/119-136/t26/s36B/ +- name: A childless adult above the PTC income floor qualifies for Medicaid in KY in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: KY + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor qualifies for Medicaid in VA in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: VA + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor qualifies for Medicaid in ME in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: ME + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor qualifies for Medicaid in ID in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: ID + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor qualifies for Medicaid in UT in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: UT + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor qualifies for Medicaid in NE in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: NE + output: + medicaid_category: ADULT + is_aca_ptc_eligible: false + +- name: A childless adult above the PTC income floor in TX qualifies for PTC without Medicaid in 2026. + period: 2026 + input: + age: 30 + employment_income: 20_000 + state_code: TX + output: + medicaid_category: NONE + is_aca_ptc_eligible: true