which all are the files and folders using to generate 837 professional claims and also is there any parser kind of thing to parse out 835 segment details
and also how an 837 EDI is generated is it based on encounter or patient.
which all files that describe the above functionality of OpenEmr software
I am unsure how to answer your question on the 835, but I know the CMS 1500 form and X12 comply with most, with a few specific issues at individual X12 partners which are readily dealt with.
The …/openemr/library/ folder contains the two "gen" php files for X12 and 1500. The X12 actually matches up the various data, so the 1500 file depends on it.
As with the rest of the program, there are various “structure” files needed to do the printing, etc, but I don’t think those are your question.
Take a look at the X12 and 1500 files. If they don’t answer your questions get back to us. Thanks.
I forgot to mention that each encounter creates a separate CMS 1500 page, but that the X12 puts all claims selected within a single X12 file for EDI. Hope that helps.