Since 2018, doctors and nurse practitioners can complete death and cremation certificates on-line.
See Ministry of Health Death Documents: link.

There is a YouTube video guide to using this system: link

The certifying practitioner will need to set up a RealMe login - instructions and links are on the website.