Afghan special forces are battling gunmen at a clinic in the capital, with casualties feared.