Hi
I’ve run into an annoying Insurance company that in Loop 2010AA Billing Provider wants the facilities EIN and not the providers number. How can I get it to use EIN instead of provider Number without affecting other Insurance transactions that play nice?
My suggestion would be to not try to vary the $out construction as a piece, but instead effectively duplicate the entire build as separate if your Payer matches instead. Ergo:
else if ($claim->providerNumber()) {
$log .= "*** Payer-specific provider insurance number is present but has no type assigned.\n";
} // of course this will always put EIN in as code type for that payor 6/30/09 JCH
I tried it like this:
if ($claim->providerNumberType() && $claim->providerNumber()) {
++$edicount;
if ($claim->PayerID() = "660592131")
{$out .= "REF" . "*" . $claim->providerNumberType() . "*" . $claim->billingFacilityETIN() .}
else
{$out .= "REF" . "*" . $claim->providerNumberType() . "*" . $claim->providerNumber() .}
"~\n";
}
else if ($claim->providerNumber()) {
$log .= "*** Payer-specific provider insurance number is present but has no type assigned.\n";
}
After digging into an X12 from a previous billing app this is what it seems to want in the file.
But I’m getting a 500 error from the webserver until I remove the change.