policyengine-us 1.366.1__py3-none-any.whl → 1.367.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of policyengine-us might be problematic. Click here for more details.
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/eligible_immigration_statuses.yaml +29 -0
- policyengine_us/reforms/congress/hawley/awra/american_worker_rebate_act.py +2 -2
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml +66 -0
- policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.py +3 -9
- policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py +36 -0
- {policyengine_us-1.366.1.dist-info → policyengine_us-1.367.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.366.1.dist-info → policyengine_us-1.367.0.dist-info}/RECORD +10 -7
- {policyengine_us-1.366.1.dist-info → policyengine_us-1.367.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.366.1.dist-info → policyengine_us-1.367.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.366.1.dist-info → policyengine_us-1.367.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
description: The United States limits Medicaid eligibility to these immigration statuses.
|
|
2
|
+
values:
|
|
3
|
+
2018-01-01:
|
|
4
|
+
- CITIZEN
|
|
5
|
+
- LEGAL_PERMANENT_RESIDENT
|
|
6
|
+
- REFUGEE
|
|
7
|
+
- ASYLEE
|
|
8
|
+
- DEPORTATION_WITHHELD
|
|
9
|
+
- CUBAN_HAITIAN_ENTRANT
|
|
10
|
+
- CONDITIONAL_ENTRANT
|
|
11
|
+
- PAROLED_ONE_YEAR
|
|
12
|
+
|
|
13
|
+
2026-10-01:
|
|
14
|
+
- CITIZEN
|
|
15
|
+
- LEGAL_PERMANENT_RESIDENT
|
|
16
|
+
- CUBAN_HAITIAN_ENTRANT
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
metadata:
|
|
20
|
+
label: Medicaid eligible immigration statuses
|
|
21
|
+
period: year
|
|
22
|
+
unit: list
|
|
23
|
+
reference:
|
|
24
|
+
- title: 42 USC § 1396b(v) - Medicaid eligibility for aliens
|
|
25
|
+
href: https://www.law.cornell.edu/uscode/text/42/1396b#v
|
|
26
|
+
- title: 8 USC § 1641 - Definition of qualified alien
|
|
27
|
+
href: https://www.law.cornell.edu/uscode/text/8/1641
|
|
28
|
+
- title: Health Provisions in the 2025 Federal Budget Reconciliation Bill | KFF
|
|
29
|
+
href: https://www.kff.org/tracking-the-medicaid-provisions-in-the-2025-budget-bill/
|
|
@@ -93,8 +93,8 @@ def create_american_worker_rebate_act() -> Reform:
|
|
|
93
93
|
|
|
94
94
|
def modify_parameters(parameters):
|
|
95
95
|
parameters.gov.irs.credits.refundable.update(
|
|
96
|
-
start=instant("
|
|
97
|
-
stop=instant("
|
|
96
|
+
start=instant("2024-01-01"),
|
|
97
|
+
stop=instant("2035-12-31"),
|
|
98
98
|
value=[
|
|
99
99
|
"eitc",
|
|
100
100
|
"refundable_american_opportunity_credit",
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
- name: Eligible immigration status - Citizen
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
immigration_status: CITIZEN
|
|
5
|
+
output:
|
|
6
|
+
is_medicaid_immigration_status_eligible: true
|
|
7
|
+
|
|
8
|
+
- name: Eligible immigration status - Legal Permanent Resident
|
|
9
|
+
period: 2024
|
|
10
|
+
input:
|
|
11
|
+
immigration_status: LEGAL_PERMANENT_RESIDENT
|
|
12
|
+
output:
|
|
13
|
+
is_medicaid_immigration_status_eligible: true
|
|
14
|
+
|
|
15
|
+
- name: Eligible immigration status - Refugee
|
|
16
|
+
period: 2024
|
|
17
|
+
input:
|
|
18
|
+
immigration_status: REFUGEE
|
|
19
|
+
output:
|
|
20
|
+
is_medicaid_immigration_status_eligible: true
|
|
21
|
+
|
|
22
|
+
- name: Eligible immigration status - Asylee
|
|
23
|
+
period: 2024
|
|
24
|
+
input:
|
|
25
|
+
immigration_status: ASYLEE
|
|
26
|
+
output:
|
|
27
|
+
is_medicaid_immigration_status_eligible: true
|
|
28
|
+
|
|
29
|
+
- name: Ineligible immigration status - DACA in non-covering state
|
|
30
|
+
period: 2024
|
|
31
|
+
input:
|
|
32
|
+
immigration_status: DACA_TPS
|
|
33
|
+
state_code_str: FL
|
|
34
|
+
output:
|
|
35
|
+
is_medicaid_immigration_status_eligible: false
|
|
36
|
+
|
|
37
|
+
- name: Ineligible immigration status - TPS
|
|
38
|
+
period: 2024
|
|
39
|
+
input:
|
|
40
|
+
immigration_status: TPS
|
|
41
|
+
output:
|
|
42
|
+
is_medicaid_immigration_status_eligible: false
|
|
43
|
+
|
|
44
|
+
- name: Undocumented in non-covering state
|
|
45
|
+
period: 2024
|
|
46
|
+
input:
|
|
47
|
+
immigration_status: UNDOCUMENTED
|
|
48
|
+
state_code_str: FL
|
|
49
|
+
output:
|
|
50
|
+
is_medicaid_immigration_status_eligible: false
|
|
51
|
+
|
|
52
|
+
- name: Undocumented in covering state - California
|
|
53
|
+
period: 2024
|
|
54
|
+
input:
|
|
55
|
+
immigration_status: UNDOCUMENTED
|
|
56
|
+
state_code_str: CA
|
|
57
|
+
output:
|
|
58
|
+
is_medicaid_immigration_status_eligible: true
|
|
59
|
+
|
|
60
|
+
- name: Undocumented in covering state - Illinois
|
|
61
|
+
period: 2024
|
|
62
|
+
input:
|
|
63
|
+
immigration_status: UNDOCUMENTED
|
|
64
|
+
state_code_str: IL
|
|
65
|
+
output:
|
|
66
|
+
is_medicaid_immigration_status_eligible: true
|
|
@@ -14,17 +14,11 @@ class is_medicaid_eligible(Variable):
|
|
|
14
14
|
def formula(person, period, parameters):
|
|
15
15
|
category = person("medicaid_category", period)
|
|
16
16
|
categorically_eligible = category != category.possible_values.NONE
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
state = person.household("state_code_str", period)
|
|
20
|
-
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
21
|
-
state_covers_undocumented = p.undocumented_immigrant[state].astype(
|
|
22
|
-
bool
|
|
23
|
-
)
|
|
24
|
-
immigration_status_eligible = (
|
|
25
|
-
~undocumented | undocumented & state_covers_undocumented
|
|
17
|
+
immigration_status_eligible = person(
|
|
18
|
+
"is_medicaid_immigration_status_eligible", period
|
|
26
19
|
)
|
|
27
20
|
ca_ffyp_eligible = person("ca_ffyp_eligible", period)
|
|
21
|
+
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
28
22
|
if p.work_requirements.applies:
|
|
29
23
|
work_requirement_eligible = person(
|
|
30
24
|
"medicaid_work_requirement_eligible", period
|
policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class is_medicaid_immigration_status_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
label = "Person is eligible for Medicaid due to immigration status"
|
|
8
|
+
definition_period = YEAR
|
|
9
|
+
reference = [
|
|
10
|
+
"https://www.law.cornell.edu/uscode/text/42/1396b#v",
|
|
11
|
+
"https://www.law.cornell.edu/uscode/text/8/1641",
|
|
12
|
+
"https://www.kff.org/racial-equity-and-health-policy/fact-sheet/key-facts-on-health-coverage-of-immigrants/",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
def formula(person, period, parameters):
|
|
16
|
+
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
17
|
+
immigration_status = person("immigration_status", period)
|
|
18
|
+
immigration_status_str = immigration_status.decode_to_str()
|
|
19
|
+
|
|
20
|
+
# Check if immigration status is in the eligible list
|
|
21
|
+
eligible_immigration_status = np.isin(
|
|
22
|
+
immigration_status_str, p.eligible_immigration_statuses
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
# Special handling for undocumented immigrants in states that cover them
|
|
26
|
+
undocumented = (
|
|
27
|
+
immigration_status
|
|
28
|
+
== immigration_status.possible_values.UNDOCUMENTED
|
|
29
|
+
)
|
|
30
|
+
state = person.household("state_code_str", period)
|
|
31
|
+
state_covers_undocumented = p.undocumented_immigrant[state].astype(
|
|
32
|
+
bool
|
|
33
|
+
)
|
|
34
|
+
undocumented_eligible = undocumented & state_covers_undocumented
|
|
35
|
+
|
|
36
|
+
return eligible_immigration_status | undocumented_eligible
|
|
@@ -375,6 +375,7 @@ policyengine_us/parameters/gov/hhs/head_start/early_head_start/age_limit.yaml,sh
|
|
|
375
375
|
policyengine_us/parameters/gov/hhs/liheap/smi_limit.yaml,sha256=sxF6iBSWKxt-XCxN_PEh-8zxjBdw5mvsXI7xzcilzO0,496
|
|
376
376
|
policyengine_us/parameters/gov/hhs/medicaid/index.yaml,sha256=rHA75ZOkRKkoYkd4zjChiGfJF_G--G2ZfwG3LZLIf6I,85
|
|
377
377
|
policyengine_us/parameters/gov/hhs/medicaid/takeup_rate.yaml,sha256=1VZEaOsPG9fjsHUOWqVo5Yt599n3KFRzhZHzInOg7Qs,523
|
|
378
|
+
policyengine_us/parameters/gov/hhs/medicaid/eligibility/eligible_immigration_statuses.yaml,sha256=eJU7iENW8_obCZs1Q95lkGJ8q_5D7JCIfPc3HF2A8o4,898
|
|
378
379
|
policyengine_us/parameters/gov/hhs/medicaid/eligibility/undocumented_immigrant.yaml,sha256=H0o-QTzlZvpmPfK8_fLCGiUYsUHwIHn_4WvcfN0YJgw,2445
|
|
379
380
|
policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/covered.yaml,sha256=PrOPBamu_vl2Qz1hIbknJcdwZ4-vcqMMG2juoZkAvsE,687
|
|
380
381
|
policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/adult/age_range.yaml,sha256=nueTOfoUFSfRcz8C5HZAMLjEa0fz7hED1sc_GKyN4Do,630
|
|
@@ -3077,7 +3078,7 @@ policyengine_us/reforms/congress/delauro/american_family_act.py,sha256=28qSzdksA
|
|
|
3077
3078
|
policyengine_us/reforms/congress/golden/__init__.py,sha256=ysSLDnH1KkC1PFrWmNuioPGFiGRiXZfm1hVp2i3KrgY,45
|
|
3078
3079
|
policyengine_us/reforms/congress/golden/fisc_act.py,sha256=fghy-GTHgfCQp6MJIWSUzM9QP8SMuZRenUmBdrzTAdA,4312
|
|
3079
3080
|
policyengine_us/reforms/congress/hawley/awra/__init__.py,sha256=QiMjadFJXFCLvm4Q-fQNTXcXO7YHyu4Aq2HyWrwQzWg,90
|
|
3080
|
-
policyengine_us/reforms/congress/hawley/awra/american_worker_rebate_act.py,sha256=
|
|
3081
|
+
policyengine_us/reforms/congress/hawley/awra/american_worker_rebate_act.py,sha256=pyJ3Q2AcAH6YXwxa8sK7aD9uqZ4IWF-WAoxyheXnJo0,5250
|
|
3081
3082
|
policyengine_us/reforms/congress/romney/family_security_act/__init__.py,sha256=JHr_7P5WEMyJOFwywc5fCyla8uvfg2LLLDUKewu2-0E,77
|
|
3082
3083
|
policyengine_us/reforms/congress/romney/family_security_act/remove_head_of_household.py,sha256=_wW5ymFqWHMEV5Pv9wsvEM6unYi9I0SPtXkcJAFp6sQ,1003
|
|
3083
3084
|
policyengine_us/reforms/congress/romney/family_security_act_2024/ctc/__init__.py,sha256=7_NYzsrBFIIytz7TmywkeeyBHuxIFenbwONdRrVnvTk,94
|
|
@@ -3237,6 +3238,7 @@ policyengine_us/tests/policy/baseline/gov/hhs/head_start/is_head_start_income_el
|
|
|
3237
3238
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/takes_up_medicaid_if_eligible.yaml,sha256=oms_o-8TUcO7wWy6gBcJTF8lDpaXHuG0dhUVIcyyQ-M,272
|
|
3238
3239
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/costs/medicaid_cost_if_enrolled.yaml,sha256=yfCH1fA8EFAkitMA7lZvN84DRpxV6931-i7c-jlzcLs,1964
|
|
3239
3240
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_eligible.yaml,sha256=qOwotHvU-Np4omY-_ZnQO9r9-RbbwKpnwWlB0P1VBRo,4016
|
|
3241
|
+
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml,sha256=Ot9vGO0S7JEUFQD4Bk7wWv5OgqqwSWRcwBXIoZxf65w,1631
|
|
3240
3242
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml,sha256=5b4TJ1XFDRSw1L0mhy9DkOKZrIwenqYFm5sWz3SHVns,1955
|
|
3241
3243
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_adult_for_medicaid.yaml,sha256=JgVnd5zaAAva6gVkB0W8xiujGfF4SzFnH7mWFGLhNqc,694
|
|
3242
3244
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/is_infant_for_medicaid.yaml,sha256=g3lXGGDmiGITUOXgdRsnUzFP8wywGveIbM9y2HcMNXI,1347
|
|
@@ -5315,7 +5317,8 @@ policyengine_us/variables/gov/hhs/medicaid/medicaid_take_up_seed.py,sha256=8oVAz
|
|
|
5315
5317
|
policyengine_us/variables/gov/hhs/medicaid/takes_up_medicaid_if_eligible.py,sha256=ZIXU-6i9eq8U9mR657d50Fg5RllZgWt5DSGxhKvunxg,445
|
|
5316
5318
|
policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_cost_if_enrolled.py,sha256=AFmI71eu1nCxGNZKajTZgHAZHmp4cv3dJKLjQHIUMew,2968
|
|
5317
5319
|
policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py,sha256=NlZTkPMjmirCvygyzpRH3nGULGD-a-ExnAvgnCL7dqY,2335
|
|
5318
|
-
policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.py,sha256=
|
|
5320
|
+
policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.py,sha256=YPZ5p42SH5ONnE8YsFOSfMeLoh7L7s5OCNOl2l_zDxk,1264
|
|
5321
|
+
policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py,sha256=aeK1Pd0V9xJPcMiB3B4SV5grn1BWK-kR2wZ3gS_OvgE,1446
|
|
5319
5322
|
policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py,sha256=CDjNUXNcgulFtZiXyNcdkE1Qh7qEhUw3YpyZ5re6PWg,2682
|
|
5320
5323
|
policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_optional_senior_or_disabled_asset_eligible.py,sha256=0N6_36jCoXn-MHNpS_SdaLmucYUv3mqJnuaQ35o5LoU,1060
|
|
5321
5324
|
policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_optional_senior_or_disabled_for_medicaid.py,sha256=BJ9KSJ_hOudfqL1RfEp_TIAwdkkclwqOgaIKPP35H5M,881
|
|
@@ -8240,8 +8243,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8240
8243
|
policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
|
|
8241
8244
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8242
8245
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8243
|
-
policyengine_us-1.
|
|
8244
|
-
policyengine_us-1.
|
|
8245
|
-
policyengine_us-1.
|
|
8246
|
-
policyengine_us-1.
|
|
8247
|
-
policyengine_us-1.
|
|
8246
|
+
policyengine_us-1.367.0.dist-info/METADATA,sha256=vf9G-Tvd2Fjg47ynSUH4OUWv1SZZKeUPxpAJLukbaqk,1693
|
|
8247
|
+
policyengine_us-1.367.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8248
|
+
policyengine_us-1.367.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8249
|
+
policyengine_us-1.367.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8250
|
+
policyengine_us-1.367.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|