Gunmen stormed the hospital in a neighbourhood in the Afghan capital that is also home to a number of embassies.