Rapu Ture - Exploring the Rules

parental_leave__family_includes_biological_mother_as_partner

Parental Leave Boolean Month Family Formula Included used 1 time Label Missing

Value type Boolean . Default value false Entity family


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 parental_leave__family_includes_biological_mother_as_partner

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):
    biological_mothers = families.members('parental_leave__is_the_biological_mother', period)
    return families.any(biological_mothers, role=Family.PARTNER)