Is an adulterous affair grounds for malpractice?

A New York court ruled in a favor of a patient who sued her physician for medical malpractice after their affair ended.