is eligible for Community Services Card
Social Security Boolean MONTH Person Formula Included used 1 timeValue type Boolean . Default value false Entity person
How is this calculated?
To calculate this variable, the following input is used
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
- Boolean community_services_card__below_income_threshold Income is below Community Services Card threshold?
- Boolean family_scheme__qualifies_for_working_for_families Is a person is qualified as eligible for the working for families
- Boolean family_scheme__base_qualifies Is a person qualified as eligible under the family scheme
- Boolean family_scheme__caregiver_age_qualifies Is a person qualified under the family scheme age parameters
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
- Boolean family_scheme__qualifies_as_principal_carer Is the person the principal caregiver and do they have dependent children
- Boolean family_scheme__has_dependent_children A family has one or more people who qualify as financially dependant children
- Boolean income_tax__dependent_child Determines if a Person is classified as financially dependant
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
- Boolean income_tax__residence Boolean for if a Person is classified as meeting residence requirements
- Boolean veterans_support__received_childrens_pension Is classified as receiving a children's pension
- Boolean veterans_support__received_parents_allowance Is classified as receiving a parent's allowance
- Boolean is_citizen_or_resident NZ Citizen or Resident
- Boolean is_nz_citizen New Zealand citizen means a person who has New Zealand citizenship as provided in the Citizenship Act 1977 or the Citizenship (Western Samoa) Act 1982
- Boolean is_permanent_resident Holder of a permanent resident visa
- Boolean immigration__holds_permanent_resident_visa Holder of a permanent resident visa
- Boolean is_resident Holder of a permanent resident visa or a resident visa
- Boolean immigration__holds_permanent_resident_visa Holder of a permanent resident visa
- Boolean immigration__holds_resident_visa Holder of a resident visa
- Boolean social_security__has_dependant_child has a dependent child (or children)
- Boolean social_security__is_fulltime_student Is a Full-time student
- Boolean social_security__is_ordinarily_resident_in_new_zealand is ordinarily resident in New Zealand
- Boolean social_security__received_child_disability_allowance Received Child Disability Allowance
- Boolean social_security__received_income_tested_benefit Boolean for if a Person is classified as receiving an income tested benefit
- Boolean social_security__received_orphans_benefit Received Orphan's Benefit
- Boolean social_security__received_residential_care_subsidy Received Residential Care Subsidy
- Boolean social_security__received_superannuation Received Superannuation
- Boolean social_security__received_unsupported_childs_benefit Received Unsupported Child's Benefit
- Boolean veterans_support__received_veterans_pension Received Veteran's Pension
- Boolean veterans_support__received_weekly_compensation Received Weekly Compensation
- Boolean veterans_support__received_weekly_income_compensation Received Weekly Income Compensation
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean home_help__eligible_for_home_help Eligible for Home Help
Formulas
This is the formula used to calculate the value of social_security__eligible_for_community_services_card
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):
# The applicant
resident_or_citizen = persons('is_citizen_or_resident', period)
in_nz = persons('social_security__is_ordinarily_resident_in_new_zealand', period)
# NOTE: using the age at the start of the month
# Age changes on a DAY, but this calculation only has a granularity of MONTH
age_requirement = persons('age', period.start) >= parameters(
period).entitlements.social_security.community_services_card.age_threshold
low_income = persons(
'community_services_card__below_income_threshold', period)
dependent_children = persons(
'social_security__has_dependant_child', period)
is_fulltime_student = persons(
'social_security__is_fulltime_student', period)
received_superannuation = persons(
'social_security__received_superannuation', period)
eligible_for_wff = persons(
'family_scheme__qualifies_for_working_for_families', period)
childs_benefit = \
persons('social_security__received_orphans_benefit', period) +\
persons('social_security__received_unsupported_childs_benefit', period) +\
persons('social_security__received_child_disability_allowance', period)
return \
persons('social_security__received_income_tested_benefit', period.this_year) +\
persons('social_security__received_residential_care_subsidy', period) +\
persons('veterans_support__received_veterans_pension', period) +\
persons('veterans_support__received_weekly_income_compensation', period) +\
persons('veterans_support__received_weekly_compensation', period) +\
childs_benefit +\
(received_superannuation * low_income) +\
(is_fulltime_student * low_income) +\
(dependent_children * low_income * (resident_or_citizen + eligible_for_wff)) +\
not_(dependent_children) * low_income * \
resident_or_citizen * age_requirement * in_nz
Scenarios calculating this variables
- Community Services Card - default test
- Community Services Card - eligible for people on income tested benefit
- Community Services Card - eligible for child on orphans benefit
- Community Services Card - eligible for child on unsupported child benefit
- Community Services Card - eligible for child on disability allowance benefit
- Community Services Card - eligible if receive a residential care subsidy
- Community Services Card - eligible if receive super
- Community Services Card - Super, but not eligible if above threshold
- Community Services Card - eligible if receive veterans pension
- Community Services Card - eligible if receive weekly INCOME compensation
- Community Services Card - eligible if receive weekly compensation
- Community Services Card - eligible if fulltime student
- Community Services Card - Student but not eligible if above threshold
- Community Services Card - eligibility for resident with dependent children
- Community Services Card - for non resident with dependent children
- Community Services Card - eligibility for person without dependents