A leading electronic health records maker and its founders will pay $155 million to resolve a lawsuit that accused the company of selling faulty software and defrauding the program that subsidized doctors to computerize their patient records, the Justice Department announced Wednesday.The settlement, the first of its kind involving a health IT company, also states that Massachusetts-based eClinicalWorks paid kickbacks in exchange for promoting its product, which had flaws that may have exposed millions of patients to potential safety risks.The defects reported in the settlement are familiar to anyone who has listened to doctors complain about their electronic records systems since the government started a $34 billion subsidy program in 2011 to get doctors to abandon paper records.