Study: Up to 80 percent of EHR projects fail