Feb 29, 2012 at 4:48 PM
Edited Feb 29, 2012 at 4:57 PM
Thanks! I'd already dug that up before your response. That looks like it works just fine.
This document: http://x12parser.codeplex.com/wikipage?title=Parsing an 837 Transaction describes using
this code to create formatted HTML:
var htmlService = new X12HtmlTransformationService(new X12EdiParsingService(suppressComments: false));
Stream ediFile = new FileStream("c:\\5010_Example1_HealthInsurance.txt", FileMode.Open, FileAccess.Read);
string html = htmlService.Transform(new StreamReader(ediFile).ReadToEnd());
Use this code where? A new console application? Inserted into the .dll code somewhere? Only for IIS on an MS weberver? Is it already built into the commandline somehow?
BTW: I've locally edited the Ansi-4010Specification.xml to include the 5010 277 claim status codes so that the STC segment error codes have nice comments too. I'm going to do the same for the 999 and 997 AKx segments. I'm not sure that I understand why the
277 spec info was in Ansi-4010Specification.xml. Shouldn't that be in Ansi-5010Specification.xml? I'll play around with moving that to the Ansi-5010Specification.xml and see what happens.