For stamping his RP, he has to complete the legal immigration formalities in Qatar. Why he is afraid of medical check? He should pass this medical test for completing other procedures for his residence permit.