allow blank previous code for speciality