Diagnosis usually involves a combination of clinical assessment and patient history. Dermatologists may perform a physical examination and, in some cases, a biopsy to rule out other conditions. A thorough review of the patient's medication and treatment history is essential to identify the underlying cause.