Parsing out EDI messages

License: Freeware
Date Added: 10 April, 2013
Category: Scripts / File Manipulation
Author: activestate.com

A parser I designed to work with HIPAA EDI files. It reads in files and spits out the individual segments without terminators.Requires Python 2.3 or greater. (Use can probably use Python 2.2 with from __future__ import generators at the top...


Advertisements



 

A parser I designed to work with HIPAA EDI files. It reads in files and spits out the individual segments without terminators.Requires Python 2.3 or greater. (Use can probably use Python 2.2 with from __future__ import generators at the top...)This parser is currently in use to work with 150-200MB of EDI transactions a day and has proven very reliable. Some considerations I had that not everyone may be worried about:-Some, but not all, of my data comes from our mainframe and is stored 80 bytes to a line. The line with the final IEA of each message is padded out to 80 bytes. I had to account for extraneous 's and possible linefeeds. However, since the linefeed is a valid segment terminator, I couldn't just ignore them.-We bundle multiple interchanges within the same physical file. Not all of our trading partners use the same delimiter set so i had to be able to adjust at any point to a new delimiter set.-At the very high level, I assume that the interchanges aren't complete garbage. (i.e.: All interchanges are wrapped in a valid ISA - IEA envelope.) No sort of syntax or structural checking is done.


Operating Systems:  Python, Windows, Linux, BSD, Solaris, Mac OS


Parsing out EDI messages Related Downloads
 
Download Record-Jar Parser 1.0

Record-Jar Parser 1.0  This script presents you a method to parse a file like object containing data in the record jar format.

Download Easy file parsing 1.2

Easy file parsing 1.2  This script is useful for making easy and human to write definition files for whatever use.

Download Gamestats 1.4.6

Gamestats 1.4.6  Gamestats is a logfile parser written in Perl that is: - Easy to setup - Ships with its own Windows executable (see installing) - Does not require external modules - Does not require a database - Generates static .

Download FileAnt 20070520

FileAnt 20070520  FileAnt is a File Manager on tabs, it is also an Ftp Client and has nice features such as folder pie charts, and a viewer for commonly used file formats. Advanced tools let you modify file dates, sync folders, edit archives, and change file attribute

Download TriDComm 1.4

TriDComm 1.4  TriDComm is a 3D file manager for windows. It requires opengl and a 3D accelerator card.It has the usual file operations (rename, view, edit, copy, move, mkdir, delete, compare, find), trace route, ping in a 3D view, private chat and an FTP server.

Download VistaGlance 1.1

VistaGlance 1.1  Find document or run program you want within several seconds since you firstly think of it. Super fast indexing, super fast search by file names, attributes and tags. Apply smart filtering and sorting of results, cut, copy, delete, drag&drop files.

Download Handy File Tool 1.04

Handy File Tool 1.04  Handy File Tool (HFT) is a very fast and simple file manager. It has some internal utilities such as Renamer, Replacer and Finder. HFT has utilities necessary for webmasters, programmers and anybody who is concerned with computers.

Download EF Commander Free 6.55

EF Commander Free 6.55  EF Commander Free for Windows is a file manager for the Windows desktop. If you've ever used and liked Norton Commander, you'll like this dual-windowed program.

Download SE-Explorer 0.0.23.441

SE-Explorer 0.0.23.441  SE-Explorer is a free simple and powerful file manager for Windows with various built-in viewers. It's convenient dual-panel file browser with enhanced search function and tabbed interface.

File Manipulation Popular Downloads
 
Download Free File Splitter Joiner 5.5.5

Free File Splitter Joiner 5.5.5  Free file splitter joiner software to split any file into smaller pieces for easier transfer, storage and file management, and then rejoin them later for use.

Download Parsing a full file specification 1.1

Parsing a full file specification 1.1  This function parses a full file specification into tuple of: a) list of drive and folders b) file name c) (last) file extension (including dot)A full file specification consists of drive letter, folders, file name, and extension.

Download php Download Manager 1.1

php Download Manager 1.1  php Download Manager is a script package written in php with a MySQL back-end. The script allows site owners to offer downloads by category. The program generates code to link to categories or individual downloads.

Download basE91 0.6.0

basE91 0.6.0  basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient.The overhead produced by basE91 depends on the input data.

Download aria2 0.11.4

aria2 0.11.4  aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0. As of 0.10.

Download Progress bar class 1.0

Progress bar class 1.0  Here is a little class that lets you present percent complete information in the form of a progress bar using the '#' character to represent completed portions, space to represent incomplete portions, and the actual percent done (rounded to integer)

Download MyDMS 1.7.0

MyDMS 1.7.0  MyDMS is an open-source, web-based document management system written in PHP and supported by an SQL database. Originally coded by Markus Westphal, MyDMS provides document meta-data, version control, security and easy access to your documents.

Download PKTorrents 0.1b 1.0

PKTorrents 0.1b 1.0  PKTorrents has the functionality to crawl the top torrent sites, Meganova, Mininova, Piratebay, Snarf, Torrentportal, Torrentspy and adding 1000's of torrents to the db as it gos using the well know ibitzy torrent spider/crawler!!

Download PKZip library for PHP 0.4.1

PKZip library for PHP 0.4.1  PKZip library for PHP contains a set of functions to create PKZip (Winzip) files in PHP.

Submit Reviews for Parsing out EDI messages
- required fields