You can be outside Canada for a period of seven consecutive days for the purpose of:
attending the funeral of a member of your immediate family or a close relative
accompanying a member of your immediate family to a medical facility, provided that the treatment sought is not readily available in the family member's area of residence in Canada
visiting a member of your immediate family who is seriously ill or injured