The solution to overpriced patent protected drugs is forced licensing of patents at a royalty rate set by the government.
If you want patent free medicine I suggest at least looking at what medical research looks like without the possibility of supernormal profits on some drugs to make up for the losses on all the many, many other drugs that don’t make it. One plausible model would be how the Soviet Union did drug development but I know very little about that bar that the pschopharmacologicals in Russia etc. are in some respects quite different from those used in the West.