get lab transitions function accepts null 'year'