Log NT-proBNP demonstrated a moderate positive correlation with LOS in both PAH and CTEPH groups, with a stronger association observed in the CTEPH group. This evidence concerns the gene NPPB and pulmonary arterial hypertension.