From 61b64f5fda5ab27e9ee97247a0edbe0e2c62e7b4 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 1 Dec 2026 08:17:09 +0000 Subject: [PATCH] Cover Pennsylvania SSP-only recipients under Medicaid Co-Authored-By: GPT-6.2 Sol --- .../pa-medicaid-ssp-only-recipients.fixed.md | 1 + .../pa/dhs/ssp/medicaid_covers_ssp_only.yaml | 12 ++++++ .../is_ssi_recipient_for_medicaid.yaml | 38 +++++++++++++++++++ .../is_ssi_recipient_for_medicaid.py | 18 +++++++-- 4 files changed, 65 insertions(+), 4 deletions(-) create mode 100644 changelog.d/pa-medicaid-ssp-only-recipients.fixed.md create mode 100644 policyengine_us/parameters/gov/states/pa/dhs/ssp/medicaid_covers_ssp_only.yaml diff --git a/changelog.d/pa-medicaid-ssp-only-recipients.fixed.md b/changelog.d/pa-medicaid-ssp-only-recipients.fixed.md new file mode 100644 index 00000000000..84ec6db6243 --- /dev/null +++ b/changelog.d/pa-medicaid-ssp-only-recipients.fixed.md @@ -0,0 +1 @@ +Make Pennsylvania residents who receive only the State Supplementary Payment eligible for Medicaid. diff --git a/policyengine_us/parameters/gov/states/pa/dhs/ssp/medicaid_covers_ssp_only.yaml b/policyengine_us/parameters/gov/states/pa/dhs/ssp/medicaid_covers_ssp_only.yaml new file mode 100644 index 00000000000..c51f12a250c --- /dev/null +++ b/policyengine_us/parameters/gov/states/pa/dhs/ssp/medicaid_covers_ssp_only.yaml @@ -0,0 +1,12 @@ +description: Whether the model includes Pennsylvania's Medicaid eligibility pathway for people who receive only the State Supplementary Payment. +values: + 0001-01-01: false + # Pennsylvania SSP payment amounts are modeled from 2026. + 2026-01-01: true + +metadata: + unit: bool + label: Pennsylvania Medicaid coverage for SSP-only recipients + reference: + - title: Pennsylvania Medicaid State Plan, Attachment 2.2-A, item 10 + href: https://www.pa.gov/content/dam/copapwp-pagov/en/dhs/documents/docs/publications/documents/2023-medicaid-state-plan/0010%20Attach.%202.2A.pdf#page=21 diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.yaml index 75865b20829..e4cfb513034 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.yaml @@ -89,3 +89,41 @@ members: [person1, person2] output: is_ssi_recipient_for_medicaid: [true, false] + +- name: Pennsylvania personal care home resident qualifies with SSP alone in January. + period: 2026-01 + absolute_error_margin: 0.01 + input: + state_code: PA + age: 65 + employment_income: + 2026: 39_900 + pa_ssp_care_home: PERSONAL_CARE + output: + # Countable income is (39,900 / 12 - 20 - 65) / 2 = 1,620. + # The federal rate is 994. The PA payment is 994 + 639.30 - 1,620 = 13.30. + ssi: 0 + pa_ssp: 13.30 + is_ssi_recipient_for_medicaid: + 2026: true + medicaid_category: + 2026: SSI_RECIPIENT + is_medicaid_eligible: + 2026: true + +- name: Pennsylvania personal care home resident qualifies with SSP alone for the year. + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: PA + age: 65 + employment_income: 39_900 + pa_ssp_care_home: PERSONAL_CARE + output: + # Countable income is (39,900 / 12 - 20 - 65) / 2 = 1,620 each month. + # Federal SSI is 0. The PA payment is (994 + 639.30 - 1,620) * 12 = 159.60. + ssi: 0 + pa_ssp: 159.60 + is_ssi_recipient_for_medicaid: true + medicaid_category: SSI_RECIPIENT + is_medicaid_eligible: true diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.py index 243bc7b34fc..34e74b97389 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_ssi_recipient_for_medicaid.py @@ -8,18 +8,21 @@ class is_ssi_recipient_for_medicaid(Variable): documentation = ( "Qualifies for Medicaid due to receiving SSI in Section 1634 and " "SSI-criteria states, or due to satisfying a Section 209(b) state's " - "more restrictive SSI-recipient Medicaid criteria." + "more restrictive SSI-recipient Medicaid criteria. Also includes " + "Pennsylvania residents who receive only a State Supplementary Payment." ) definition_period = YEAR reference = ( "https://secure.ssa.gov/apps10/poms.nsf/lnx/0501715010", "https://www.law.cornell.edu/uscode/text/42/1396a#f", "https://www.medicaid.gov/resources-for-states/downloads/macpro-ig-more-restrictive-requirements-1902f-209bstates.pdf#page=3", + "https://www.pa.gov/content/dam/copapwp-pagov/en/dhs/documents/docs/publications/documents/2023-medicaid-state-plan/0010%20Attach.%202.2A.pdf#page=21", ) def formula(person, period, parameters): state = person.household("state_code_str", period) - categories = parameters(period).gov.hhs.medicaid.eligibility.categories + gov = parameters(period).gov + categories = gov.hhs.medicaid.eligibility.categories is_covered = categories.ssi_recipient.is_covered[state].astype(bool) classified = person("medicaid_ssi_recipient_state_classification", period) classifications = classified.possible_values @@ -29,6 +32,13 @@ def formula(person, period, parameters): receives_ssi = (person("ssi", period) > 0) | ( add(person, period, ["receives_ssi"]) > 0 ) - return (receives_ssi & is_covered & covered_classification) | person( - "is_209b_ssi_recipient_for_medicaid", period + receives_pa_ssp_only = False + if gov.states.pa.dhs.ssp.medicaid_covers_ssp_only: + receives_pa_ssp_only = ( + (state == "PA") & ~receives_ssi & (add(person, period, ["pa_ssp"]) > 0) + ) + return ( + (receives_ssi & is_covered & covered_classification) + | receives_pa_ssp_only + | person("is_209b_ssi_recipient_for_medicaid", period) )