In response to a soldier’s question, former IDF Chief Rabbi Avichai Rontzki once ruled that on Shabbat, every effort should be made not to treat a gentile wounded in a confrontation with the army. And if the soldier received an explicit order to do so, he must “alter” the treatment, or, in other words, just pretend to be treating the wounded Arab.