woman in custody who is pregnant and diagnosed with having a substance use disorder or a mental health disorder with appropriate evidence-based treatment. 5. Use of restrictive housing 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 restrictive housing on incarcerated women during the period of pregnancy, labor, and postpartum recovery prohibited (a) Prohibition Except as provided in subsection (b), during the period 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 held in restrictive housing. (b) Exceptions (1) Restrictive housing Subject to paragraph (4), the prohibition under subsection (a) relating to restrictive housing shall not apply if the Director of the Bureau of Prisons or a senior Bureau of Prisons official overseeing women’s health and services, in consultation with senior officials in health services, makes an individualized determination that restrictive housing is required as a temporary response to behavior that poses a serious and immediate risk of physical harm. (2) Review The official who makes a determination under subparagraph (A) shall review such determination daily for the purpose of removing an incarcerated woman as quickly as feasible from restrictive housing. (3) Restrictive housing plan The official who makes a determination under subparagraph (A) shall develop an individualized plan to move an incarcerated woman to less restrictive housing within a reasonable amount of time. (4) Prohibition on solitary confinement An incarcerated woman who is placed in restrictive housing under this subsection may not be placed in solitary confinement if the incarcerated woman is in her third trimester. (c)