UnbundleByLoop 2300 only unbundling some of the 2300s in a claim

Jul 16, 2012 at 10:26 PM


I am using the X12Parser to parse out a bunch of 5010 837i files.

I am running:

var claims = parser.UnbundleByLoop(interchange, "2300");

and then iterating over the claims cherry picking fields

The problem I have is that in some of these claims, often the ones having to do with child births, they have a 2300 in the 2000B as well as the 2000C loop after unbundling.

Here is an image of the data a unbundled claim Serialized(): http://i46.tinypic.com/2cdcrcj.png that illustrated the issue.