The funerals of religious or members of a society of apostolic life are generally to be celebrated in their own church or oratory by the superior if the institute or society is clerical; otherwise by the chaplain.
Source: Code of Canon Law (Vatican.va)