Objective To deal with the inconvenience that doctors have to use current name but not trade name in writing the prescription after the institutional reform of medicine.Methods To meet the system requirement,the generating method of drug phoneticized code was altered in our hospital.Result The problem was solved by defining one item with multiple codes,i.e.one name with multiple codes or one code with multiple names.Conclusion With source program untouched,this method is simple and feasible in practical application.