Gastroenterology and hepatology

A patient with fever, jaundice, right-upper-quadrant pain, hypotension, and confusion is found to have an obstructed common bile duct. After initial resuscitation and antimicrobial therapy, which intervention is most important?