Police failed to provide medical care, constitutional rights to Joshlin Smith accused, court hears