Note that we can also convey the same idea of past event and present result by using type 3 conditional (if + past perfect, would've + past participle) in both clauses If he'd taken the medication ...
We use the third conditional to talk about imagined past events: things that might have happened in the past, but didn’t happen. She wouldn’t have become ill if she’d taken the medicine.