BGN Beginning Segment
BGN Beginning Segment
To indicate the beginning of a transaction set.
Position
Element
Name
Type
Requirement
Min
Max
Repeat
BGN-01
Transaction Set Purpose Code
Identifier (ID)
Mandatory
2
2
-
Code identifying purpose of transaction set.
If BGN05 is used, BGN04 is required.
BGN-02
Reference Number
String (AN)
Mandatory
1
30
-
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.
BGN-03
Date
Date (DT)
Mandatory
6
6
-
Date (YYMMDD).
BGN03 is the Transaction Set Date.
BGN-04
Time
Time (TM)
Conditional
4
4
-
Time expressed in 24-hour clock time (HHMM, time range: 0000 though 2359).
BGN04 is the Transaction Set Time.
BGN-05
Time Code
Identifier (ID)
Optional
2
2
-
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.
BGN05 is the transaction set time qualifier.