was present in New Zealand and entitled to indefinite stay
Int DAY Person Formula Included used 2 timesValue type Int . Default value 0 Entity person
How is this calculated?
To calculate this variable, the following input is used
- Boolean immigration__entitled_to_indefinite_stay is entitled in terms of the Immigration Act 2009 to be in New Zealand indefinitely
- Boolean present_in_new_zealand was present in New Zealand on this day
Where is this used?
This variable is referred to by these other variables in their own calculations
- Int days_present_in_new_zealand_in_preceeding_5_years
- Int days_present_in_new_zealand_in_preceeding_year was present in New Zealand this many days in the last (rolling) year
Formulas
This is the formula used to calculate the value of was_present_in_nz_and_entitled_to_indefinite_stay
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):
present = persons('present_in_new_zealand', period)
entitled = persons('immigration__entitled_to_indefinite_stay', period)
return present * entitled