Unified algorithm for real-time detection of drug interaction and drug allergy.
This algorithm aims at unifying and generalizing the algorithm for detecting all types of documented drug interactions such as drug-drug interactions, drug-disease interactions, drug-patient interactions (drug allergy) from patient profile information and drug-laboratory test interactions in real-time prescribing system. Ideally, the system should conform to the following criteria: (1) data independence; (2) software interconnectability; (3) knowledge expandability; (4) flexibility; and (5) computation resource efficiency. We propose a robust Structured Query Language (SQL) algorithm to detect drug interactions and drug allergy according to such criteria. We believe that this is the first public domain algorithm in SQL that could be easily implemented into most open-system prescribing software which support SQL language. The algorithm comprises two major stages: 'expand' and 'extract'. The former expands all information in the prescription with their synonyms, groups, or components. The latter extracts the documented interactions by inner-joining knowledge-base with two independent copies of the expanded prescription list simultaneously. Simulation study for speed performance indicates that this algorithm is well behaved, for the speed of computation does not grow faster than the growth in prescription size.
Wongpoowarak
Wibul
W
Department of Pharmaceutical Technology, Faculty of Pharmaceutical Sciences, Prince of Songkla University, Hat Yai, 90112, Thailand. wwibul@ratree.psu.ac.th
Wongpoowarak
Payom
P
D000465:Algorithms; D001185:Artificial Intelligence; D019295:Computational Biology; D016208:Databases, Factual; D004342:Drug Hypersensitivity / Q000517:prevention & control; D004346:Drug Information Services; D004347:Drug Interactions; D006801:Humans; D012984:Software