var_codeinstr
Variable obtained as follows:
1. 'livedindsaperiod' * 30.4375 if the unit of time in 'livedindsatype' is in Months and 'livedindsaperiod' is known
2. 'livedindsaperiod' * 365.25 if the unit of time in 'livedindsatype' is in Years and 'livedindsaperiod' is known
3. 'startdate'-'mhl_dateofbirth' if the unit of time in 'livedindsatype' is Since Birth'
4. 30.4375 if 'livedindsaperiod' is 0