Doctor diagnoses woman with ‘homosexuality’ as current illness