Compared with the MI group, the inflammatory M1-type CD86 macrophages decreased, while the anti-inflammatory M2-type CD163-positive macrophages increased significantly, thus indicating that YQHX can alleviate myocardial inflammation in the infarct margin of MI rats by promoting the secretion of M2-type macrophages and inhibiting the secretion of M1-type macrophages to alleviate myocardial injury, promote the regeneration and remodeling of myocardial tissue, and facilitate the recovery of cardiac function. Here, CD163 is linked to myocardial infarction.