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: 9.8.7.3 (9.8.7.3)
Syntax
public sealed class SegmentAttribute : EdiAttribute

The SegmentAttribute type exposes the following members.

Constructors
  NameDescription
Public methodSegmentAttribute(String, Char)
Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Char, Char)
Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Type, Type)
Initializes a new instance of the SegmentAttribute class.
Top
Properties
  NameDescription
Public propertyElementDelimiter
The flat file element delimiter.
Public propertyFirst
The EDI data element to match first.
Public propertySecond
The EDI data element to match second.
Public propertySubElementDelimiter
The flat file sub element delimiter.
Top
See Also