Of course the parallels between medicine and religion have always been obvious to anyone who has eyes to see. The patient consultation as confessional. The use of long latin words that the patient cannot understand. The rituals and incantations of medicine have clear parallels with religion. Or would that be the other way round. You could go on and on.
It is easy to understand why many aspects of medicine and religion mirror each other. Particularly if we look at one very important aspect of religion. Namely, protection against terrible things happening to you. Humans, once they became aware of their mortality, very rapidly felt the need for protection against an unpredictable and dangerous world. Earthquakes, storms, crop failures, plagues, early death… that type of thing.