child means a single person under the age of 18 years, other than a person who is— (a) aged 16 years or 17 years; and (b) financially independent
Social Security Boolean MONTH Person Formula Included used 4 timesValue 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 social_security__is_financially_independent financially independent, in relation to a person, means— (a) in full employment; or (b) in receipt of a basic grant or an independent circumstances grant under the Student Allowances Regulations 1998 (SR 1998/277); or (c) in receipt of payments under a Government-assisted scheme which the chief executive considers analogous to a main benefit under this Act; or (d) in receipt of a main benefit under this Act
- Boolean social_security__in_receipt_of_basic_grant in receipt of a basic grant or an independent circumstances grant under the Student Allowances Regulations 1998 (SR 1998/277)
- Boolean social_security__is_in_full_employment Is in full employment or full-time employment
- Boolean social_security__recieves_goverment_assisted_scheme_payments In receipt of payments under a Government-assisted scheme which the chief executive considers analogous to a main benefit under Socal Security Act
- Boolean social_security__recieves_main_benefit in receipt of a main benefit under Social Security Act
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean social_security__has_child_in_family Family has a child
- Boolean social_security__has_orphaned_child_in_family Family is caring for an orphan as per Social Security Act 1964
- Boolean social_security__has_unsupported_child_in_family Family has an unsupported child
- Boolean social_security__is_dependent_child Is a dependent child
Formulas
This is the formula used to calculate the value of social_security__is_a_child
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):
under_16 = persons('age', period.start) < 16
under_18 = persons('age', period.start) < 18
financially_independent = persons(
'social_security__is_financially_independent', period)
return under_16 + (under_18 * not_(financially_independent))