{"id":25694482,"url":"https://github.com/EdiFabric/X12-Examples","last_synced_at":"2025-02-25T00:01:46.451Z","repository":{"id":40912368,"uuid":"108129123","full_name":"EdiFabric/X12.NET","owner":"EdiFabric","description":"EdiFabric C# .NET Examples for X12 4010 and HIPAA 5010","archived":false,"fork":false,"pushed_at":"2024-07-31T13:15:50.000Z","size":2587,"stargazers_count":66,"open_issues_count":2,"forks_count":45,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-06T20:27:39.011Z","etag":null,"topics":["210","214","5010","810","834","835","837","850","856","997","999","edi","edi-acknowledgments","edi-api","edifabric","hipaa","x12"],"latest_commit_sha":null,"homepage":"https://www.edifabric.com","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdiFabric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-24T13:16:02.000Z","updated_at":"2024-08-06T20:27:42.817Z","dependencies_parsed_at":"2022-09-10T12:53:07.414Z","dependency_job_id":"4a917a81-dd84-4b2f-bce7-6ebb91fd5596","html_url":"https://github.com/EdiFabric/X12.NET","commit_stats":null,"previous_names":["edifabric/x12-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FX12.NET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FX12.NET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FX12.NET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FX12.NET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdiFabric","download_url":"https://codeload.github.com/EdiFabric/X12.NET/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576456,"owners_count":19823293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["210","214","5010","810","834","835","837","850","856","997","999","edi","edi-acknowledgments","edi-api","edifabric","hipaa","x12"],"created_at":"2025-02-25T00:01:01.888Z","updated_at":"2025-02-25T00:01:46.416Z","avatar_url":"https://github.com/EdiFabric.png","language":"C#","funding_links":[],"categories":["Systems or Paid Services"],"sub_categories":["Golang"],"readme":"# EdiFabric C# .NET Examples for X12 4010 and HIPAA 5010\n\n## 1. Overview\nEdiFabric is a software development kit for .NET Framework and .NET Core, which makes it straightforward to parse, generate, validate, acknowledge, split, customize, or in other words, to programmatically manipulate EDI files. It is written in C# and is distributed as a DLL file and a NuGet package.    \n\nIt currently supports all message types for the X12, EDIFACT, HL7, and NCPDP EDI standards, the German automotive standard VDA, as well as custom formatted flat files (delimited, positional, or a mixture of both).  \n\n\u003e NOTE: EdiFabric does not provide any communication components (AS2 or SFTP, for example), has no dashboard or UI, and is not a full end-to-end EDI solution.\nThe best option to get the gist of what EdiFabric is, and can do, is to play around with the trial and examples.  \n\nThe examples are organized into different projects in two logical categories: by product feature and by message type.    \n\n```C#\nvar ediStream = File.OpenRead(Directory.GetCurrentDirectory() + @\"\\..\\..\\..\\Files\\Hipaa\\ClaimPayment.txt\");\n\nList\u003cIEdiItem\u003e ediItems;\nusing (var ediReader = new X12Reader(ediStream, \"EdiFabric.Templates.Hipaa\"))\n    ediItems = ediReader.ReadToEnd().ToList();\n\nvar transactions = ediItems.OfType\u003cTS837P\u003e();\n```\n\n## 2. Requirements\n- Visual Studio, compatible with the supported .NET versions. [Download Visual Studio](https://visualstudio.microsoft.com/downloads/).\n- Minimum .NET Framework 4.8 or .NET 6. Downgrading to .NET Framework 4.5 is possible by changing the target framework for each project.\n\n## 3. Serial Key and EdiFabric trial DLLs\nAll projects reference EdiFabric EDI Tools as NuGet packages from nuget.org. If you wish to install EdiFabric EDI Tools as DLLs, download the trial DLLs from [here](https://sowl.co/oApEt).\n\n## 4. Setup\nRebuild the solution with Package Restore enabled. If there are any build errors, manually install the missing packages from [here](https://www.nuget.org/packages?q=edifabric).\n\n## 5. Getting started\nTo get started, set project EdiFabric.Examples.X12.Demo as the startup project, open Program.cs and follow the instructions there. This project allows you to quickly translate your own EDI files.  \n\n## 6. Examples by feature\nExplore the different features of EdiFabric, such as translating from EDI file (ReadEDI), generating EDI file (WriteEDI), validating EDI transactions (ValidateEDI), \nimport/export from/to JSON , XML, CSV, create/save/query database (DB), generate CONTRL acknowledgments (AcknowledgeEDI) and how to map to/from an EDI template using Automapper and XSLT (MapEDI).  \n\n## 7. Examples by message type\nExplore how to translate from and generate several of the most popular X12 and HIPAA transactions. The following examples are included; please let us know if you need a different one:  \n\nX12 4010 210  \nX12 4010 214  \nX12 4010 404  \nX12 4010 810  \nX12 4010 824  \nX12 4010 832  \nX12 4010 850  \nX12 4010 855  \nX12 4010 856  \nX12 4010 857  \nX12 4010 861  \nX12 4010 945  \n\nHIPAA 5010 270  \nHIPAA 5010 271  \nHIPAA 5010 276  \nHIPAA 5010 277  \nHIPAA 5010 278  \nHIPAA 5010 820  \nHIPAA 5010 820 HIX  \nHIPAA 5010 834  \nHIPAA 5010 835  \nHIPAA 5010 837D  \nHIPAA 5010 837I  \nHIPAA 5010 837P  \n\n\u003e **If you need to test with a message type in a different version, [install the templates for that version from EdiNation](https://support.edifabric.com/hc/en-us/articles/360016750838-How-to-start-a-new-VS-project).**\n\n## 8. EDI Validation\nAll templates in EdiFabric.Templates.X12 and EdiFabric.Templates.Hipaa can be used for validation.  \n\n## 9. EDI Templates\nEdiFabric supports all X12/HIPAA versions and message types. We have an extensive library of EDI templates, however, if you can't find a particular transaction, please let us know.   \nThe following templates are available out-of-the-box:  \n\n[X12](https://support.edifabric.com/hc/en-us/articles/360000360572-X12-2040-to-4010)\n\n[HIPAA](https://support.edifabric.com/hc/en-us/articles/360000372751-HIPAA-270-271-276-277-278-820-834-835-837-999)\n\nFor an interactive view of all templates go to EdiNation (no registration is required):\n\n[EdiNation](https://edination.com/edi-formats.html)\n\n## 10. Trial use\nThe trial serial key is valid for 14 days, and using the product with a trial license is subject to EdiFabric's license terms available at https://www.edifabric.com/files/eula.pdf. Upon expiry, the product will begin throwing exceptions. To continue using the trial and the examples, you'll need to request a trial extension. \n\n## 11. Warranty\n*The source code in these example projects is strictly for demonstrational purposes and is provided \"AS IS\" without warranty of any kind, whether expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.*\n\n## 12. Additional information\n\n[Install EdiFabric](https://support.edifabric.com/hc/en-us/articles/360016808578-Install-EdiFabric)\n\n[Trial and Examples](https://support.edifabric.com/hc/en-us/articles/360000280532-Trial-and-Examples)\n\n[EdiFabric DB](https://support.edifabric.com/hc/en-us/articles/360029265372-EDI-to-DB)\n\n[EdiFabric Tutorial](https://support.edifabric.com/hc/en-us/articles/360000291511-Tutorial-EDI-NET-Tools-Basics)\n\n[Knowledge Base](https://support.edifabric.com)\n\n[Support](https://support.edifabric.com/hc/en-us/requests/new)\n\n### 2025 © EdiFabric\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEdiFabric%2FX12-Examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEdiFabric%2FX12-Examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEdiFabric%2FX12-Examples/lists"}