@yenzeen, renewal can be done with in 3 months expiring the RP. However you can check with any immigration showing your wifes medical document. If she conmes after 6 months, 2 -3 days before comming go to immigration and pay 500 QR for entry.