An expert system technology for identification of drug related problems