Medical terminology and data preparation for EMR/PM systems