the cause is often unknown. risk factors include a family history, prior blood clots in the lungs, hiv/aids, sickle cell disease, cocaine use, copd, sleep apnea, living at high altitudes, and problems with the mitral valve. the underlying mechanism typically involves inflammation of the arteries in the lungs. diagnosis involves first ruling out other potential causes.