Since you had already exited Qatar and also both your RP and Medical Card have expired, you will not be able to avail any facility from the government through your medical card. Should you need any medical treatment in your present visa, its advisable to get to any of the private clinics. In emergency situations, Hamad Hospital will take care of you.