Diagnosis is primarily clinical and involves a detailed history and physical examination. Important aspects to consider include the timing, duration, and intensity of pain, as well as any associated symptoms. In some cases, imaging studies like [ultrasound]( ) or [MRI]( ) may be conducted to rule out secondary causes, although these are not typically necessary for a diagnosis of primary dysmenorrhea.