The Rationing, by Charles Wheelan.
It is the near future . Earth has been hit by a global, baffling superflu that makes some a little sick and kills others.
There is a drug that can cure it, but a series of events sees the USA dangerously short of dosages.
People have to decide who gets the drug. Should there be an age cutoff? Can felons and ex-felons get it? Should people be excluded on the basis of education?
The president and his staff grapple with these questions.
This is a great political thriller/satire. I enjoyed it enormously.
If you want a happy ending, that depends, of course, on where you stop your story.