The present invention relates to the amide derivatives for the formula (XIIIa) for adjusting PGI2 receptor active and its pharmaceutical compositions. The compounds of this invention and its pharmaceutical composition are related to the method for effectively treating following illnesss: arteriosity pulmonary hypertension (PAH) (PAH); Idiopathic PAH; Familial PAH; PAH related with following illnesss: collagen vascular disease,Congenital heart disease,Portal hypertension,HIV infection,Take in drug or toxin,Hereditary hemorrhagic telangiectasia,Splenectomy,Pulmonary veno-occlusive disease (PVOD) or pulmonary capillaries angiomatosis (PCH); PAH relevant to the involvement of significant vein or capillary involvement; Platelet aggregation; Coronary artery disease; Myocardial infarction; Transient ischemic attack; Angina pectoris; Apoplexy; Ischemia reperfusion injury; Restenosis; Atrial fibrillation; It is in the individual that angioplasty or coronary bypass are performed the operation or clot is formed in the individual with atrial fibrillation; Atherosclerosis; Atheromatous thrombosis; Asthma or its symptom; Diabetes related disorders such as diabetic peripheral neuropathy,Diabetic nephropathy or diabetic retinopathy; Glaucoma or other eye diseases with abnormal intraocular pressure; Hypertension; Inflammation; Psoriasis; Arthritic psoriasis; Rheumatoid arthritis; Crohn disease; Graft rejection; Multiple sclerosis; Systemic loupus erythematosus (SLE); Ulcerative colitis; Ischemia reperfusion injury; Restenosis; Atherosclerosis; Acne; Type 1 diabetes; Diabetes B; Pyemia; And chronic obstructive pulmonary disease (COPD).本發明涉及調節PGI2受體活性的式(XIIIa)的酰胺衍生物和其藥物組合物。本發明化合物和其藥物組合物涉及有效治療下述病症的方法:動脈性肺動脈高壓(PAH);特發性PAH;家族性PAH;與下述病症有關的PAH:膠原血管病、先天性心臟病、門靜脈高血壓、HIV感染、攝入藥物或者毒素、遺傳性出血性毛細血管擴張、脾切除術、肺靜脈閉塞性疾病(PVOD)或者肺毛細血管多發性血管瘤(PCH);與顯著靜脈受累或者毛細血管受累相關的PAH;血小板聚集;冠狀動脈病;心肌梗塞;短暫性缺血發作;心絞痛;中風;缺血-再灌注損傷;再狹窄;心房纖維顫動;在血管成形術或者冠狀動脈架橋手術的個體中的或者在患有心房纖維顫動的個體中血塊形成;動脈粥樣硬化;粥樣血栓形成;哮喘或者其症狀;糖尿病相關病症諸如糖尿病性周圍神經病變、糖尿病腎病或者