Atrial septum defects: right to left shunt, what is all this?

Usually with an atrial septal defect the blood flow or shunt goes from left to right, however, in some situations when there is pulmonary hypertension the shunting goes from right to left. The problem with that is it causes some of the blood to bypass the lungs and not get the oxygen needed to bring to the tissues.