Court hears of police failures in providing medical care and rights to Joshlin Smith's accused