Yes exactly but I also want to know how we computationally identify drug interaction with other diseases for drug repositioning. Suppose a drug is particularly used for viral disease but I want to identify the interaction with other disorders. How much this drug is effective against other diseases as like viral disease.
There are free and paid software for DDI checkers. To name a few Medscape, Drug.com, Epocrete are freely available and Other paid software are Micromedic, Lexicom and Up-to-date.
There have been several deep learning frameworks in recent years for DDI and DTI, and most of them provide their dataset and code, I can link some for you, however, you will need some understanding of python and the Keras library to reproduce their results and use it for you own datasets.
We use Clinical Pharmacology. I converted my colleagues to it which was not difficult - it's by far the best. Interactions are ranked Level 1 (do not combine ever) to Level 4 (minor interaction with few/no effects typically seen). ClinPharm will often find different and much more factual interaction data when compared to Unix-based 'First Data Bank' which unfortunately is the default checker used by many health information systems. See: clinicalkey(dot)com/pharmacology