Daesh terrorist group claimed responsibility for the attack, AFP reports.
Officials said earlier that at least three people had been killed in the attack.
Early on Wednesday, an explosion and gunfire were reported near a military hospital in the Afghan capital, Kabul, close to the US embassy. The Defense Ministry officials said that there were four armed attackers, one of which blew himself up at the hospital's entrance. At this stage, all three remaining terrorists have been eliminated.