BGN Beginning Segment
To indicate the beginning of a transaction set.
Position
Element
Name
Type
Requirement
Min
Max
Repeat
Code identifying purpose of transaction set.
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
BGN02 is the transaction set reference number.
Date (YYMMDD).
BGN03 is the transaction set date.
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
BGN04 is the transaction set time.
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time.
Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
C0504: If BGN-05 is present, then BGN-04 is required
BGN05 is the transaction set time qualifier.
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
BGN06 is the transaction set reference number of a previously sent transaction affected by the current transaction.
Code specifying the type of transaction.
Code indicating type of action.