Rapu Ture - Exploring the Rules

child means a single person under the age of 18 years, other than a person who is— (a) aged 16 years or 17 years; and (b) financially independent

Social Security Boolean MONTH Person Formula Included used 4 times

Value type Boolean . Default value false Entity person


How is this calculated?

To calculate this variable, the following input is used


Where is this used?

This variable is referred to by these other variables in their own calculations


Formulas

This is the formula used to calculate the value of social_security__is_a_child

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):
    under_16 = persons('age', period.start) < 16
    under_18 = persons('age', period.start) < 18

    financially_independent = persons(
        'social_security__is_financially_independent', period)

    return under_16 + (under_18 * not_(financially_independent))

Scenarios calculating this variables