Amazon.com Inc. (AMZN) could soon make retail pharmacy companies sick.

If the ecommerce giant enters into the retail pharmaceuticals industry, about 10% of pharmacy profits could be at risk, according to Morgan Stanley analysts. 

Amazon has reportedly held talks with drugmakers Mylan NV (MYL) and Sandoz, a unit of Novartis AG (NVS) . The talks were said to be high level, but Amazon's plans are not yet clear.

These discussions suggest Amazon "could be taking on either pharmacy, drug distribution, or both," Morgan Stanley said. Amazon could enter the drug supply chain by opening a retail pharmacy, entering into contracts with generic drugmakers, working with branded manufacturers or building up a claims processing unit. 

Should Amazon enter into the pharmacy market, there could be about a $1 decrease in generic co-pays that would eventually translate into a 10% to 11% headwind for the likes of CVS Health Corp. (CVS) and Walgreens Boots Alliance Inc. (WBA) in 2019.

According to the analysts, Amazon might simultaneously explore both opening a retail pharmacy and contracting generic drugmakers as the two have "low barriers to entry." Investors should watch for signals Amazon is filing for distribution licenses or opening some sort of retail pharmacy unit inside its Whole Foods locations.

The market for generic drugs would be a good one for Amazon -- Morgan Stanley says it represents a $79 billion gross profit opportunity across the supply chains. Retail pharmacy, too, could cushion the bottom line with a $52 billion profit pool.

Amazon stock traded lower 0.33% premarket Friday.

Now here's why Apple's former CEO is making a big bet on healthcare:

More of What's Trending on TheStreet:

More from Stocks

Why The FANG Stocks' Dominance May Not Be So Bad For The Market

Why The FANG Stocks' Dominance May Not Be So Bad For The Market

Danica Patrick's Final Race at 2018 Indianapolis 500: What She Thinks About Cars

Danica Patrick's Final Race at 2018 Indianapolis 500: What She Thinks About Cars

At End of May, Investors Signalling They May Stay Away

At End of May, Investors Signalling They May Stay Away

Inside Carnival's Mind Blowing New Horizon Cruise Ship (Video)

Inside Carnival's Mind Blowing New Horizon Cruise Ship (Video)

Neel Kashkari: The Heart of Our Financial System Is More Radioactive Than Ever

Neel Kashkari: The Heart of Our Financial System Is More Radioactive Than Ever