parental_leave__family_includes_biological_mother_as_partnerParental 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
- 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
This is the formula used to calculate the value of parental_leave__family_includes_biological_mother_as_partner
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)