EDI Data Segments
A segment is the intermediate unit of information in a transaction set. Segments consist of logically related data elements in a defined sequence. Segments have a unique segment identifier that comprises the first characters of the segment. When segments are combined to form a transaction set, their relationship to the transaction set is defined by a segment condition designator and a segment sequence. Some segments may be repeated, and groups of segments may be repeated as loops.