Some basic test you may need to do it in your country of residence for your Entry Visa....you can do that in Dubai. You must to do full medical test here in Qatar before stamping your residence permit.