create an image of the heart. the ultrasound image details the blood flow in the heart's chambers and evaluates heart chamber size and how the heart valves are functioning. electrocardiogram (ekg or ecg): a diagnostic test that measures the electrical activity, rate, and rhythm of the heartbeat via electrodes...