I don't think you can use that here as merely "buying a medicine" can't make people OK. It's their administration that makes people(or tries to, at least) OK. So, I'd say "I've bought the medicine so that you can get well(with?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.