Dr Luke Ong is five months from qualifying as a GP but missed an immigration deadline by 18 days.