Replaces everything after the enacting clause. Amends the Code of Criminal Procedure of 1963. Provides that if the court reasonably believes that a pre-trial detainee will give birth while in custody, the court shall order an alternative to custody unless, after a hearing, the court determines: (1) that the release of the pregnant pre-trial detainee would pose a real and present threat to the physical safety of the alleged victim of the offense and continuing custody is necessary to prevent the fulfillment of the threat upon which the charge is based; or (2) that the release of the pregnant pre-trial detainee would pose a real and present threat to the physical safety of any person or persons or the general public. Provides that the court may order a pregnant or post-partum detainee to be subject to electronic monitoring as a condition of pre-trial release or order other condition or combination of conditions the court reasonably determines are in the best interest of the detainee and the public. Provides that these provisions shall be applicable to a pregnant pre-trial detainee in custody on or after the effective date of the bill.