BCBS Florida Availity 010: Sender Code is Invalid Error

Below is the latest working fix for 5.0.1-6 for this problem.

// Replace existing code with this code in your var/www/openemr/library/gen_x12_837.inc.php file. This is for 5.0.1-6.
// New code is between first and last lines which are shown below for location reference only.
// Use Notepad or Notepad++ for editing. The new code goes into Loop 1000A at line 118 and thus becomes 118-126 (Previously 140)
// Replace BCBS# with your Availity assigned number before pasting.
// Replaces the following code 2 lines

}
$out .= “*” . $claim->billingFacilityETIN();

" . “46”;
}
if (trim($claim->x12gsreceiverid()) == ‘470819582’) { // if ECLAIMS EDI
$out .= "
” . $claim->clearingHouseETIN();
}else{
if ($claim->payerID()==‘00590’){
$out .= “" . “BCBS#”;
}else{
$out .= "
” . $claim->billingFacilityETIN();
}}
$out .= “~\n”;