Gender diagnosis