; and (2) in subsection (d)(1), insert , except an incarcerated pregnant woman, before who is confined . 7. Definitions In this Act: (1) In custody The term in custody means, with respect to an individual, that the individual is under the supervision of a Federal, State, tribal or local correctional facility, including pretrial and contract facilities, and juvenile or medical or mental health facilities. (2) Other pregnancy outcome The term other pregnancy outcome means a pregnancy that ends in stillbirth, miscarriage, or ectopic pregnancy. (3) Postpartum recovery The term post­par­tum recovery means the 12-week period, or longer as determined by the health care professional responsible for the health and safety of the incarcerated pregnant woman, following delivery, and shall include the entire period that the incarcerated pregnant woman is in the hospital or infirmary. (4) Restraints The term restraints means any physical or mechanical device used to control the movement of an incarcerated pregnant woman’s body, limbs, or both. (5) Restrictive housing The term restrictive housing means any type of detention that involves— (A) removal from the general inmate population, whether voluntary or involuntary; (B) placement in a locked room or cell, whether alone or with another inmate