If the period of stay has been more than a month than I guess there is a fine. If not, then there is no fine if the medical is done within one month of the person's landing. From your post it appears this may be the case and the visa may have expired also. If so, there is a fine of QR 200 per day on the extra days of stay from the date of expiry of the visa.