Jailed former Pakistan Prime Minister Imran Khan has been shifted from Adiala Jail to a hospital in Islamabad for medical examination.