After passing the medical, fill that form, sign and attach photo as told above and submit it to the finger print office. Usually fingerprint results will come within 1 hour. With that result you can contact the immigration deparment to stamp RP on your wife's passport. Thats all.

As I'm in Wakrah both Finger print and immigration are at one location, which made it very convenient. Within 1 hour both work was completed.

Good luck.