Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephenmccready/X12
Generic ANSI X12 Transaction processing in PHP and SQL
https://github.com/stephenmccready/X12
ansi hipaa x12
Last synced: 3 months ago
JSON representation
Generic ANSI X12 Transaction processing in PHP and SQL
- Host: GitHub
- URL: https://github.com/stephenmccready/X12
- Owner: stephenmccready
- Created: 2013-03-11T02:01:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T10:02:58.000Z (over 1 year ago)
- Last Synced: 2024-07-10T22:27:53.570Z (4 months ago)
- Topics: ansi, hipaa, x12
- Language: PHP
- Homepage:
- Size: 56.6 KB
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Electronic-Interchange-Github-Resources - PHP Implementations of Transactions - PHP examples of writing EDI from scratch. (Examples / Golang)
README
X12
===Generic ANSI X12 Transactions
Intended to be used as a template (as each X12 implementation is dependent on specific business rules)
X12_811_Export.php
ANSI ASC X12.811 (Financial Series [FIN]) Consolidated Service Invoice/Statement (version 004010)X12_835_Export.php
ANSI ASC X12.835 Health Care Claim Payment/Advice transaction set ( version: 005010X221 )X12_999_Import.php
ANSI ASC X12.999 Functional Acknowledgement ( version: 005010X231A1 )SQLCreate_X12_999_ErrorMessageTable:
Creates a SQL table containing X12 999 response messagesImport_X12_999:
Creates a stored procedure that imports, parses and outputs an email containing the X12 999 response file with response messages.
Note: Requires SQLCreate_X12_999_ErrorMessageTable, created by the aboveSQLCreate_TA1_InterChangeNoteCode:
Creates and populates a table, tbl_TA1_InterChangeNoteCode that contains the X12 TA1 Interchange Note Codes and descriptions.Import_X12_TA1:
Creates a stored procedure that imports, parses and outputs an email containing the X12 TA1 acknowledgement file with response messages.
Note: Requires SQLCreate_X12_TA1_InterChangeNoteCode, created by the aboveusp_Import_X12
T-SQL only. Imports an X12 into a table and groups the segments by Hierarchical Level so that related data segments may be grouped together. (this was a bit of a hack I used to do a quick and dirty reconciliation, but it's come in useful for ad hoc tasks involving X12 formatted files)
See also:
X12_Import_CreateTables.sql
X12_Import_Files.sqlX12_270_Export_Template.sql
Template for outputting an X12 270 Eligibility Inquiry using MS SQL