Efficient one-pot synthesis of the 2-aminocarbonylpyrrolidin-4-ylthio-containing side chain of the new broad-spectrum carbapenem antibiotic ertapenem.