For years, hospital executives have expressed frustration when essential drugs like heart medicines have become scarce, or when prices have skyrocketed because investors manipulated the market.

Now, some of the country's largest hospital systems are taking an aggressive step to combat the problem: They plan to go into the drug business themselves, in a move that appears to be the first on this scale.