Processed online by Toolvito
Business Data Format Converter
Open an EDI or HL7 file and read it: every segment on its own line with its name, values numbered by position (NM103, PID-5), and checks of the control numbers and counts. Convert the file to JSON, to a CSV with one row per value, or to readable text. You can also turn the JSON back into an X12, EDIFACT or HL7 file, with the counts worked out again.
How to view or convert an EDI or HL7 file
- Choose Read an EDI or HL7 file, then choose the files or paste the text.
- Choose what to make: JSON, a CSV table of every value, readable text, or the same file with one segment a line.
- Press Read. The segments and the problems found are shown on the page; download the result.
How to make EDI or HL7 from JSON
- Read a file first to get its JSON, then change the values you need in any text editor.
- Choose Make EDI or HL7 from JSON, choose the JSON file (or paste it) and press Make file.
- Keep Work out the counts again ticked, so the trailer counts (SE, GE, IEA, UNT, UNZ) match the new contents.
Which files it reads
- ANSI X12: any transaction set, such as 837 claims, 835 payments, 270/271 eligibility, 850 purchase orders, 810 invoices and 856 ship notices. The delimiters are taken from the ISA segment.
- UN/EDIFACT: ORDERS, INVOIC, DESADV and every other message, with or without the UNA segment; the release character (?) is honoured.
- HL7 version 2: ADT, ORU, ORM, SIU and other messages, also in FHS/BHS batches. Escape sequences such as \F\ and \S\ are turned back into the characters they stand for (you can switch this off).
- HL7 CDA: the document title, date, patient, author and the text of each section.
Good to know
- The checks cover the envelope: control numbers and the counts of segments, messages and groups. The contents are not checked against an implementation guide (such as the HIPAA 5010 guides).
- Names are shown for the envelope and the common segments (and some HL7 fields); other values are shown by their position.
- X12 cannot store a delimiter inside a value, so such a value is refused when the file is written. EDIFACT and HL7 escape it.
- For CSV, JSON and Excel tables, use the Spreadsheet & Data Converter.
Privacy
Toolvito receives the files you submit for conversion. EDI and HL7 files can contain business or health information. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.