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 ...
The 'near' future is formed using the present tense of the verb 'aller ... used to express eg ‘I will + verb’ in English. The conditional in French The conditional mood expresses what ...