Which line of code changes HL04 from 0 to 1

markthepharaoh wrote on Sunday, June 28, 2009:

Hey,

Which line of code changes HL04 from 0 to 1when the patient is not the subscriber?  Thank you?

Mark

cfapress wrote on Monday, June 29, 2009:

Mark,

I haven’t worked in the billing code myself but I suggest you take a look through these files in <oemr>/library:

./Claim.class.php
./gen_x12_837.inc.php
./billing.inc
./classes/X12Partner.class.php
./classes/InsuranceCompany.class.php
./classes/Claim.class.php
./freeb/ClearingHouse.class.php

Rod would probably be the best person to answer your questions about the errors in X12 formats.

Jason