The question of how to care for incarcerated patients in hospitals is an urgent one. We can’t afford to get it wrong.