We upgraded OpenEMR from 4.2.0 to 5.0.0(6). We have an issue with generated X12 billing file missing Rendering Provider NPI and Taxonomy values. Researching the issue I found that the gen_x12_837.inc.php which is generating the X12 file is retrieving provider ID from the form_encounter table and the value in that filed is 0. I spent a lot of time trying to figure out when is this value being saved as 0 in provider_id in form_encounter table but no luck. I have to update this field value to the correct provider_id manually in the table so that the generated X12 file is not missing the provider details.
OpenEMR Version
OpenEMR 5.0.0(6)
Browser:
Chrome
Operating System
Ubuntu