> Once drugs lose patent protection, it's difficult for them to gain approval for new indications, because drug approval procedures are extremely expensive and there's no patent holder left for whom it would make economic sense to spend all that money.

This is precisely why I think a gov't run research effort is the right way to handle this. You don't want to grant a new patent on the existing drug just because of new use of it. That would prevent the generics being used for the original purpose. So if the bigPharma company that created it for original purposes does not want to spend money researching alternate uses, then allow the gov't direct the research in the name of keeping its citizens healthy.

Unfortunately, that doesn't really stand up as a great solution with using the current administration as an example of what happens when you get anti-science mindsets in charge of things. It also helps to have a gov't that is empathetic for its citizens which does not always happen.

Yes, in fact, most of the types of research I mentioned, where random people at hospitals do small trials on existing medications, is going to be partially government funded.

But care must be taken to avoid the tulip subsidies problem [1]: the barriers to drug approval are regulatory, not natural. If a drug regulatory agency sets high requirements for approval and another governmental agency must do expensive work to satisfy these requirements, there is a risk that costs go out of control without any real benefit.

Instead, my favoured solution would be to significantly relax regulatory requirements in cases like this where a drug has already been proven to be safe both in the original approval trials and in years of real-world use, such that when trials and meta-analyses exist that suffice to convince the medical establishment of a drug's safety and efficacy for a new indication, these would also be enough for the drug to gain approval for that indication.

[1] https://slatestarcodex.com/2015/06/06/against-tulip-subsidie...