(Reuters) - Allscripts Healthcare Solutions Inc's shares plunged 42 percent in premarket trade on Friday, after the company forecast weak full-year earnings, hurt by software development costs and weaker bookings.