This legislation is designed to ensure the humane treatment of pregnant and postpartum women detained by U.S. immigration authorities. It seeks to prevent inhumane practices such as shackling and establishes a presumption of release for these women, promoting dignity and respect during a vulnerable time. Key provisions include mandatory pregnancy testing for all individuals entering custody. If a woman is found to be pregnant, lactating, or postpartum, she cannot be detained unless extraordinary circumstances pose a serious risk to others.