Check out this article in the New York Times. An excerpt:
Over past three decades, the increasing availability of ultrasound equipment has assisted India’s cultural preference for sons and distorted the sex ratio across the nation. As the equipment has become more affordable, special ultrasound clinics have opened even in the most impoverished parts of the country.
Before undergoing an ultrasound test in India, pregnant women must sign a form agreeing not to seek to know the sex of the fetus. Doctors who disclose the sex during an examination can be imprisoned for up to five years. But the law is widely flouted. Studies suggest that doctors often give coded hints, by remarking for example, “Your child will be a fighter,” or by offering pink or blue sweets, as appropriate, on the way out. Successful prosecutions are rare.