A patent foramen ovale repair, or closure, is a procedure that closes the flap in the wall of the atrial septum, also called a patent foramen ovale. Learn more about the causes and complications of this condition in which a hole in the heart doesn't close the way it should after birth.If you have a PFO and low blood oxygen levels or an unexplained stroke, you may need a procedure to close the hole.