The diagnosis of AD is primarily clinical, based on the patient's history and physical examination. A dermatologist or gynecologist may look for characteristic features such as the distribution and appearance of the rash. In some cases, a skin biopsy or patch testing may be performed to rule out other conditions.