Configure ISA01~ ISA04

aethelwulffe wrote on Wednesday, December 22, 2010:

Hi guys.
Looks like there is no interface for changing the x12 gen output to give values for ISA01,02,03,or 04.

ValueOptions, for one payer example requires you to input 02 and 04 with a login and password.

ISA01 must read “03” to indicate there is data in ISA02
ISA02 must have the user name for ValueOptions
ISA03 must read “01” to indicate that there is a passcode in ISA04
ISA04 must have the passcode.

Currently, the code always dumps “00” and spaces into these elements of the header.

  $out .= "ISA" .
    "*00" .
    "*          " .
    "*00" .
    "*          " .
    "*" . $claim->x12gsisa05() .
    "*" . $claim->x12gssenderid() .
    "*" . $claim->x12gsisa07() .
    "*" . $claim->x12gsreceiverid() .

Am I just screwed?  Is this just so unusual of a requirement for an insurance company that it isn’t worth coding into the X12 partner set up?  Should I make an outside program to edit the missing stuff that the EMR isn’t set up to do so that my super-unusual situation is taken care of?

sunsetsystems wrote on Wednesday, December 22, 2010:

Screwed I guess, unless you can do some programming.  I’ve never seen that come up before.  If you want to take a whack at it, this commit included adding some things to the X12 Partners form and would thus give a good example:

https://github.com/openemr/openemr/commit/af521067aca08b383273dea337b8c36c82e52c45

What you care about are:

library/Claim.class.php
library/classes/X12Partner.class.php
library/gen_x12_837.inc.php
templates/x12_partners/general_edit.html

Rod
www.sunsetsystems.com

aethelwulffe wrote on Thursday, December 23, 2010:

OYG (Oh Your God),

I am the first person to ever use OpenEMR to bill “03” location code, and the first one to immediately thereafter need to add sender ID and validation.
  If I re-write stuff(and as you know I don’t know PHP or databases) that puts me yet one more bound beyond the pale to upgrade to 4.0 when it happens.
  Hard enough to configure an X12 partner, what with figuring out what that PER06 really is, the jumbled order ISA elements and all that.
  I guess I will see if a find/replace app for the header is a workable kludge for now.  I am curious to see what happens when you have billing for two x12 partners and you want to export a file.  Does it export two files, or do you get everything jumbled into one if you don’t carefully select the right claims?

aethelwulffe wrote on Thursday, December 23, 2010:

BTW Rod, thank you for the quick answer.  Consider my whining to be a 4.0 feature request….and yes, as soon as I can get my install doing what it needs to do, this will be hot on my list of development needs.