Doctors suspect PDA if they hear a certain type of heart murmur. Doctors confirm the diagnosis by: