Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 330…
“ Laws of Giving Birth on Shabbat דיני יולדת בשבת Paragraph 1 - A woman giving birth is treated as a dangerously ill person and Shabbat is desecrated for everything that she needs. We call a midwife from place to place. We help (her) give birth and light a candle for her, even if she is blind. In any event, that which can be done slightly differently is done differently. For example, if she needs an object brought to her, her friend can bring it tied to her hair, etc. ”
