A test called an echocardiogram is used to diagnose a PFO. The test uses sound waves to create pictures of the beating heart.This document addresses the transcatheter closure of patent foramen ovale and transcatheter or open left atrial appendage (LAA) closure. Q21.10, Atrial septal defect, unspecified. Q21.11, Secundum atrial septal defect.