The word occult is sometimes used in medicine to describe a condition that has hidden causes. This is merely using the most literal meaning of the word occult, which is something that is "hidden".

So, for future reference, if your doctor tells you that you suffer from ulcers with occult causes, it just means that she or he hasn't figured out what is wrong with you, not that you need to go find an exorcist.