File tree 5 files changed +117
-1
lines changed
tests/policy/baseline/hhs/medicaid
5 files changed +117
-1
lines changed Original file line number Diff line number Diff line change 16
16
17
17
* Broke down TANF eligibility into demographic and financial variables, with financial separated by current enrollment in program
18
18
* Specified demographic TANF eligibility per IL rules
19
+
20
+ ### 0.5.0
21
+
22
+ * Added Medicaid Tests + Income Threshold Formula for California
Original file line number Diff line number Diff line change
1
+ description : Medicaid income limit as a percentage of the federal poverty guideline.
2
+ CA :
3
+ ADULT_WITHOUT_DEPENDENT :
4
+ 2021-01-01 : 1.38
5
+ ADULT_WITH_DEPENDENT :
6
+ 2021-01-01 : 1.38
7
+ CHILD_AGE_0 :
8
+ 2021-01-01 : 1.38
9
+ CHILD_AGE_1_5 :
10
+ 2021-01-01 : 1.38
11
+ CHILD_AGE_6_18 :
12
+ 2021-01-01 : 1.38
13
+
14
+ metadata :
15
+ unit : /1
16
+ reference :
17
+ title : California Medicaid Eligibility
18
+ href : https://www.dhcs.ca.gov/services/medi-cal/Pages/DoYouQualifyForMedi-Cal.aspx
19
+ period : year
Original file line number Diff line number Diff line change
1
+ - name : California adult with no dependents
2
+ period : 2022
3
+ input :
4
+ people :
5
+ person :
6
+ medicaid_person_type : ADULT_WITHOUT_DEPENDENT
7
+ households :
8
+ household :
9
+ state_code_str : CA
10
+ members : [person]
11
+ output :
12
+ medicaid_income_threshold : 1.38
13
+ - name : California adult with dependents
14
+ period : 2022
15
+ input :
16
+ people :
17
+ person :
18
+ medicaid_person_type : ADULT_WITH_DEPENDENT
19
+ households :
20
+ household :
21
+ state_code_str : CA
22
+ members : [person]
23
+ output :
24
+ medicaid_income_threshold : 1.38
25
+ - name : Californian child age 0
26
+ period : 2022
27
+ input :
28
+ people :
29
+ person :
30
+ medicaid_person_type : CHILD_AGE_0
31
+ households :
32
+ household :
33
+ state_code_str : CA
34
+ members : [person]
35
+ output :
36
+ medicaid_income_threshold : 1.38
37
+ - name : California child between 1-5 years of age
38
+ period : 2022
39
+ input :
40
+ people :
41
+ person :
42
+ medicaid_person_type : CHILD_AGE_1_5
43
+ households :
44
+ household :
45
+ state_code_str : CA
46
+ members : [person]
47
+ output :
48
+ medicaid_income_threshold : 1.38
49
+ - name : California child between 6-18 years of age
50
+ period : 2022
51
+ input :
52
+ people :
53
+ person :
54
+ medicaid_person_type : CHILD_AGE_6_18
55
+ households :
56
+ household :
57
+ state_code_str : CA
58
+ members : [person]
59
+ output :
60
+ medicaid_income_threshold : 1.38
Original file line number Diff line number Diff line change
1
+ from openfisca_us .model_api import *
2
+
3
+
4
+ class MedicaidPersonType (Enum ):
5
+ ADULT_WITHOUT_DEPENDENT = "Adult without dependent"
6
+ ADULT_WITH_DEPENDENT = "Adult with dependent"
7
+ CHILD_AGE_0 = "Child age 0"
8
+ CHILD_AGE_1_5 = "Child age 1 to 5"
9
+ CHILD_AGE_6_18 = "Child age 6 to 18"
10
+
11
+
12
+ class medicaid_person_type (Variable ):
13
+ value_type = Enum
14
+ possible_values = MedicaidPersonType
15
+ default_value = MedicaidPersonType .ADULT_WITHOUT_DEPENDENT
16
+ entity = Person
17
+ definition_period = YEAR
18
+ label = "Medicaid person type"
19
+ documentation = "Person type for Medicaid"
20
+
21
+
22
+ class medicaid_income_threshold (Variable ):
23
+ value_type = float
24
+ entity = Person
25
+ definition_period = YEAR
26
+ label = "Medicaid FPL threshold"
27
+ documentation = "Maximum income as a percentage of the federal poverty line to qualify for Medicaid"
28
+
29
+ def formula (person , period , parameters ):
30
+ state_code = person .household ("state_code_str" , period )
31
+ person_type = person ("medicaid_person_type" , period )
32
+ income_threshold = parameters (period ).hhs .medicaid .income_limit
33
+ return income_threshold [state_code ][person_type ]
Original file line number Diff line number Diff line change 4
4
5
5
setup (
6
6
name = "OpenFisca-US" ,
7
- version = "0.4 .0" ,
7
+ version = "0.5 .0" ,
8
8
author = "Nikhil Woodruff" ,
9
9
10
10
classifiers = [
You can’t perform that action at this time.
0 commit comments