Immigrant advocacy groups say many detainees have been denied access to basic medical care and other services under the current system .