Quality Systems Inc. subsidiary NextGen Healthcare Information Systems LLC will buy Entrada Inc. for $34 million.

Quality Systems and NextGen are based in Irvine and make software to automate medical and dental practice management.

Entrada, in Brentwood, Tenn., makes applications and software that allow electronic health records to be displayed on mobile devices.

Entrada lost $2 million last year on revenue of $12 million. The company, founded in 2005, had received about $7 million in venture capital funding since 2010, according to Crunchbase.

Quality Systems in 2016 earned $5.7 million on revenue of $492 million, and traded recently at an $897 million market cap.