814 General Request, Response or Confirmation

Functional Group ID=GE

Heading:

	Pos.	Seg.		Req.		Loop	
	No.	ID	Name	Des.	Max.Use	Repeat		
Must Use	0100	ST	Transaction Set Header	M	1									
Must Use	0200	BGN	Beginning Segment	M	1									
Must Use	0310	DTM	Date/Time Reference	O	>1									
	0315	LCD	Place/Location Description	O	1									
			LOOP ID - N1			>1								
Must Use	0400	N1	Party Identification	O	1									

Detail:

	Pos.	Seg.		Req.		Loop	
	No.	ID	Name	Des.	Max.Use	Repeat		
			LOOP ID - LIN			>1								
Must Use	0100	LIN	Item Identification	O	1									
Must Use	0400	DTM	Date/Time Reference	O	>1									
Must Use	0730	MTX	Text	O	>1									
			LOOP ID - NM1			>1								
Must Use	0800	NM1	Individual or Organizational Name	O	1									

Summary:

	Pos.	Seg.		Req.		Loop	
	No.	ID	Name	Des.	Max.Use	Repeat		
Must Use	0300	SE	Transaction Set Trailer	M	1									

	Segment:	ST Transaction Set Header
	Position:	0100
	Loop:
	Level:	Heading
	Usage:	Mandatory
	Max Use:	1

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	ST01	143	Transaction Set Identifier Code	M	1 	ID 3/3	
 	814		General Request, Response or Confirmation	
Must Use	ST02	329	Transaction Set Control Number	M	1 	AN 4/9	

	Segment:	BGN Beginning Segment
	Position:	0200
	Loop:
	Level:	Heading
	Usage:	Mandatory
	Max Use:	1

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	BGN01	353	Transaction Set Purpose Code	M	1 	ID 2/2	
 	00		Original	
Must Use	BGN02	127	Reference Identification	M	1 	AN 1/50	
	The number assigned by the preparer of the measurement events and alarms document.	
Must Use	BGN03	373	Date	M	1 	DT 8/8	
	The measurement events and alarms issue date.	
Must Use	BGN07	640	Transaction Type Code	O	1 	ID 2/2	
 	M5		Measurement Events and Alarms	

	Segment:	DTM Date/Time Reference
	Position:	0310
	Loop:
	Level:	Heading
	Usage:	Optional (Must Use)
	Max Use:	>1
Notes:		For NAESB WGQ, this segment should occur once for each value in the DTM01.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	DTM01	374	Date/Time Qualifier	M	1 	ID 3/3	
	Refer to "DTM Segments (Heading)" table for usage and values.	
Must Use	DTM05	1250	Date Time Period Format Qualifier	X	1 	ID 2/3	
	Refer to "DTM Segments (Heading)" table for usage and values.	
Must Use	DTM06	1251	Date Time Period	X	1 	AN 1/35	
	Statement Date/Time, Report Beginning Date, Report Ending Date

Refer to "DTM Segments (Heading)" table for usage and values.	

	Segment:	LCD Place/Location Description
	Position:	0315
	Loop:
	Level:	Heading
	Usage:	Optional
	Max Use:	1
Notes:		For NAESB, this segment is mutually agreed.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	LCD02	98	Entity Identifier Code	O	1 	ID 2/3	
 	LCN		Gas Nomination Location	
Must Use	LCD05	66	Identification Code Qualifier	X	1 	ID 1/2	
 	DR		Gas Industry Standards Board (GISB) Data Reference Number (DRN)	
	For NAESB WGQ, this code value may only be used when sending the Location Code.	
 	SV		Service Provider Number	
	For NAESB WGQ, this code value may only be used when sending the Location Proprietary Code.	
Must Use	LCD06	67	Identification Code	X	1 	AN 2/17	
	Location Code/Location Proprietary Code

The data element maximum length indicated is reduced from that which is specified in the ASC X12 standards.	

	Segment:	N1 Party Identification
	Position:	0400
	Loop:	N1        Optional (Must Use)
	Level:	Heading
	Usage:	Optional (Must Use)
	Max Use:	1
