I suppose in retrospect, you could have made Israel state-sponsored hospitals, or set up alternative ones, to provide "secure" medical services before bombing the other buildings.
Do you mean pre-war? It is impossible. You can't put them in Gaza because it requires occupation or else doctors would be killed on the spot. Having backup hospitals on the border with Gaza is unfeasible, you can't have fully staffed hospitals just in case you need to treat Gazans in a war.
Even simpler, just have a force sweep through the hospital building to secure it, and only if that force gets attacked would you consider bombing the structure.
More or less what Israel is doing. They are not bombing hospitals indiscriminately. Here totally not pro-Israeli source (rather outdated but we are getting more of the same) -
https://forensic-architecture.org/investigation/destruction-of-medical-infrastructure-in-gaza - it includes only two direct strikes, most hospitals are taken in ground combat. This approach still damages hospitals and\or makes them inoperable.
__________
What actually should be done? Other countries should accept refugees and provide their infrastructure. The border with Egypt should be open. Ships should be flocking to the Gaza Strip to accept refugees.
Why the world doesn't do that? The official reason is (IMO) hilarious!
It will help Israel to ethnically cleanse Gaza! Imagine if the EU went - we are closing borders with Ukraine because we don't want to help Putin to ethnically cleanse Ukraine! Absurd? Absurd. But it is the position of the world in the case of Gaza.
May Israel use the refugee crisis as a tool for ethnic cleansing and not let Gazan refugees back in after the war under some bogus excuse. It is very possible. But you know... people are dying there! Being exiled is better than being dead. And no one, no one is protesting demanding the world to accept Palestinian refugees. Why? WHY!? It is as if they care about Palestinian lives less than they care about politics.....
_______________
What Israel should do with the current health considering that no one is going to accept refugees from a war zone? Probably repair the damaged hospitals, bring Israeli staff, and give civilians safe access to them... Taking some to Israel to be treated in Israeli hospitals is probably also a good idea. But logistics and security implications make it very, very hard.
__________________
Strongpoint believes that the ceasefire was trading Israeli soldiers lives for those of the hostages,
It was. Mathematics of war is horrible. Lose-lose situations are common.
he’s not going to think trading Israeli soldiers lives for people he believes are responsible for harboring Hamas are worth that either.
Not true. I am all for reasonable effort to limit collateral damage even if it means more dead soldiers in your army. It is basic humanism. Keyword - reasonable. What is demanded from the Israeli Army is usually unreasonable.