Click or drag to resize

SegmentAttribute Class

EDI DOM attribute to mark an EDI segment. EDI segments are identified by their tag (or EDI segment ID) and then the values of the first two EDI data elements, if any of them is defined with EDI data element codes. The EDI parser will search for matches based on the EDI segment tag first and then will match the values of the first EDI data element if it's not null. If there was a match for the first EDI data element then the EDI parser will try and match the second EDI data element. This is useful where multiple same-tag EDI segments can appear in a non-sequence EDI group based on the context of the EDI transaction. Example would be HIPPA NM1 receiver name or NM1 submitter name.
Inheritance Hierarchy

Namespace:  EdiFabric.Core.Annotations.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: (
public sealed class SegmentAttribute : EdiAttribute

The SegmentAttribute type exposes the following members.

Public methodSegmentAttribute
Initializes a new instance of the SegmentAttribute class.
Public propertyFirst
The EDI data element to match first.
Public propertySecond
The EDI data element to match second.
See Also