Modelling the hazard of transition into the absorbing state in the illness-death model