Billing fail after 4.1.1 Patch 4

doggmd wrote on Monday, September 24, 2012:

OpenEMR is no longer able to create 1500 forms or X12 files.  It just generates mostly gibberish.  Nothing like a PDF or text file.  Anyone else have this problem?  I am not sure what to look for.  Any ideas?

tsvas wrote on Monday, September 24, 2012:

I have the same problem. Just now I posted a message.  See https://sourceforge.net/projects/openemr/forums/forum/202504/topic/5862235.

yehster wrote on Monday, September 24, 2012:

Interesting, when I try to generate an X12 on the 4.1.2 demo (http://demo.open-emr.org:2089/openemr/) The following text gets included in the x12 file.  It’s readable otherwise though. 

<!-- Common php functions are stored in this page.  -->

4.1.1p0 demo
http://demo.open-emr.org:2102/openemr/interface/login/login_frame.php?site=default
doesn’t seem to have this problem.

This was the billing change introduced with patch 4. 
https://github.com/openemr/openemr/commit/d66ceab7196e8d42fc390952aa7ea7dfe4ef59ea

bradymiller wrote on Monday, September 24, 2012:

Hi,

This should fix it:
http://github.com/bradymiller/openemr/commit/92a7bb1197394f1fb8052ad8f2e3a3b562a0491a

Here’s the full file to replace (to interface/reports/report.inc.php):
https://raw.github.com/bradymiller/openemr/92a7bb1197394f1fb8052ad8f2e3a3b562a0491a/interface/reports/report.inc.php

Please let me know if this fixes the bug.

thanks,
-brady
OpenEMR

tsvas wrote on Monday, September 24, 2012:

Thanks Brady. It fixed the bug.

bradymiller wrote on Monday, September 24, 2012:

doggmd, did this fix your bug?

Guess I’ll release another patch this evening… (already to 5 in one month…) :slight_smile:

-brady

doggmd wrote on Monday, September 24, 2012:

No, not yet. The way I was going from what is above would never have helped.  I did learn a lot about backing up and restoring MySQL in the process of trying. So not a total loss of time.

cverk wrote on Tuesday, September 25, 2012:

The same problem occured in windows xampp, with officeally denying claim files as an incorrect format.  Removing the weird note about common php functions or using the new file from Brady both worked to fix it.  I’m glad it was found and documented here so quickly, because it was kind of an Oh no minute at the end of the work day.

bradymiller wrote on Tuesday, September 25, 2012:

Hi,

Included this fix in the the patch (#5) that was just released:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

-brady
OpenEMR

doggmd wrote on Tuesday, September 25, 2012:

Thanks again Brady for Patch #5.  It fixed the not being able to make 1500 or X12 files/claims.