If you are working under work visa then the responsibility lies on your sponsor for arranging Medical Exams etc., please check with your PRO/HR Manager before proceeding for exit.