is unable to access a hospital in a timely manner. (7) Treatment In the case of any woman in custody who, after an evaluation under paragraph (4), is diagnosed as having a substance use disorder or a mental health disorder, that woman shall be entitled to treatment in accordance with the following: (A) Treatment shall include participation in a support group, including a 12-step program, such as Alcoholics Anonymous, Narcotics Anonymous, and Cocaine Anonymous or a comparable nonreligious program. (B) Treatment may include psychosocial interventions and medication. (C) In the case that adequate treatment cannot be provided to a woman in custody in a Bureau of Prisons facility, the Director of the Bureau of Prisons shall transfer the woman to a residential reentry program that offers such treatment pursuant to section 508 of the Public Health Service Act ( 42 U.S.C. 290bb–1 ). (D) To the extent practicable, treatment for substance use disorders provided pursuant to this section shall be conducted in a licensed hospital. 4. Use of restrictive housing and restraints on incarcerated pregnant women during pregnancy, labor, and postpartum recovery prohibited (a) In general Section 4322 of title 18, United States Code, is amended to read as follows: 4322. Use of restraints and restrictive housing on incarcerated women during the period of pregnancy, labor, and postpartum recovery prohibited and to improve pregnancy care for women in Federal prisons (a) Prohibition Except as provided in subsection (b), beginning on the date on which pregnancy is confirmed by a health care professional and ending not earlier than 12 weeks after delivery, an incarcerated woman in the custody of the Bureau of Prisons, or in the custody of the United States Marshals Service pursuant to section 4086, shall not be placed in restraints or held in restrictive housing. (b) Exceptions (1) Use of restraints The prohibition under subsection (a) shall not apply if the senior Bureau of Prisons official or United States Marshals Service official