EDI Standards workbench
A browser, validator and converter for X12, EDIFACT and HL7 that names the exact element at fault.
Problem
EDI errors arrive as vague rejections. Tracing one back to a segment, element and rule took hours of reading implementation guides by hand.
Constraints
- The dictionaries had to cover old and new releases: X12 from 2000 to 7010, EDIFACT directories and HL7 v2.
- Separators vary by document, so the tool has to read them from the envelope instead of assuming them.
- Nothing may call a vendor product at run time; only the reference data comes from licensed sources, and it stays private.
Approach
Reference data from the standards was extracted once and is served by a small zero-dependency Node app.
A document is read against its implementation guide. Each finding names the segment, element and rule, and 999 and 997 acknowledgements are written from those findings.
The same engine is shared with Switchboard, so what the workbench accepts is what the orchestrator accepts.
Architecture
Document
Separator detection
Guide-driven validation
Findings by element
999 / 997 acknowledgement
Result
- The exact element at fault is named, across 76 X12 versions and 192 implementation guides.
- Documents can be read, decoded and converted between the supported standards in the browser.
Stack
Node.jsX12EDIFACTHL7 v2Implementation guides
Have a system like this to build, move or fix?
