This sugya discusses the care of a woman after childbirth on Shabbat, including heating water and performing various acts for her comfort. The Talmud permits asking a non-Jew to perform certain acts for her, providing an early precedent for amira l'akum (instructing a non-Jew) in cases of medical need.
אָמְרִי נְהַרְדָּעֵי: חַיָּה שְׁלֹשָׁה שִׁבְעָה וּשְׁלֹשִׁים. שְׁלֹשָׁה, בֵּין אָמְרָה ״צְרִיכָה אֲנִי״, וּבֵין אָמְרָה ״לֹא צְרִיכָה אֲנִי״ — מְחַלְּלִין עָלֶיהָ אֶת הַשַּׁבָּת. שִׁבְעָה, אָמְרָה ״צְרִיכָה אֲנִי״ — מְחַלְּלִין עָלֶיהָ אֶת הַשַּׁבָּת, אָמְרָה ״לֹא צְרִיכָה אֲנִי״ — אֵין מְחַלְּלִין עָלֶיהָ אֶת הַשַּׁבָּת. שְׁלֹשִׁים, אֲפִילּוּ אָמְרָה ״צְרִיכָה אֲנִי״ — אֵין מְחַלְּלִין עָלֶיהָ אֶת הַשַּׁבָּת, אֲבָל עוֹשִׂין עַל יְדֵי אַרְמַאי. כִּדְרַב עוּלָּא בְּרֵיהּ דְּרַב עִילַּאי, דְּאָמַר: כׇּל צׇרְכֵי חוֹלֶה נַעֲשִׂין עַל יְדֵי אַרְמַאי בְּשַׁבָּת, וְכִדְרַב הַמְנוּנָא, דְּאָמַר רַב הַמְנוּנָא: דָּבָר שֶׁאֵין בּוֹ סַכָּנָה — אוֹמֵר לְגוֹי וְעוֹשֶׂה.
The Sages of Neharde’a say: For a woman in childbirth, there are halakhic distinctions between three, seven, and thirty days after she gives birth. The Gemara elaborates: During the first three days after birth, whether she said: I need Shabbat to be desecrated, or whether she did not say: I need Shabbat to be desecrated, one desecrates Shabbat for her. Between three and seven days after birth, if she said: I need Shabbat to be desecrated, one desecrates Shabbat for her. If she did not say: I need Shabbat to be desecrated, one does not desecrate Shabbat for her. Between seven and thirty days after birth, even if she said: I need Shabbat to be desecrated, one does not desecrate Shabbat for her; however, we perform all necessary prohibited labors by means of a gentile. This ruling is in accordance with the statement of Rav Ulla, son of Rav Ilai, who said: All needs of a sick person whose life is not in danger are performed by means of a gentile on Shabbat. And this ruling is in accordance with the opinion of Rav Hamnuna, as Rav Hamnuna says: With regard to a matter in which there is no danger, but only potential illness, one says to the gentile to perform the act, and the gentile performs the act.