West Ham have announced that defender Dan Potts has left hospital after suffering a head injury during the defeat at Arsenal on Wednesday.