The idea is that big pharma companies have to publicly post a price for each of their patents. If anyone is prepared to pay that price they get the patent for that price. Next there needs to be a tax that is a percentage of the price of the patent. The money that comes from this tax needs to be funneled back into healthcare or even better go straight to the ones who are paying for the particular medicine that the patent protects.
Now the level of innovation can be set by how high the percentage of the tax is. If the tax is very low healthcare will be expensive but there can be lots of innovation. If the tax is high healthcare costs will be low but one can also not expect much innovation.
Of course, there also are some other things that need to be fixed. E.g., doctors should not get all of their schooling financed by pharma companies and so on.
The general idea of such taxes could be applicable to any sort of non-replacable entity, e.g., it could also apply to land. For one thing, this would make feudalism regarding land quite impossible, which would generally be considered a good thing.