We have data stored in a database and we need to create an ANSI 837 file from this data. Are there any open source frameworks available to do this in .NET?
open source .NET libraries available for writing ANSI 837 files in EDI?
19.3k Views Asked by Sridhar Reddy Bommireddy AtThere are 5 best solutions below

Why not use a standard mapper instead of trying to code that beast? There's a lot of minefields there (ISA/GS enveloping, control numbers, HL segments, segment looping) that EDI translators already have built-in dictionaries to use.
While not open source, there is a company out there who provides programming tools that might help your cause: http://www.edidev.com/ (more specifically: http://www.edidev.com/edidev_hipaa_support.htm).

Check out the open source .NET X12parser. It's already got fairly robust support for the X12 healthcare formats (including 837). You'll just supply the 837 data in a XML format and it will create a valid X12 file.

http://chiapas.sourceforge.net
It can be executed from the command line or integrated as a C# component. It has a 76 page PDF manual which goes over many of the features, check it out.

- OopFactory X12 parser is an open source C# implementation of an X12 parser.
- EDI notepad (free version) may also help with this.
not .net, but is open source: http://bots.sourceforge.net