If the Washington Post's article's details are correct, this was NOT a bombing gone awry. It was artillery rounds (and possibly 40mm cannon fire) from an AC-130 Spectre, a gunship that's been in use since the Vietnam era. They're usually pinpoint accurate, every round is fired with an eyeball targetting via low-vision video, and there'll be full video tape of the entire action.
Doesn't make it any nicer, doesn't make it any less of a screw-up (in fact, more so). Lots of videos online of Spectre working out in Grenada, Afghanistan, Iraq, etc.
The hospital should consider itself lucky: those hits were probably only 105mm howitzer rounds. If they'd been multiple thousand pounders, the catastrophe and casualties would've been even greater.
Of course if the Post is wrong and this was NOT an AC-130 .. never mind.