Fix primary/referring provider ambiguity

juggernautsei wrote on Friday, June 01, 2012:

Hi Brady,

Fix primary/referring provider ambiguity (COMPLETED 5/8/12) (Brady)

Is the above fix to address the Medicare claims that are getting rejected for  “Referring Provider NPI - Required.()” missing?

If it does address this issue, could you release it in a patch?

We looked at the code as it is right now and we are running 4.1.0.(10) on a windows server wamp install. The coding is looking for this infomation in the patient demographics instead of from the encounter. The billing person is having a fit because she needs to change the referring physician on the fly based on the encounter and not based on the front desk staff asking who referred the patient. She said this use to work a few patches back and now it does not work. So, I was just trying to find out if the fix you mention here http://www.open-emr.org/wiki/index.php/QA/Release_Process fixes this issue before we spend our wheels solving this issue.

Thanks!

Sherwin
openmedpractice.com

bradymiller wrote on Friday, June 01, 2012:

Hi Sherwin,

I am not sure if my code will deal with that bug. Here’s the commit:
http://github.com/openemr/openemr/commit/726a51d7547705c1b8134782dfee4546f9b21ca1

Could try it out and see if it works:
Note you’ll need to manually perform the pertinent SQL commands in sql/4_1_0-to-4_1_1_upgrade.sql

let me know if it fixes the bug. If so, then could consider added it to the next patch.

-brady
OpenEMR