You may get it extended for 6 months after getting the medical done. but after that either you get her RP or she would have to exit the country and if all's okay come back again.
All the best