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>