Skip to content
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

California Medicaid Former Foster Youth Program #5173

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
added:
- California Medicaid Former Foster Youth Program.
10 changes: 10 additions & 0 deletions policyengine_us/parameters/gov/states/ca/dhcs/ffyp/age_limit.yaml
vrathi101 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: California limits participation in the Former Foster Youth Program to individuals below this age.
metadata:
reference:
- title: California DHCS Former Foster Youth Program
href: https://www.dhcs.ca.gov/services/medi-cal/eligibility/Pages/FFY_Bene.aspx
label: California Former Foster Youth Program age limit
unit: year
period: year
values:
2024-01-01: 26
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: California limits participation in the Former Foster Youth Program to individuals who were in foster care at this age or older.
metadata:
reference:
- title: California DHCS Former Foster Youth Program
href: https://www.dhcs.ca.gov/services/medi-cal/eligibility/Pages/FFY_Bene.aspx
label: California Former Foster Youth Program foster care age minimum
unit: year
period: year
values:
2024-01-01: 18
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ metadata:
- title: 2023 Minnesota M1 form instructions, Tax Rate Schedules
href: https://www.revenue.state.mn.us/sites/default/files/2024-02/m1-inst-23.pdf#page=32
- title: Tax Year 2024 Inflation-Adjusted Amounts In Minnesota Statutes
href: https://www.revenue.state.mn.us/sites/default/files/2023-12/inflation-adjusted-amounts-ty-2024.pdf
href: https://www.revenue.state.mn.us/sites/default/files/2023-12/inflation-adjusted-amounts-ty-2024.pdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from policyengine_us.model_api import *


class ca_ffyp_eligible(Variable):
value_type = bool
entity = Person
label = "Eligible person for California Former Foster Youth Program"
vrathi101 marked this conversation as resolved.
Show resolved Hide resolved
unit = USD
vrathi101 marked this conversation as resolved.
Show resolved Hide resolved
definition_period = YEAR
reference = "https://www.dhcs.ca.gov/services/medi-cal/eligibility/Pages/FFY_Bene.aspx"
defined_for = StateCode.CA

def formula(person, period, parameters):
p = parameters(period).gov.states.ca.dhcs.ffyp
age = person("age", period)
age_eligible = p.foster_care_age_minimum <= age < p.age_limit
vrathi101 marked this conversation as resolved.
Show resolved Hide resolved
if ~age_eligible:
return False
age_gap_from_minimum = age - p.foster_care_age_minimum
head = period
for _ in range(age_gap_from_minimum + 1):
if person("was_in_foster_care", head):
return True
head = head.last_year
return False