Read about OpenEMR's Response to the COVID-19 Pandemic at

Error in Edit Batch Payments in 5.0.2(1)


This is continuation from a post I started in another topic:

Textarea in Layout Based Form does not expand vertically in 5.0.2

Joel EricksonJoel


I wonder if you have been able to duplicate this error? I’m running 5.0.2(1) on a Windows 10 machine. I initially installed 5.0.2 onto XAMPP 7.4.4 then downgraded to XAMPP 7.3.16 on a test machine. I never experience the error described here in 5.0.0.(7).

Briefly, If I post batch payments into a New Payments window everything works OK. However, If I close the New Payments window and open up the Edit Payments window by searching for the same check number, the Edit Payments fields are not filled completely and new entries cannot be added to the payment. I must completely delete the payment and begin again in a New Payments window.

Please let me know how I can fix this,

hi @Joel, i don’t use batch payments so if you could post some screenshots here that would be great

i know that @juggernautsei had done some work in this area so he might know what’s up

I am unable to duplicate the error based on what is written. The Edit Payment screen populates on my Windows server. I am running WAMP.

Here are a couple of screen shots of the Batch Payments:Edit Payment screen. This first one is what appears after searching for a payment that has been partially distributed. There should be encounter and charge entries here. This particular payment was fully distributed but the result would be result would be the same if it had not been. All these payments were actually correctly posted to the encounter and the EOB Invoices. However, If the batch payment had not been fully distributed and another payment was attempted to be posted, the next screen print shows the error that would appear and no more payments would be able to be posted.


Which browser are you using? Can you please check your error log? This is a validation error.
Can you go to Globals and turn on logging to display all errors?

Thanks for helping Sherwin,

When I turn on globals:logging:user debugging options:all my oemr looks like this:


I am using firefox 76.0.1

There are a lot of different types of warnings that are being hidden. However, with this on can you run through your billing cycle. The things that you see on the screen are not faults that would halt the system from working. It will still work with warnings. I just want to see if your system is throwing errors on the Edit Payment screen.


There are no errors when I run batch payment. But, I think I know what is going on. There is a new great feature in 5.0.2 that shows billing code modifiers in Past Encounters. It is really helpful! The code modifiers also show up in the Payments window because they are associated with the cpt codes. Well, we seldom used code modifiers until COVID-19. Now we attach -GT and -CR to every Teletherapy encounter per NC Medicaid. It seems like the presence of those modifiers is causing the problem. Please try your test again but add the modifiers GT and CR in the Fee Sheet. Then post some payment in Batch Payments. See the table below. Encounter numbers are wrong and the table is not completed if the encounter contained a modifier. However, note that the Past Encounters are completed correctly whether or not a modifier is present. Only in the case where the top line is not filled completely (the oldest encounter) does the routine crash. (I like your video and need to learn how to do that!)