The present invention relates to benzo-fused 7-membered heterocyclic derivatives, the preparation method and medical use thereof. Specifically, the present invention relates to a novel benzo-fused 7-membered heterocyclic derivative represented by formula (I), the preparation methods thereof, the pharmaceutical composition containing the same, the use of the same as a therapeutic agent especially as the cholesterol ester transfer protein (CETP) inhibitor, and the use of the derivative in the preparation of a medicament for the treatment of atherosclerosis and other diseases, wherein the respective substituents of formula (I) are as defined in the specification.本發明涉及苯並七員雜環類衍生物、其製備方法及其在醫藥上的應用。具體而言,本發明涉及一種通式(I)所示的新的苯並七員雜環類衍生物、其製備方法及含有該衍生物的醫藥組成物以及其作為治療劑,特別是作為膽固醇酯轉移蛋白(CETP)抑制劑和在製備治療動脈粥樣硬化等疾病的藥物中的用途,其中通式(I)的各取代基與說明書中的定義相同。