Lawsuit claims sheriff's office, general hospital's procedures led to man's death