Scottish referee Craig Thompson gave his assistant a red card when he became sick during a game in the SPFL Ladbrokes Premiership.