parental_leave__family_includes_biological_mother_as_partner
Parental Leave Boolean MONTH Family Formula Included used 1 time Label MissingValue type Boolean . Default value false Entity family
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_spouse_or_partner_of_the_biological_mother the spouse or partner of the biological mother
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)