Diagnostic mammography is used to do the following: Evaluate masses, pain, and nipple discharge Determine size and location of a lesion and provide images of surrounding tissues and lymph nodes Guide biopsy After surgery, image the breast to check for recurrence Diagnostic mammography requires more views than screening mammography.