Used for report genetaion in HMS