Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipique/EDI-X12
Rough process for generating EDI X12 834 and 837 files from a CSV file. Structured in a way that allows easy transition to other data sources.
https://github.com/dipique/EDI-X12
Last synced: about 1 month ago
JSON representation
Rough process for generating EDI X12 834 and 837 files from a CSV file. Structured in a way that allows easy transition to other data sources.
- Host: GitHub
- URL: https://github.com/dipique/EDI-X12
- Owner: dipique
- Created: 2018-03-05T15:37:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-05T15:43:16.000Z (almost 7 years ago)
- Last Synced: 2024-08-02T16:45:03.591Z (4 months ago)
- Language: C#
- Size: 1.16 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Electronic-Interchange-Github-Resources - Edipique/EDI-X12 - Rough process for generating EDI X12 834 and 837 files from a CSV file. Structured in a way that allows easy transition to other data sources. (Examples / Golang)
README
# EDI-X12
Rough process for generating EDI X12 834 and 837 files from a CSV file. It is not a flexible implementation (i.e. it doesn't provide particularly easy paths to READING EDI files, and the actual generation is a little clunky relative to, for example, using an XML template); however, it DOES allow for very easy changes to specific values based on arbitrary code needed for your business case.For testing (or hell, for production, who am I to say) it has the ability to translate CSV data into intermediate CLR objects, then from those objects to X12 files, and those steps are totally separate so you can easily use the code to, for example, pull from a database instead of text files.
The CSV translation uses Reflection and the CSV headers to populate values in any CLR object. It supports multi-level objects, arrays, etc. The line of code used to read from the CLR file is:
List claims = new ImportFile().Import(IMPORT_FILENAME);
However, the code is structured in a way that allows easy transition to other data sources.
Please credit me if you use any of this code.