Patch #6 Billing problem

nursejeff wrote on Tuesday, June 10, 2014:

Updated to patch 6 today.

My Biller tried to make a claim and got a white screen.

Error log is as follows:

[Mon Jun 09 19:55:57 2014] [error] [client 192.168.1.149] PHP Warning: fopen(/var/www/html/openemr/library/freeb/process_bills.log): failed to open stream: Permission denied in /var/www/html/openemr/interface/billing/billing_process.php on line 122, referer: http://192.168.1.105/openemr/interface/billing/billing_report.php
[Mon Jun 09 19:55:57 2014] [error] [client 192.168.1.149] PHP Fatal error: Call to undefined method Claim::claimTypeRaw() in /var/www/html/openemr/library/gen_hcfa_1500.inc.php on line 103, referer: http://192.168.1.105/openemr/interface/billing/billing_report.php

Please help.
Thanks as always.

Jeff Guillory
NP Health Clinic
Lumberton, TX

cmswest wrote on Tuesday, June 10, 2014:

nice use of the error log, like the fatal error states, Claim::claimTypeRaw() doesn’t exist in Claim.class.php, you can put the below in line 835 of library/Claim.class.php

function claimTypeRaw($ins=0) {
if (empty($this->payers[$ins][‘object’])) return 0;
return $this->payers[$ins][‘object’]->get_freeb_type();
}

looks like the most recent update of that file wasn’t included in the downloaded patch

https://github.com/openemr/openemr/blob/master/library/Claim.class.php#L835

ps might want to check your permissions on the freeb directory where the billing log is kept

bradymiller wrote on Tuesday, June 10, 2014:

Hi,

Agreed on above edited out “shame” comment. Sorry I missed that file and didn’t catch it on testing. Just uploaded a new patch 6 file that includes this file.

-brady
OpenEMR

bradymiller wrote on Tuesday, June 10, 2014:

Jeff,
Thanks for the quick error report.
-brady