handle exception for lab code not in database