You should have a Companion Guide from the provider of the X12 message. That should tell you what standard is being employed. V1 is for Professional Billing, v2 is for Dental, v3 is for institutional (probably what you want but the Companion Guide should be the authority).
You probably should also have an 837 Implementation Guide. Unfortunately that has to be purchased from Washington Publishing.
Is this one message per envelope (between the ISA and IEA Segments) or are there multiple messages?
If there is just one is there an ST segment after the GS segment and an SE segment before the GE segment?
I have not had success with the one hipaa variant I tried (for a different Transaction Set) so I just used the base. The hipaa variants provided seem to be an attempt to make life easier by mapping the non-hipaa 837 standard to the hipaa standard thereby reducing the complexity of the structure.
However, as I said, I had sufficient issues I just reverted to the base non-hipaa standard.
One additional thing – when you actually move the message through the engine, you need to strip off the envelope as it comes in and then put it back if it goes out as an X12 message. There are provided procs in the tclprocs lib directory I believe and they are documented in Cloverleaf help.
Be aware there is a flaw in the split message (I don’t recall the name of the proc) proc if you want the envelope removed to include the GS/GE segment pairs as well as the ISA/IEA pair (leaving the ST through SE set).
If you need to remove the envelope down to the GS/GE, let me know and I will provide a proc I use to do that.
X12 is another world but not impossible to deal with.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.