You hit on one of the contradictions of democracy in America (I'm not sure how it is in other so called democracies). When we lock up people we give them more protection, rights and services than we can get. Remember, it's called "The Criminal Justice System" here.
The felons where I work get 24 hour medical and psychiatric care, including many drugs and procedures my insurance doesn't pay for.