All Ansi formats that begin with ISA have the first record 106 characters in length. The separators are defined by the receiver so you (the submitter) must use those values or the receiver may refuse or be unable to read your transmissions.
In that first record, you can look at positions 104, 105, 106 to get the separators that are used (if you have a sample transmission that you know the receiver accepted.) position 104 = Element separator position 105 = Sub-element separator position 106 = Segment terminator This is easy to remember because the segment terminator terminates the 1st record. All other records are variable length. Warning: I have seen documents that use control codes like CR and LF and others so your document might not be easy to read. HIPAA is supposed to make all healthcare claims standardized so you won't see control codes anymore. The record (segment) that begins with ST tells you the name of the transaction set: ST|837 is a provider healthcare claim sent to a payer. ----- Original Message ----- From: "Kurt Wendt" <[email protected]> To: <[email protected]> Sent: Thursday, August 16, 2012 11:34 AM Subject: RE: EDI, Hex & VFP - Oh My... Honestly - I'm not sure why the character is Visible in the e-mail below, but, when I try to cut&paste it into VFP - its NOT Visible at all. Not sure about ANSI 837, but, I will assume its standard EDI - but, different from the type of stuff I deal with. Mine is for sales orders(850), Advance Ship Notice/ASN(856) and Invoices (810). Actually - I find it VERY ODD that they are using this particular character - because, in other EDI files, its usually characters like you described below... -K- -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, August 16, 2012 1:44 PM To: [email protected] Subject: Re: EDI, Hex & VFP - Oh My... If this is for a ANSI 837 transaction set, for example: sending claims to Medicare: Element separator: 124 '|' Sub-element separator: 094 '^' Segment terminator 126 '~' Those are all ASCII, visible, printable codes so you should not have to use the hex value. ----- Original Message ----- From: "Kurt Wendt" <[email protected]> To: <[email protected]> Sent: Thursday, August 16, 2012 9:54 AM Subject: EDI, Hex & VFP - Oh My... Hey folks, I'm a little stumped on something. Here at my day job, I have to deal with EDI stuff - and I do it all the time. But, a new upgrade for this one Trading Partner is requiring a strange code to be sent back - as displayed in the line below. Strangely enough, I was surprised to see the character appear below (after the "to" and before the "or") - since, when I tried to insert this Text into VFP - just to print on-screen, the character shown below does not appear - but, instead a blank space appears in VFP. So - of course, I am having difficulty figuring how to send back this character. Here is the line of instructions on this particular EDI upgrade: o ISA11 needs to be changed to ¬ or Hex 5F As such, I figured I would try to implement via the Hexcode. But, how exactly do I use HexCodes in VFP. I know the ASC() and CHR() commands, but, AFAIK - that's for purely Ascii code and NOT for Hex code. Any advice would be greatly appreciated! Thanks, -K- Senior Developer Waitex Information System, Inc. P Save a tree. Don't print this e-mail unless it's really necessary. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/165e01cd7be4$06e037d0$7a00a8c0@w2k3s02 ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

