If ultrasonography shows extrahepatic cholestasis, other tests may be necessary to determine the cause; usually, magnetic resonance cholangiopancreatography (MRCP), endoscopic ultrasonography (EUS), or endoscopic retrograde cholangiopancreatography (ERCP) is used.