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
BGN-02
Reference Identification
String (AN)
Mandatory
1
50
-
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
BGN02 is the transaction set reference number.
BGN-03
Date
Date (DT)
Mandatory
8
8
-
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
BGN03 is the transaction set date.
BGN-04
Time
Time (TM)
Conditional
4
8
-
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.
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.
BGN-06
Reference Identification
String (AN)
Optional
1
50
-
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
BGN06 is the transaction set reference number of a previously sent transaction affected by the current transaction.
BGN-07
Transaction Type Code
Identifier (ID)
Optional
2
2
-
Code specifying the type of transaction
BGN-08
Action Code
Identifier (ID)
Optional
1
2
-
Code indicating type of action
BGN-09
Security Level Code
Identifier (ID)
Optional
2
2
-
Code indicating the level of confidentiality assigned by the sender to the information following