The drug-delivery device may also be equipped with a sensing device, such as the ultrasound device disclosed in U.S. Pat. No. 6,024,703, also incorporated herein by reference, which provides the user with information about the distance of the injection head from the surface of the heart.