If you didnt extend the visa and stay expires then it will be calculated as overstay and they will charge penalty for each day. When you go to renew your wife's visa with medical report after the expiry of stay then they will charge penalty but you can renew the visa.

You can meet officer / advisor in Immigration Visa renewal section and confirm it.