Refactored the drug and prescription query for the doctor lookup servlet.