Mail yes, visits probably not but depending on the severity of the illness or injury there might be exceptions made. Contact the counselor or chaplain for details of what might be allowed.
https://www.inmateaid.com/ask-the-inmate/can-an-inmate-in-the-jail-hospital-get-mail-and-visits#answer
Accepted Answer Date Created: June 13,2016