Is New Zealand Electronic Travel Authority (NZeTA) valid for a medical visit to New Zealand?

No, you have to be in good health.

If you want to come for medical consultation or treatment, you will have to apply for a Medical Treatment Visitor Visa.