if it is family residence visa, its not necessary to have a medical test in the philippines but be sure you are physically fit because once you have your medical test here in doha and the result is unfit, there are times that they will send you back home but that is a case to case basis. that will depend on your medical why you are unfit.