Abstract:The paper preprocesses the data about basic information of Electronic Medical Records(EMR) and the progress note of hypertension patients through SQL technology, conducts analysis based on the two-step clustering algorithm of SPSS 19.0 software, and explores the important factors like pneumonia, brain infarction and diabetes and so on for predicting hypertension, in order to provide reference for diagnosis and treatment of hypertension.