@sunsetsystems I know anything possible but do you have a theory on why the payment record would show the amount under the insurance and not the patient?
@stephenwaite Thanks for the response.
I guess I should have posted the whole screenshot. In this case, the āDone with Ins1ā is selected.
Should the Now post for be changed?
@sjpadgett no it is not. They are humming along just fine. There is a patch to the system that I made that needs to go in the code base so I donāt have to carry it.
However this is a different company in TN. Itās my season for popups out of nowhere.
I wanted to ask before crawling into the code. I was hoping that @sunsetsystems would join the conversation. They have notice that there are six patients with this sort of things so it is not a one off situation.
Sherwin, I remember some time back when I was helping you to figure out prepayments and why patient payments were not applied somehow to primary insurance that I made a mod to what patient payments were applied that would have impacted the billing report in summary and possibly not anywhere else ie posting etc. I bet that change is what you are seeing. I remember asking the forum how those payments should be applied to that report. I think in 501.
I canāt check now but see if you can find that PR and youāll see what I did.
I canāt find it. I was almost certain I modāed this. The demographics report come from ar table via patient.inc.
Maybe I didnāt do PR and only looked at and questioned. Maybe will look closer tomorrow. If you find where patient balance gets calcāed and point me there, iāll look at code. Maybe thatāll wake some dormant brain cells from my youth
Youād need to give context for the statement count as iām pretty sure I didnāt add it. Also, I donāt think this mod solves the problem but masks it instead for this one billing context.
Where in code have you done this?
Not sure version oe youāre on but 501(7) has that statement at L-1905 however $ferow[āstmt_countā] may be a flag where stmt_count may have been reset prior to getting here.
I have to expend a few brain cell to find out statement counts purpose here but I think weāre in right place.
@sjpadgett I looked through the code and the only other reference to $ferow[āstmt_countā] was in the sl_eob_invoice.php and that didnāt shed any light.
Maybe @visolveemr knows why the statement count was added to the patient balance calculation.
I checked back to 5.0.0 and is there also. I think the routine expects if there has not been any invoices/statements sent then it would be safe to assume that the only patient payments due are copays. Last level billed should be enough.
Iām leaning towards removing or figuring out a better test for if insurance is out or not. For now, I donāt see the harm in removing. Disclaimer: iām always leery of second guessing original authors intent unless I fully understand. Here iām using logic. We all know where that can lead me these days.