Rapu Ture - Exploring the Rules

Eligible for Child Disability Allowance

Social Security Boolean MONTH Person Formula Included used 0 times

Value type Boolean . Default value false Entity person

How is this calculated?

To calculate this variable, the following input is used


This is the formula used to calculate the value of social_security__eligible_for_child_disability_allowance


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

def formula(persons, period, parameters):
    # The applicant
    resident_or_citizen = persons('is_citizen_or_resident', period)

    is_principal_carer = persons.has_role(Family.PRINCIPAL_CAREGIVER)
    has_eligible_disabled_child = persons.family('disability_allowance__family_has_eligible_child', period)

    Notwithstanding anything to the contrary in this Act or Part 6 of the Veterans’
    Support Act 2014 or the New Zealand Superannuation and Retirement Income Act 2001,
    the chief executive may, in the chief executive’s discretion, refuse to grant any
    benefit or may terminate or reduce any benefit already granted or may grant a
    benefit at a reduced rate in any case where the chief executive is satisfied—
    (a) that the applicant, or the spouse or partner of the applicant or any person
    in respect of whom the benefit or any part of the benefit is or would be payable,
    is not ordinarily resident in New Zealand; """
    resides_in_nz = persons(
        'social_security__is_ordinarily_resident_in_new_zealand', period)

    return resident_or_citizen * \
        resides_in_nz * \
        is_principal_carer * \