In some cases, magnetic resonance imaging (MRI) or an X-ray may ... to remove chronically irritated bursae in the shoulder.