Abstract:The paper discusses the association between coronary heart disease examination results and medication status through electronic medical records, carries out pretreatment for the data through SQL database technology, mines the association rules between examination results and medication status, providing references for formulating coronary heart disease clinical diagnosis and treatment plan.