Skip to content

834 Sample interchange ONLY parsing INS segment into MemberDetail #269

Description

@chowell1337

When using the BenefitEnrollmentAndMaintenance_834 class in X12_834.cs, the Headers' MemberDetails List DOES get a single entry for every single INS segment, but the only data getting parsed into each MemberDetail object is what's in the INS segment:
image

Sample file used (sourced from here):
x12.834.txt

I managed to get it working by changing the [EdiSegment, EdiPath()] attributes on the "multi-segment" classes into [EdiSegmentGroup] attributes. For MemberDetails, I'm doing [EdiSegmentGroup("INS", SequenceEnd = "INS")] since it's meant to include all segments from one INS segment til the next encountered (until the end of the set). Similar need to be done for the other "multi-segment" classes, like Benefit, ProviderInformation, AdditionalReportingCategories, and MemberReportingCategory

Additionally, there is nothing to handle COB or LUI segments.

As a sidenote, this is the only sample interchange that has Hashtable properties, but they don't seem to work. I assume it's to allow referencing the Lists by their first element in a Dictionary-like way; is that true?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions