Pharma has things backwards. Autobots sacrifice themselves all the time in order to save others; Pharma sacrifices others in order to save himself. In IDW's Transformers: More than Meets The Eye #4 and #5, a group of Transformers—Pipes, Drift, and Pharma's old friend Ratchet, whose hands have been damaged in battle—head to the planet Messatine to investigate why patients at the Delphi medical facility keep dying, and uncover an entire underground organ-theft operation in the process.
At one point, Pharma was a brilliant scientist and one of the best medics in the Autobot army. It didn't last. After relocating to Delphi, which is in the middle of Decepticon territory, Pharma made a deal with the Decepticon Justice Division in order to keep the medical facility safe: Pharma would supply the DJD leader, a shape-shifting addict, with a steady supply of transformation cogs, and in return, the DJD would leave Pharma and his staff alone.
Of course, the way to get transformation cogs is to harvest them from other Transformers. At first, Pharma simply sold cogs from patients who died, but over time that wasn't enough, and Pharma crossed other lines. Autobots who arrived at the facility on the verge of death "slipped away." Those still clinging to life got an extra push at Pharma's hands. Still, demand for the cores continued to grow. With the scam in danger of being exposed, Pharma engineered a Decepticon attack on Delphi, infecting the survivors with a red rust plague, which slowly kills Transformers as they rust from the inside out.
After Pharma explained his scheme, Ratchet formulated a plan and stole the red rust antidote, saving the infected Transformers and (supposedly) killing Pharma. Proving that the apple doesn't fall too far from the tree, Ratchet also took a souvenir to remember Pharma by—two, in fact. After the battle, Ratchet stole Pharma's hands, which he used to replace his own.