Except as to compliance with the sanitary laws and all reasonable regulations relating to contagious and infectious diseases, any sane patient or sane inmate of the Louisiana State Penitentiary may decline any medical care or treatment offered or provided by the institution and provide other care for himself at his own expense.