Rapu Ture - Exploring the Rules

is the spouse of the biological mother, and she transferred her entitlement to this spouse

Parental Leave Boolean MONTH Person Formula Included used 1 time

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 parental_leave__has_spouse_who_transferred_her_entitlement

2002-01-01

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

def formula_2002(persons, period, parameters):
    is_spouse = persons('parental_leave__is_spouse_or_partner_of_the_biological_mother', period)
    family_has_transferring_entitlement = persons.family.members('parental_leave__transferred_her_entitlement_to_spouse', period)

    return persons.family.any(family_has_transferring_entitlement) * is_spouse