Notes:		For NAESB WGQ, this segment should occur once for each value in the N101.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	N101	98	Entity Identifier Code	M	1 	ID 2/3	
 	40		Receiver	
	Statement Recipient ID	
 	41		Submitter	
	Preparer ID	
Must Use	N103	66	Identification Code Qualifier	X	1 	ID 1/2	
 	1		D-U-N-S Number, Dun & Bradstreet	
	For NAESB WGQ, this code value may only be used when sending the Statement Recipient ID or Preparer ID.	
 	SV		Service Provider Number	
	For NAESB WGQ, this code value may only be used when sending the Statement Recipient ID Proprietary Code or Preparer ID Proprietary Code.	
Must Use	N104	67	Identification Code	X	1 	AN 2/17	
	Statement Recipient ID/Statement Recipient ID Proprietary Code, Preparer ID/Preparer ID Proprietary Code

The data element maximum length indicated is reduced from that which is specified in the ASC X12 standards.	

	Segment:	LIN Item Identification
	Position:	0100
	Loop:	LIN        Optional (Must Use)
	Level:	Detail
	Usage:	Optional (Must Use)
	Max Use:	1
Notes:		For NAESB WGQ, this segment is mandatory.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	LIN02	235	Product/Service ID Qualifier	M	1 	ID 2/2	
 	A9		Activity	
Must Use	LIN03	234	Product/Service ID	M	1 	AN 1/48	
	Activity Type	
 	A		Alarm	
 	E		Event	

	Segment:	DTM Date/Time Reference
	Position:	0400
	Loop:	LIN        Optional (Must Use)
	Level:	Detail
	Usage:	Optional (Must Use)
	Max Use:	>1
Notes:		For NAESB WGQ, this segment is mandatory.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	DTM01	374	Date/Time Qualifier	M	1 	ID 3/3	
 	945		Activity	
Must Use	DTM05	1250	Date Time Period Format Qualifier	X	1 	ID 2/3	
 	DT		Date and Time Expressed in Format CCYYMMDDHHMM	
 	RTS		Date and Time Expressed in Format CCYYMMDDHHMMSS	
Must Use	DTM06	1251	Date Time Period	X	1 	AN 1/35	
	Activity Date/Time	

	Segment:	MTX Text
	Position:	0730
	Loop:	LIN        Optional (Must Use)
	Level:	Detail
	Usage:	Optional (Must Use)
	Max Use:	>1
Notes:		For NAESB WGQ, this segment is mandatory.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	MTX02	1551	Textual Data	X	1 	AN 1/4096	
	Message Text	

	Segment:	NM1 Individual or Organizational Name
	Position:	0800
	Loop:	NM1        Optional (Must Use)
	Level:	Detail
	Usage:	Optional (Must Use)
	Max Use:	1
Notes:		For NAESB WGQ, this segment is mandatory.  Either the Device Station Number or the Meter ID must be sent.	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	NM101	98	Entity Identifier Code	M	1 	ID 2/3	
	Refer to "NM1 Segments (Detail)" table for usage and values.	
Must Use	NM102	1065	Entity Type Qualifier	M	1 	ID 1/1	
 	3		Unknown	
Must Use	NM108	66	Identification Code Qualifier	X	1 	ID 1/2	
	Refer to "NM1 Segments (Detail)" table for usage and values.	
Must Use	NM109	67	Identification Code	X	1 	AN 2/80	
	Device Station Number, Meter ID

Refer to "NM1 Segments (Detail)" table for usage and values.	

	Segment:	SE Transaction Set Trailer
	Position:	0300
	Loop:
	Level:	Summary
	Usage:	Mandatory
	Max Use:	1

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	    Attributes    
Must Use	SE01	96	Number of Included Segments	M	1 	N0 1/10	
Must Use	SE02	329	Transaction Set Control Number	M	1 	AN 4/9