Skip to content

Commit

Permalink
An initial drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
slott56 committed Mar 20, 2012
1 parent 4f8a911 commit ad90c73
Show file tree
Hide file tree
Showing 291 changed files with 81,142 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

.komodotools/python.komodotool

.komodotools/python2_6_-m_test_ru.komodotool

Tiger.komodoproject

Tiger.kpf

.DS_Store

X12/*.pyc

X12/map/*.pyc

X12/message/*.pyc

claims/*.pyc

doc/build/.*

doc/build/html/.*

extras/*.pyc

doc/*.zargo~

test/*.pyc


testserver.err

testserver.log

tiger.db

tools/*.pyc

web/*.pyc

web/claims/*.pyc

web/claims_837/*.pyc
Binary file added Downloads/X12-0.08.tar.gz
Binary file not shown.
Binary file added Downloads/pyx12-1.4.0.win32.exe
Binary file not shown.
Binary file added Downloads/pyx12-1.5.0.zip
Binary file not shown.
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TigerShark is an X12 EDI message parser that can be tailored to
a specific partner in the health care payment ecosystem.

It contains a test directory, tools and a demo web application that does
a little bit of claim display and edit.

This does not (currently) have a proper Python ``setup.py`` script for installation,
since this is such a random mixture of components.

It's probably best to include a ``.pth`` file in your ``lib/site-packages``
that references this working directory.
59 changes: 59 additions & 0 deletions X12-0.08/CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
X12::Parser 0.08

A whole lot of changes have gone into this version.
The X12::Parser can now handle files of any size. The earlier versions
of the parser relied on reading the whole X12 file into an array before
parsing. X12::Parser can handle files with multiple ISA segments having
different segment seperators (note it cannot handle different transaction
types within the same file).

1. _parse() method is split into 2 functions _parse_loop_start() and
_parse_loop(). Instead of loading the whole file into an array the file
is read as it is being parsed. _parse_loop_start() and _parse_loop()
could have been handled within the same function but have kept it
seperate for simplicity. _parse_loop_start() detects start of loops.
_parse_loop() return the loop segments.

2. _set_seperator() function is added. This function sets the segment
seperator and element seperator.

3. get_segments() function is removed. Since we no longer maintain the
whole file in an array, it is difficult to gets the segments in a loop
just by giving the line number where the loop starts.

4. reset_pos() function is removed. Not really used and also now that
we parse the file serially there is no need for this function.

5. get_loop_segment() no longer needs $loop as input.

6. Changes to man page section of the module to reflect the above changes.

7. get_next_pos_loop(), and get_next_pos_level_loop() return segment positions
starting with 1. In previous versions 0 would correspond to the first segment.



X12::Parser 0.04

1. Moved _get_level_one and _get_next_level functions from
Parser.pm to Cf.pm (the new functions in Cf.pm are called
get_level_one and get_next_level). This keeps configuration
related functions within the Cf.pm module.

2. Moved $self members/elements to file globals.

3. Changed $c_L to $current_level and $s to $element_seperator

4. Added $segment_seperator. Added get_segment_seperator() and
get_element_seperator() functions. Modified $line_seperator to
$orig_line_seperator


X12::Parser 0.03

1. Fixed problem with parser running out of memory.
Still has issue with very large files.


X12::Parser 0.01 - initital release

22 changes: 22 additions & 0 deletions X12-0.08/MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
lib/X12/Parser/Cf.pm X12::Parser::Cf module
CHANGES changes file
Makefile.PL Makefile
MANIFEST This file
lib/X12/Parser.pm X12::Parser module
README readme file
Readme.pod X12::Parser::Readme man page
cf/270_004010X092.cf cf file
cf/271_004010X092.cf cf file
cf/276_004010X093.cf cf file
cf/277_004010X092.cf cf file
cf/278_004010X094_Req.cf cf file
cf/278_004010X094_Res.cf cf file
cf/820_004010X061.cf cf file
cf/834_004010X095.cf cf file
cf/835_004010X091.cf cf file
cf/837_004010X096.cf cf file
cf/837_004010X097.cf cf file
cf/837_004010X098.cf cf file
cf/997.cf cf file
t/1.t test file
t/sample_835.txt data for test file
34 changes: 34 additions & 0 deletions X12-0.08/Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
use 5.000;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'X12::Parser',
'VERSION_FROM' => 'lib/X12/Parser.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
'PM' => {
'Readme.pod' => '$(INST_MAN3DIR)/Parser/Readme.pod',
'lib/X12/Parser.pm' => '$(INST_LIBDIR)/Parser.pm',
'lib/X12/Parser/Cf.pm' => '$(INST_LIBDIR)/Parser/Cf.pm',
'cf/270_004010X092.cf' => '$(INST_LIBDIR)/Parser/cf/270_004010X092.cf',
'cf/271_004010X092.cf' => '$(INST_LIBDIR)/Parser/cf/271_004010X092.cf',
'cf/276_004010X093.cf' => '$(INST_LIBDIR)/Parser/cf/276_004010X093.cf',
'cf/277_004010X092.cf' => '$(INST_LIBDIR)/Parser/cf/277_004010X092.cf',
'cf/278_004010X094_Req.cf' => '$(INST_LIBDIR)/Parser/cf/278_004010X094_Req.cf',
'cf/278_004010X094_Res.cf' => '$(INST_LIBDIR)/Parser/cf/278_004010X094_Res.cf',
'cf/820_004010X061.cf' => '$(INST_LIBDIR)/Parser/cf/820_004010X061.cf',
'cf/834_004010X095.cf' => '$(INST_LIBDIR)/Parser/cf/834_004010X095.cf',
'cf/835_004010X091.cf' => '$(INST_LIBDIR)/Parser/cf/835_004010X091.cf',
'cf/837_004010X096.cf' => '$(INST_LIBDIR)/Parser/cf/837_004010X096.cf',
'cf/837_004010X097.cf' => '$(INST_LIBDIR)/Parser/cf/837_004010X097.cf',
'cf/837_004010X098.cf' => '$(INST_LIBDIR)/Parser/cf/837_004010X098.cf',
'cf/997.cf' => '$(INST_LIBDIR)/Parser/cf/997.cf',
},
($] ge '5.005') ? (
'AUTHOR' => 'Prasad Poruporuthan ([email protected])',
'ABSTRACT' => 'Perl module for parsing X12 transaction files',
) : (),
);



28 changes: 28 additions & 0 deletions X12-0.08/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
X12 version 0.08
================

X12::Parser - Perl module for parsing X12 data/transaction files

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires these other modules and libraries:

X12::Parser::Cf included is included in this package.

COPYRIGHT AND LICENCE

Copyright (C) 2003 Prasad Poruporuthan.
All rights reserved.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

Loading

0 comments on commit ad90c73

Please sign in to comment.