What are some of the particular challenges associated with inmates with special needs in jail and prison populations?

What are some of the particular challenges associated with inmates with special needs in jail and prison populations? Analyze the implications of releasing the elderly, the mentally ill, and other special needs inmates back into society and discuss the necessary care or medical treatments after release.