Former nursing assistant pleads guilty to mistreating patient