a person, other than the biological mother or her spouse or partnerParental 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
- Boolean parental_leave__is_the_biological_mother a female (the biological mother) who is pregnant or has given birth to a child
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean parental_leave__is_primary_carer Is primary carer, as per Parental Leave and Employment Protection Act 1987
This is the formula used to calculate the value of parental_leave__a_person_other_than_biological_mother_or_her_spouse
This formula is used for scenarios from the date 2002-01-01 onwards. More info on formulas
def formula_2002(persons, period, parameters): biological_mother = persons.family.members('parental_leave__is_the_biological_mother', period) partner_is_biological_mother = persons.family.any(biological_mother, role=Family.PARTNER) return not_(biological_mother) * not_(partner_is_biological_mother)