Any woman inmate who would give birth to a child during her term of imprisonment may be temporarily taken to a hospital outside the prison for the purposes of childbirth, and the charge for hospital and medical care shall be charged against the funds allocated to the institution. The inmate shall not be shackled by the wrists, ankles, or both during labor, including during transport to a hospital, during delivery, and while in recovery after giving birth, except as provided in Section 5007.7. The board shall provide for the care of any children so born and shall pay for their care until suitably placed, including, but not limited to, placement in a community treatment program.
Ca. Pen. Code § 3423