In a perfect world, a pharmaceutical brand would just hand over a formula to a partner, and a week later, thousands of perfect, ready-to-ship bottles would show up at the warehouse. In the real world, the road from an idea to a finished product is full of technical speed bumps and regulatory red tape.