Hepatopulmonary syndrome is a triad formed by pulmonary vasodilation and arterial hypoxia caused by primary liver disease.