EXHIBIT 23.1: CONSENT OF INDEPENDENT AUDITORS We consent to the incorporation by reference in this Registration Statement on Form S-8 pertaining to the Meditech 2004 Stock Purchase Plan of our report dated January 27, 2004, with respect to the financial statements of Medical Information Technology, Inc. included in its Annual Report (Form 10-K) for the year ended December 31, 2003, filed with the Securities and Exchange Commission. /s/ Ernst & Young LLP Boston, Massachusetts March 11, 2004