Many, many more details in Heller's book and in this Econtalk interview:
http://www.gridlockeconomy.com/
http://www.econtalk.org/archives/2009/11/heller_on_gridl.htm...
it's the NIH and universities (via government funding) that actually discover the drugs, then they sell the exclusive rights to manufacture it to big pharma (who then spends a lot to get it approved and market it and such...)
(this is the book, i haven't read it) http://www.amazon.com/Truth-About-Drug-Companies-Deceive/dp/...
so in this case (if true) patents fail again.
Since manufacturing, testing and marketing a drug is hysterically expensive, the patent seems to serve a purpose there -- even if pharma companies are more akin to specialized investment bankers than scientists.