They attacked the hospital purposely, but (it is claimed) because their Afghan allies were taking fire from there, not <i>because it was a hospital</i>. Now if they (or anyone) bombed a hospital in order to lower morale and inconvenience enemies by preventing any medical activities from taking place, that would indicate a very different purpose.