Magnetic resonance imaging versus ultrasonography for assessing rotator cuff tears in patients with shoulder pain for whom surgery is being considered