Rapu Ture - Exploring the Rules

Eligible for Young Parent Payment

Social Security Boolean MONTH Person Formula Included used 0 times

Value type Boolean . Default value false Entity person

How is this calculated?

To calculate this variable, the following input is used


This is the formula used to calculate the value of social_security__eligible_for_young_parent_payment


This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas

def formula(persons, period, parameters):
    basic_requirements = persons(
        'social_security__meets_young_parent_payment_basic_requirements', period)

    single_requirements = persons(
        'social_security__meets_young_parent_payment_single_persons_requirements', period)
    in_relationship_requirements = persons(
        'social_security__meets_young_parent_payment_in_relationship_requirements', period)

    # 74AA (2)
    residency = persons(
        'social_security__meets_residential_requirements_for_certain_benefits', period)

    return basic_requirements * (single_requirements + in_relationship_requirements) * residency