Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make a 835 Claim Payment responce to a 837?
    primarykey
    data
    text
    <p>I was asked how you would parser a x12 837 (medical claims). It was the first time I have see a file format like it. A little time on Google and I learned that the file contains 3 types of delimiters at 103,104,105 and that the first element in the file is fixed length.</p> <p>Next I learned the elements I parsed out, are ordered in a XML like way, but with no closing tags. This site <a href="http://pyx12.sourceforge.net/doc/maps/" rel="nofollow noreferrer">http://pyx12.sourceforge.net/doc/maps/</a> has a explanation of the order of the elements. I also found a PDF file that go into 750 pages of details about the format of the file.</p> <p>At this point I realize that it's not a simple task to put this information into a database. I eventually get the idea to covert the x12 file into XML, and use xpath as a query tool to get the information out of the file. That works great I can get all the claims, line items, and the people attached to the claim.</p> <p>My company wrote it's own medical claims system. Now, I'm trying to understand how to make a 835 Claim Payment response to a 837, with our system in the middle.</p> <p>I'm a noob here so be kind. :)</p> <p>Update</p> <p>My code can now parse/validate x12 files based on a grammar from a few XML files. Take an existing x12 file covert it into XML then back to x12. I also wrote a few classes to make an x12 in XML form. It uses xPath to find elements, and if not found create the missing elements. I got the idea from here. <a href="https://stackoverflow.com/questions/508390/create-xml-nodes-based-on-xpath">Create XML Nodes based on XPath?</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload