The gunman was seen arguing with the doctor, Tamara O'Neal, who he had been in a relationship with, before shooting her and turning his gun on others.
The shooter, named as Juan Lopez, 32, also died but it is not clear if he was killed by police or took his own life.
Mayor Rahm Emanuel said the attack "tears at the soul of our city".
Read MORE
BBC NEWS