Pregnant women and mentally challenged persons are being detained in facilities that have inadequate provisions for their needs.