ERA handling is modified.
commit38c32e6632c2d8b0d9c980865065f6636641b3bf
authorPaul Simon <paul@zhservices.com>
Sat, 1 Jan 2011 13:36:02 +0000 (1 19:06 +0530)
committerbradymiller <bradymiller@users.sourceforge.net>
Sat, 8 Jan 2011 09:27:03 +0000 (8 01:27 -0800)
treee0f4de9c187996e2c6c82fd9bbeed6bb312b4dd2
parent02da2cd5fd32d86581de5a0d579235c36ec6db4e
ERA handling is modified.
1)The automatic forwarding to the next level of insurance,after the ERA payment, is added.
2)Also the claim denial code is stored in database for display later.
For the first case there is no need to bill again to the secondary.So last_level_billed is updated.In claims table new status=6 is stored.
For the second case the denial reason code is stored in claims table with new status=7 and in billing table with bill_process=7.
We changed in billing table so that a denial search can be done in the billing manager.
We would like you to review the code.

Signed-off-by: Paul Simon <paul@zhservices.com>
interface/billing/sl_eob_process.php
library/billing.inc
library/parse_era.inc.php
library/sl_eob.inc.php