It is the general duty of the coroner to hold inquests and perform other duties as required by law.