Rapu Ture - Exploring the Rules

Eligibility of child for payment of childcare subsidy

Social Security Regulation Boolean Month Person Formula Included

Value type Boolean . Default value false Entity person


How is this calculated?

To calculate this variable, the following input is used


Formulas

This is the formula used to calculate the value of social_security_regulation__eligible_for_childcare_subsidy

0001-01-01

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

def formula(persons, period, parameters):
    is_citizen_or_resident = persons('is_citizen_or_resident', period)
    normally_in_nz = persons('social_security__is_ordinarily_resident_in_new_zealand', period)
    income_below_threshold = persons.family('social_security_regulation__household_income_below_childcare_subsidy_threshold', period)

    is_principal_carer = persons.has_role(Family.PRINCIPAL_CAREGIVER)

    under_5_years_28_days_not_attending_school = persons.family(
        'social_security_regulation__family_has_resident_child_under_5_not_in_school', period)
    is_5_and_will_be_enrolled = persons.family(
        'social_security_regulation__family_has_resident_child_aged_5_who_will_be_enrolled_in_school', period)
    under_6_with_disability_allowance = persons.family(
        'social_security_regulation__family_has_child_eligible_for_disability_allowance_child_under_6', period)
    return is_citizen_or_resident * normally_in_nz * is_principal_carer * income_below_threshold * \
        (under_5_years_28_days_not_attending_school
            + is_5_and_will_be_enrolled + under_6_with_disability_allowance)