Meets the age test for sole parent support?
Sole Parent Support Boolean MONTH Person Formula Included used 1 timeValue type Boolean . Default value true Entity person
How is this calculated?
To calculate this variable, the following input is used
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean social_security__eligible_for_sole_parent_support Eligible for Sole Parent Support
Formulas
This is the formula used to calculate the value of sole_parent_support__meets_age_threshold
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(persons, period, parameters):
# old enough?
age_threshold = parameters(period).entitlements.social_security.sole_parent_support.age_threshold
return persons('age', period.start) >= age_threshold