If you have a real bad heat condition and need a transplant, and your in jail, you're going to die. They are not going to provide it for you.
Arguing 'rights' for a population that is told what to do right down to when they can take a dump or pee is a pretty hard argument. You give up your rights when you go to jail. Or, they are taken from you with the consent of society.
I spend lot of years teaching in jails. For the most part, most of the people I met there, I'm glad they are there. If you meet them, you would be too.