Meets the sole parent support test for not being in a relationshipSole Parent Support Boolean MONTH Person Formula Included used 1 time
Value type Boolean . Default value true Entity person
How is this calculated?
To calculate this variable, the following input is used
- Boolean has_a_partner Is this person in a relationship?
- Boolean is_adequately_supported_by_partner Is adequately supported by their partner? (false if lost the regular support of their partner as their partner has been imprisoned or is subject to release or detention conditions that prevent employment)
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
This is the formula used to calculate the value of sole_parent_support__meets_relationship_qualification
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(persons, period, parameters): # Do they have a partner no_partners = (persons('has_a_partner', period) == 0) not_supported = (persons('is_adequately_supported_by_partner', period) == 0) # no partner, OR not supported by partner return no_partners + not_supported