Hi Folks,
I am trying to help a non profit government agency make use of new billing standards and thru this have been introduced to a file format structure dubbed as 'EDI' which differs considerable from any other flat file structure in that the start of each row of data, as indicated by a segment marker, contains different data. I am struggling here and I cannot seem to find anything in Access or even VB that can handle this. I am wondering if anyone has come across any method that would be able to convert this EDI format into a flat file that can be meaningful. I will attempt to give an example below:
REF*6R*340
CLM*856-3402*145***53:B:1*Y*A*Y*I
HI*ABK:F1120*ABF:F411
So basically, there are about 30 different 'segments', so the first few characters of each line are a unique segment which contain different information ... so perhaps the REF would contain the authorization code and then the CLM would be the claim info and the HI may be the health info and so on and so forth ... and folks, it gets NASTIER, because then in the middle of the structure is 'looping' where nothing is repeated from the above segments ...
Any ideas or help :banghead:
Thanks,
Joe
I am trying to help a non profit government agency make use of new billing standards and thru this have been introduced to a file format structure dubbed as 'EDI' which differs considerable from any other flat file structure in that the start of each row of data, as indicated by a segment marker, contains different data. I am struggling here and I cannot seem to find anything in Access or even VB that can handle this. I am wondering if anyone has come across any method that would be able to convert this EDI format into a flat file that can be meaningful. I will attempt to give an example below:
REF*6R*340
CLM*856-3402*145***53:B:1*Y*A*Y*I
HI*ABK:F1120*ABF:F411
So basically, there are about 30 different 'segments', so the first few characters of each line are a unique segment which contain different information ... so perhaps the REF would contain the authorization code and then the CLM would be the claim info and the HI may be the health info and so on and so forth ... and folks, it gets NASTIER, because then in the middle of the structure is 'looping' where nothing is repeated from the above segments ...
Any ideas or help :banghead:
Thanks,
Joe