An expert system for evaluation of X-ray diffraction patterns of urinary calculi is described and evaluated. The software was developed using the PERSONAL CONSULTANT expert system shell from Texas Instruments.