Does the family have a child who meets the criteria for disabled
Sole Parent Support Boolean MONTH Family Formula Included used 1 timeValue type Boolean . Default value false Entity family
How is this calculated?
To calculate this variable, the following input is used
- Int age_of_youngest The age of the youngest member of a family
- 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__family_has_child_under_age_limit
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(families, period, parameters):
youngest_child_age_threshold = parameters(period).entitlements.social_security.sole_parent_support.youngest_child_age_threshold
youngest_ages = families('age_of_youngest', period.start)
return youngest_ages < youngest_child_age_threshold