גריי מאטר ב Laws of Shabbat / Saving Lives on Shabbat · מו
Gray Matter II 46
It is important to note that even the Mishnah Berurah (ibid.) warns against refraining from prohibited acts only if one is certain that the illness will not worsen as a result. He concludes with a citation from the Meiri, that if the action that violates Shabbat will strengthen the dangerously ill person, it should be performed.