591. Cooking for the Patient on Shabbos
Shabbos 2:9
If food is cooked for a sick person on Shabbos and he doesn’t finish it, a healthy person is not permitted to eat the leftovers because this could cause more food to be cooked on Shabbos. However, if an animal is slaughtered for a sick person on Shabbos, a healthy person may eat some of the meat that was not cooked on Shabbos. No safeguard was enacted in such a case because there is no chance that another animal will be slaughtered for the healthy person. The same is true in all similar situations.
Shabbos 2:10
If the patient is not dangerously ill, his needs should be taken care of by a non-Jew. In such a case, we may instruct a non-Jew to perform acts of labor for the patient, such as cooking, baking, transporting medicine from one type of domain to the other, etc. Similarly, one may have his ailing eyes treated by a non-Jew on Shabbos even though he is not in danger. If the patient requires treatment that does not entail acts of labor, he may be treated even by Jews. For this reason, it is permitted to perform acts like setting broken bones on Shabbos.