Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/medicaid-adult-group-start-dates.fixed.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Loading
Loading