Did you have some major surgery or some kind of trauma where you were lying in bed for awhile? Poor circulation problems? Because this can happen from lying in bed for some time. Or if some kind of trauma,loosened a clot and it traveled up your leg per artery or vein to lung.