Atiq-ur-Rehman, who was arrested with Kerala journalist Siddique Kappan last year, has been shifted to the All India Institute of Medical Sciences (AIIMS) after the Allahabad High Court pulled up the State authorities for not paying heed to his deteriorating health.