ICD9 limit in x12 file

gutiersa wrote on Tuesday, December 01, 2009:

We just started transmitting medicare claims via office ally. I have gotten rejections when more than 4 ICD9 codes get transmitted for 1 cpt code.
I need to modify the program to stop adding codes to the x12 batch after the 4th code. Any ideas?

sunsetsystems wrote on Tuesday, December 01, 2009:

Look for this code in library/gen\_x12\_837.inc.php:

    foreach ($dia as $dindex) {
      $out .= $separator . $dindex;
      $separator = ‘:’;
    }

and replace it with:

    $i = 0;
    foreach ($dia as $dindex) {
      $out .= $separator . $dindex;
      $separator = ‘:’;
      if (++$i == 4) break;
    }

Rod 
(http://www.sunsetsystems.com/)

gutiersa wrote on Wednesday, December 02, 2009:

awesome ty, I will do it today.

ideaman911 wrote on Thursday, December 03, 2009:

Rod (et al);

Should we not simply add that to the CVS for next patch and/or update?

Joe Holzer    Idea Man    315-622-9241     im@holzerent.com
http://www.holzerent.com

sunsetsystems wrote on Thursday, December 03, 2009:

Yes of course that will be done.

Rod 
(http://www.sunsetsystems.com/)