In WWII we would without hesitation have bombed any target the enemy was using—and announced that it was their fault for hiding behind civilians.
I don’t see why the world should consider this any different—and blame Hamas for hiding behind schools and hospitals.
Easy solution: turn the hospital into an instant morgue.
Monte Cassino COMES TO MIND.