Generic error that may be a configuration issue or data corruption.
Attempt to fix by running File Maintenance in Medisoft and the Repair Practice Data tool in Mediutils.
If the error presents itself when running reports, ensure the proper boxes are being filled out in the 'Search' filters. Also, attempt to use an alternative version of the report as some customized reports may have an underlying issue.