X12 HIPAA
/
Application Advice (X186A1)
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from X12 HIPAA. Contact X12 HIPAA for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
X12 HIPAA logo

X12 824 Application Advice (X186A1)

X12 Release 5010

ancial institution.

Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • Example 1: Positive Acknowledgment
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/hipaa/application-advice-x186a1/01HQ4HZ8F5DV8V1DJXP6ZYWHS7
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
0100
Transaction Set Header
Max use 1
Required
BGN
0200
Beginning Segment
Max use 1
Required
Submitter Name Loop
detail
Original Transaction Identification Loop
OTI
0100
Original Transaction Identification
Max use 1
Required
REF
0200
Reference Information
Max use 1
Optional
DTM
0300
Date/Time Reference
Max use 2
Optional
AMT
0500
Monetary Amount Information
Max use 3
Optional
QTY
0600
Quantity Information
Max use 3
Optional
NM1
0650
Individual or Organizational Name
Max use 6
Optional
Error or Informational Message Location Loop
SE
0900
Transaction Set Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

Code specifying the version number of the interchange control segments

00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code indicating sender's request for an interchange acknowledgment

0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code indicating whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

AG
Application Advice (824)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission; codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

005010X186A1

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
824
Application Advice
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Usage notes
  • The Transaction Set Control Numbers in ST02 and SE02 must be identical. The number is assigned by the originator and must be unique within a functional group (GS-GE). The number also aids in error resolution research. For example, start with the number 0001 and increment from there.
ST-03
1705
Implementation Convention Reference Identifier
Required
String (AN)

Reference assigned to identify Implementation Convention

  • The implementation convention reference (ST03) is used by the translation routines of the interchange partners to select the appropriate implementation convention to match the transaction set definition. When used, this implementation convention reference takes precedence over the implementation reference specified in the GS08.
Usage notes
  • This field contains the same value as data element GS08. This value is always 005010X186. Some translator products strip off the ISA and GS segments prior to application (ST - SE) processing. Providing the information from GS08 at this level will help ensure the appropriate application mapping is utilized at translation time.
005010X186A1
BGN
0200
Heading > BGN

Beginning Segment

RequiredMax use 1

To indicate the beginning of a transaction set

Example
BGN-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

11
Response
BGN-02
127
Transaction Set Identifier Code
Required
String (AN)
Min 1Max 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.
Usage notes
  • Use a value assigned by the submitter of the 824 transaction set to uniquely identify this 824 transaction set, such as an internal tracking number, file name, etc.
BGN-03
373
Transaction Set Creation Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

  • BGN03 is the transaction set date.
BGN-04
337
Transaction Set Creation Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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-06
127
Referenced Interchange Control Number
Optional
String (AN)
Min 1Max 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.
Usage notes
  • When used, this is the value in BGN02, BHT03, BIG02, or ST02 (depending on the value used in OTI10, as indicated in the situational note above) from the interchange containing the transaction set to which this 824 transaction set is responding.
BGN-08
306
Action Code
Required
Identifier (ID)

Code indicating type of action

RU
Return

Required when a portion of the transaction set is being accepted.

U
Reject

Required when an entire transaction set is being rejected.

WQ
Accept

Required when an entire transaction set is being accepted.

1000A Submitter Name Loop
RequiredMax 1
Variants (all may be used)
Receiver Name Loop
N1
0300
Heading > Submitter Name Loop > N1

Submitter Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes
  • This segment identifies the information about the Submitter of the 824 transaction set.
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

41
Submitter
N1-02
93
Submitter Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
24
Employer's Identification Number
46
Electronic Transmitter Identification Number (ETIN)
75
State or Province Assigned Number
EQ
Insurance Company Assigned Identification Number
FI
Federal Taxpayer's Identification Number
PI
Payor Identification
XV
Centers for Medicare and Medicaid Services PlanID
XX
Centers for Medicare and Medicaid Services National Provider Identifier
N1-04
67
Submitter Identifier
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
REF
0700
Heading > Submitter Name Loop > REF

Submitter Secondary Indentifier

OptionalMax use 1

To specify identifying information

Usage notes
  • Required when the entity identified in Loop 1000A (Submitter Name) is submitting this 824 on behalf of a sub-component, such as a branch or department within the submitter organization. If not required by this implementation guide, do not send.
  • This REF segment identifies the sub-component within the submitter organization, as appropriate.
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

3L
Branch Identifier
REF-02
127
Submitter Branch Identifier Code
Required
String (AN)
Min 1Max 50

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

PER
0800
Heading > Submitter Name Loop > PER

Submitter EDI Contact Information

OptionalMax use 2

To identify a person or office to whom administrative communications should be directed

Usage notes
  • When the communication number represents a telephone number in the United States and other countries using the North American Dialing Plan (for voice, data, fax, etc.), the communication number must always include the area code and phone number using the format AAABBBCCCC where AAA is the area code, BBB is the telephone number prefix, and CCCC is the telephone number (e.g., (534) 224-2525 would be represented as 5342242525). The extension, if known, must be included in the communication number data element immediately after the telephone number.
  • The PER segment must be filled from left to right. PER04 must be present before PER06. The PER06 must be present before using PER08.
  • Only one of each type of communication number may be sent. In order to send all four types, repeat the PER segment for the fourth communication number. The PER02 must not be used in the second PER.
  • The second repetition of the PER must not occur unless the first is full, if the information applies to the same contact.
  • Required when contact information is other than indicated in the Trading Partner Agreement/profile. If not required by this implementation guide, do not send.
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

IC
Information Contact
PER-02
93
Submitter Contact Name
Optional
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
EX
Telephone Extension

Extension cannot be reported unless TE and telephone number exist in PER03/PER04. (See PER example)

FX
Facsimile
TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
EX
Telephone Extension

Extension cannot be reported unless TE and telephone number exist in PER05/PER06. (See PER example)

FX
Facsimile
TE
Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

1000A Submitter Name Loop end
1000B Receiver Name Loop
RequiredMax 1
Variants (all may be used)
Submitter Name Loop
N1
0300
Heading > Receiver Name Loop > N1

Receiver Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes
  • This segment identifies the information about the Receiver of the 824 transaction set.
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

40
Receiver
N1-02
93
Receiver Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
24
Employer's Identification Number
46
Electronic Transmitter Identification Number (ETIN)
75
State or Province Assigned Number
EQ
Insurance Company Assigned Identification Number
FI
Federal Taxpayer's Identification Number
PI
Payor Identification
XV
Centers for Medicare and Medicaid Services PlanID
XX
Centers for Medicare and Medicaid Services National Provider Identifier
N1-04
67
Receiver Identifier
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
1000B Receiver Name Loop end
Heading end

Detail

2000 Original Transaction Identification Loop
RequiredMax >1
OTI
0100
Detail > Original Transaction Identification Loop > OTI

Original Transaction Identification

RequiredMax use 1

To identify the edited transaction set and the level at which the results of the edit are reported, and to indicate the accepted, rejected, or accepted-with-change edit result

Usage notes
  • An 824 transaction set may be used to report acceptance or rejection of an entire transaction set, an item within a transaction set, or a subordinate portion of a transaction set that contains one or more items. The OTI segment is used as the primary means to identify the portion (or all) of the received transaction set which is being reported upon.

For example, if an entire transaction set (i.e. ST/SE) is being rejected, then the OTI segment would likely indicate the ST control number to identify which ST/SE transaction set of the received file is being rejected. If part of the transaction set is being rejected (e.g. a single claim status request in a 276 transaction set), then the OTI segment could indicate the Submitter Trace number in the TRN segment of the rejected portion.

  • When reporting with this 824 transaction set, the terms acceptance' and rejection' refer to edits at the application level.
Example
If Transaction Set Control Number (OTI-09) is present, then Functional Group Control Number (OTI-08) is required
OTI-01
110
Application Acknowledgment Code
Required
Identifier (ID)

Code indicating the application system edit results of the business data

Usage notes
  • The codes for the "Application Acknowledgement Code" contain two characters. The first character indicates the edit level, and the second character indicates the results of the edit. Any combination of the first and second characters is valid. The following values are valid for each set of characters:
  • First character

T=Transaction Set.

B=Batch - A subordinate portion of a transaction set that contains one or more items. For example, an entire Subscriber Level (2000C) Loop in a 270 transaction set.

I=Item - A self-contained body of data that will trigger or support a business process. For example, a single claim in an 837 transaction set.

  • Note: see section 1.5 for additional information.
  • Second character

A=Accept: Use this code when no errors or informational messages are present and all data is accepted for further processing.

C=Accept with Data Content Change: Use this code when errors or informational messages are present and the data is changed to accept for further processing.

E=Accept with Errors: Use this code when all data is accepted for further processing even though errors or informational messages are present.

P=Partial Accept/Reject: Use this code when a portion of the data is accepted and a portion of the data is rejected due to errors. Informational messages may also be present. Some data has been accepted for further processing. Rejected data must be corrected by the submitter and resubmitted.

R=Reject: Use this code when all data is rejected due to errors. Informational messages may also be present. No data is accepted for further processing. Submitter must correct and resubmit the (batch, transaction set, or item) that was in error.

Note: Errors and informational messages are reported in the TED loop.

BA
Batch Accept
BC
Batch Accept with Data Content Change
BE
Batch Accept with Error
BP
Batch Partial Accept/Reject
BR
Batch Reject
IA
Item Accept
IC
Item Accept with Data Content Change
IE
Item Accept with Error
IP
Item Partial Accept/Reject
IR
Item Reject
TA
Transaction Set Accept
TC
Transaction Set Accept with Data Content Change
TE
Transaction Set Accept with Error
TP
Transaction Set Partial Accept/Reject
TR
Transaction Set Reject
OTI-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

  • OTI02 contains the qualifier identifying the business transaction from the original business application, and OTI03 will contain the original business application identification.
BT
Batch Number

Required when OTI01 contains BA, BC, BE, BP, or BR.

IX
Item Number

Required when OTI01 contains IA, IC, IE, IP, or IR.

TN
Transaction Reference Number

Required when OTI01 contains TA, TC, TE, TP, or TR.

OTI-03
127
Edit Level Reference Identifier
Required
String (AN)
Min 1Max 50

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

  • OTI03 is the primary reference identification or number used to uniquely identify the original transaction set.
Usage notes
  • This element is designed to contain a value to uniquely identify the transaction, batch, or item, as noted in the OTI02. However, it is not always possible to use a single value for this purpose, depending on the edit level (i.e. the value in OTI02), the transaction set to which this 824 is responding, and whether the creator of the 824 has access to the X12 format of the original data. When OTI02 = TN, and the creator of the 824 knows the ST02 value within the original transaction set to which this 824 is responding, the OTI09 value will contain the transaction set control number, which uniquely identifies the transaction set. In all other cases, the subsequent REF, DTM, AMT, QTY, and/or NM1 segments are used to uniquely identify the transaction, batch, or item described in this OTI loop. In each of these cases, the OTI03 value serves no useful purpose. However, since this element is required by the X12 standard, the value `NA' will always be used.
OTI-06
373
Functional Group Creation Date
Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

  • OTI06 is the group date.
Usage notes
  • When used, this is the value in GS04 from the functional group containing the transaction set to which this 824 transaction set is responding.
OTI-07
337
Functional Group Creation Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

  • OTI07 is the group time.
Usage notes
  • When used, this is the value in GS05 from the functional group containing the transaction set to which this 824 transaction set is responding.
OTI-08
28
Functional Group Control Number
Optional
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Usage notes
  • When used, this is the value in GS06 from the functional group containing the transaction set to which this 824 transaction set is responding.
OTI-09
329
Transaction Set Control Number
Optional
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

  • If used, OTI09 through OTI10 will contain values from the original electronic transaction set generated by the sender.
Usage notes
  • When used, this is the value in ST02 from the transaction set to which this 824 transaction set is responding.
OTI-10
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

112
Property Damage Report
124
Vehicle Damage
148
Report of Injury, Illness or Incident
187
Premium Audit Request and Return
266
Mortgage or Property Record Change Notification
269
Health Care Benefit Coordination Verification
270
Eligibility, Coverage or Benefit Inquiry
271
Eligibility, Coverage or Benefit Information
272
Property and Casualty Loss Notification
274
Healthcare Provider Information
275
Patient Information
276
Health Care Claim Status Request
277
Health Care Information Status Notification
278
Health Care Services Review Information
811
Consolidated Service Invoice/Statement
820
Payment Order/Remittance Advice
834
Benefit Enrollment and Maintenance
835
Health Care Claim Payment/Advice
837
Health Care Claim

Includes Property and Casualty Medical Bill Report to Regulatory Agencies.

841
Specifications/Technical Information
OTI-11
480
Version, Release, or Industry Identifier
Optional
String (AN)
Min 1Max 12

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

  • If OTI11 is present, it will contain the version/release under which the original electronic transaction was translated by the receiver.
Usage notes
  • When used, this is the value in GS08 from the functional group containing the transaction set to which this 824 transaction set is responding.
REF
0200
Detail > Original Transaction Identification Loop > REF

Reference Information

OptionalMax use 1

To specify identifying information

Usage notes
  • Required when additional information is necessary to identify the portion (or all) of the transaction set that is being reported in this Loop 2000 (OTI). If not required by this implementation guide, may be provided at the sender's discretion but cannot be required by the receiver.
  • For example, if the Loop 2000 (OTI) is being used to define a provider loop, the REF segment could be used to identify the actual provider number, indicating the specific provider loop within the transaction set.
  • The sender should consider `minimum necessary' privacy requirements in deciding to use this discretionary segment.
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

0B
State License Number
0F
Subscriber Number
0M
Mortgage Identification Number
1A
Blue Cross Provider Number
1B
Blue Shield Provider Number
1C
Medicare Provider Number
1D
Medicaid Provider Number
1E
Dentist License Number
1F
Anesthesia License Number
1G
Provider UPIN Number
1H
CHAMPUS Identification Number
1J
Facility ID Number
1K
Payor's Claim Number
1L
Group or Policy Number
1S
Ambulatory Patient Group (APG) Number
1W
Member Identification Number
2F
Consolidated Invoice Number
2I
Tracking Number
2U
Payer Identification Number
3H
Case Number
3J
Office Number
4A
Personal Identification Number (PIN)
4N
Special Payment Reference Number
5G
Complaint
5H
Incident
06
System Number
6N
Claimant Number
6P
Group Number
6R
Provider Control Number
7I
Subscriber Authorization Number
7K
List of Materials
8U
Bank Assigned Security Identifier
8X
Transaction Category or Type
9A
Repriced Claim Reference Number
9B
Repriced Line Item Reference Number
9C
Adjusted Repriced Claim Reference Number
9D
Adjusted Repriced Line Item Reference Number
9K
Servicer
9N
Investor
9R
Job Order Number
11
Account Number
14
Master Account Number
17
Client Reporting Category
18
Plan Number
23
Client Number
28
Employee Identification Number
33
Lender Case Number
38
Master Policy Number
49
Family Unit Number
60
Account Suffix Code
72
Schedule Reference Number
87
Functional Category
89
Assembly Number
94
File Identification Number
A9
Health Insurance Account Number
AAL
Agent Number
AB
Acceptable Source Purchaser ID
ADB
Master Property Number
AZ
Health Insurance Policy Number
B3
Preferred Provider Organization Number
B7
Life Insurance Policy Number
BA
Retirement Plan Policy Number
BB
Authorization Number
BLT
Billing Type
BQ
Health Maintenance Organization Code Number
BR
Broker or Sales Office Number
BT
Batch Number
CE
Class of Contract Code
CK
Check Number
CRN
Casualty Report Number
CT
Contract Number
D3
National Council for Prescription Drug Programs Pharmacy Number
D8
Loss Report Number
D9
Claim Number
DD
Document Identification Code
DX
Department/Agency Number
E5
Claimant's Claim Number
E9
Attachment Code
EA
Medical Record Identification Number
EI
Employer's Identification Number
EJ
Patient Account Number
EL
Electronic device pin number
EM
Electronic Payment Reference Number
EO
Submitter Identification Number
EV
Receiver Identification Number
EW
Mammography Certification Number
F2
Version Code - Local
F4
Facility Certification Number
F5
Medicare Version Code
F6
Health Insurance Claim (HIC) Number
F8
Original Reference Number
FH
Clinic Number
FI
File Identifier
FJ
Line Item Control Number
FY
Claim Office Number
G1
Prior Authorization Number
G2
Provider Commercial Number
G3
Predetermination of Benefits Identification Number
G4
Peer Review Organization (PRO) Approval Number
G5
Provider Site Number
HI
Health Industry Number (HIN)
HJ
Identity Card Number
HPI
Centers for Medicare and Medicaid Services National Provider Identifier
IF
Issue Number
IG
Insurance Policy Number
IJ
Standard Industry Classification (SIC) Code
IP
Inspection Report Number
IX
Item Number
JD
User Identification
KW
Certification
LC
Lease Number
LD
Loan Number
LU
Location Number
LX
Qualified Products List
LZ
Lender Account Number
ME
Message Address or ID
N5
Provider Plan Network Identification Number
N6
Plan Network Identification Number
N7
Facility Network Identification Number
NF
National Association of Insurance Commissioners (NAIC) Code
NQ
Medicaid Recipient Identification Number
OZ
Product Number
P4
Project Code
PG
Product Group
PM
Part Number
POL
Policy Number
PQ
Payee Identification
Q4
Prior Identifier Number
Q5
Property Control Number
QQ
Unit Number
RB
Rate code number
S3
Specification Number
ST
Store Number
SY
Social Security Number
T4
Signal Code
T7
Affected Subsystem Code
TJ
Federal Taxpayer's Identification Number
TN
Transaction Reference Number
TT
Terminal Code
TX
Tax Exempt Number
U3
Unique Supplier Identification Number (USIN)
UA
Mortgage Number
VD
Volume Number
VE
Vendor Abbreviation Code
VP
Vendor Product Number
VR
Vendor ID Number
VT
Motor Vehicle ID Number
WU
Vessel
X1
Provider Claim Number
X4
Clinical Laboratory Improvement Amendment Number
X5
State Industrial Accident Provider Number
Y4
Agency Claim Number
Z8
Federal Housing Administration Case Number
Z9
Veterans Affairs Case Number
ZH
Carrier Assigned Reference Number
ZS
Software Application Number
ZZ
Mutually Defined
REF-02
127
Additional Reference Identification Number
Required
String (AN)
Min 1Max 50

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

DTM
0300
Detail > Original Transaction Identification Loop > DTM

Date/Time Reference

OptionalMax use 2

To specify pertinent dates and times

Usage notes
  • Required when date information is necessary to identify the portion (or all) of the transaction set that is being reported in this Loop 2000 (OTI). If not required by this implementation guide, may be provided at the sender's discretion but cannot be required by the receiver.
  • For example, if the Loop 2000 (OTI) is being used to define a particular insurance policy, the DTM segment could be used to identify the policy effective date, helping indicate the specific policy within the transaction set.
Example
DTM-01
374
Date Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

003
Invoice
007
Effective
009
Process
011
Shipped
017
Estimated Delivery
035
Delivered
036
Expiration
050
Received
089
Inquiry
090
Report Start
091
Report End
096
Discharge
097
Transaction Creation
102
Issue
119
Test Performed
142
Loss
150
Service Period Start
151
Service Period End
186
Invoice Period Start
187
Invoice Period End
193
Period Start
194
Period End
198
Completion
227
Lease Term Start
228
Lease Term End
232
Claim Statement Period Start
233
Claim Statement Period End
242
Actual Start
245
Estimated Completion
285
Employment or Hire
286
Retirement
296
Initial Disability Period Return To Work
297
Initial Disability Period Last Day Worked
300
Enrollment Signature Date
301
Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying Event
303
Maintenance Effective
304
Latest Visit or Consultation
307
Eligibility
310
Date of Closing
313
Cycle
330
Referral Date
336
Employment Begin
337
Employment End
338
Medicare Begin
339
Medicare End
340
Consolidated Omnibus Budget Reconciliation Act (COBRA) Begin
341
Consolidated Omnibus Budget Reconciliation Act (COBRA) End
344
Coordination of Benefits Begin
345
Coordination of Benefits End
348
Benefit Begin
349
Benefit End
350
Education Begin
351
Education End
356
Eligibility Begin
357
Eligibility End
360
Initial Disability Period Start
361
Initial Disability Period End
370
Actual Departure Date
372
Actual Arrival Date
383
Adjusted Hire
388
Payment Commencement
393
Plan Participation Suspension
394
Rehire
405
Production
431
Onset of Current Symptoms or Illness
434
Statement
435
Admission
438
Onset of Similar Symptoms or Illness
439
Accident
441
Prior Placement
446
Replacement
452
Appliance Placement
453
Acute Manifestation of a Chronic Condition
454
Initial Treatment
455
Last X-Ray
456
Surgery
461
Last Certification
463
Begin Therapy
471
Prescription
472
Service
473
Medicaid Begin
474
Medicaid End
480
Arterial Blood Gas Test
481
Oxygen Saturation Test
484
Last Menstrual Period
485
Injury Begin
486
Injury End
517
Inspected
523
Date of Claim
539
Policy Effective
540
Policy Expiration
543
Last Premium Paid Date
547
Date of Loan
573
Date Claim Paid
582
Report Period
607
Certification Revision
666
Date Paid
738
Most Recent Hemoglobin or Hematocrit or Both
739
Most Recent Serum Creatine
809
Posted
866
Examination
881
Request
938
Order
999
Document Date
ABC
Estimated Date of Birth
INC
Incident
ZZZ
Mutually Defined
DTM-02
373
Additional Reference Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

AMT
0500
Detail > Original Transaction Identification Loop > AMT

Monetary Amount Information

OptionalMax use 3

To indicate the total monetary amount

Usage notes
  • Required when monetary information is necessary to identify the portion (or all) of the transaction set that is being reported in this Loop 2000 (OTI). If not required by this implementation guide, may be provided at the sender's discretion but cannot be required by the receiver.
  • For example, if the Loop 2000 (OTI) is being used to define a premium payment, the AMT segment could be used to identify the premium amount, helping to indicate the specific premium payment within the transaction set.
Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)

Code to qualify amount

1
Line Item Total
2
Batch Total
3V
Mortgage
3Y
Non-operational Fixed Assets
4Y
Damages
5
Total Invoice Amount
8V
Services
8Y
Share Premium Capital
A8
Noncovered Charges - Actual
AA
Allocated
AAE
Approved Amount
AU
Coverage Amount
B1
Benefit Amount
B6
Allowed - Actual
B7
Deductible - Estimated
B9
Co-insurance - Actual
BM
Adjustments
BR
Adjusted Insured Loss Amount
C1
Co-Payment Amount
C5
Claim Amount Due - Estimated
CE
Summary Amount
CI
Funds Held for Insured
D
Payor Amount Paid
D2
Deductible Amount
D8
Discount Amount
DX
Deductible Waived
DY
Per Day Limit
F2
Patient Responsibility - Actual
F3
Patient Responsibility - Estimated
F4
Postage Claimed
F5
Patient Amount Paid
F7
Sales Tax
GT
Goods and Services Tax
GW
Total Charge
I
Interest
KF
Net Paid Amount
KH
Deduction Amount
M8
Markup Amount
MA
Maximum Amount
N1
Net Worth
N8
Miscellaneous Taxes
NE
Net Billed
NL
Negative Ledger Balance
P3
Premium Amount
PG
Payoff
PN
Prior Gross Invoice Total
R
Spend Down
RP
Repair
SM
Supplemental
T
Tax
T2
Total Claim Before Taxes
T3
Total Submitted Charges
TP
Total payment amount
TT
Total Transaction Amount
YT
Denied
YU
In Process

Use this code for "Amount (of batches or items as defined in OTI) Accepted".

YY
Returned

Use this code for "Amount (of batches or items as defined in OTI) Rejected".

ZK
Federal Medicare or Medicaid Payment Mandate - Category 1
ZL
Federal Medicare or Medicaid Payment Mandate - Category 2
ZM
Federal Medicare or Medicaid Payment Mandate - Category 3
ZN
Federal Medicare or Medicaid Payment Mandate - Category 4
ZO
Federal Medicare or Medicaid Payment Mandate - Category 5
ZZ
Mutually Defined
AMT-02
782
Additional Reference Amount
Required
Decimal number (R)
Min 1Max 15

Monetary amount

QTY
0600
Detail > Original Transaction Identification Loop > QTY

Quantity Information

OptionalMax use 3

To specify quantity information

Usage notes
  • Required when quantity information is necessary to identify the portion (or all) of the transaction set that is being reported in this Loop 2000 (OTI). If not required by this implementation guide, may be provided at the sender's discretion but cannot be required by the receiver.
  • For example, if the LOOP 2000 (OTI) is being used to define a particular 2000 Loop in an 835 remittance advice, the QTY segment could be used to identify the total number of segments in that particular loop. This, along with corresponding REF and NM1 segments (to identify the particular provider in that loop) would help to indicate the specific 2000 Loop in that transaction set.
Example
QTY-01
673
Quantity Qualifier
Required
Identifier (ID)

Code specifying the type of quantity

01
Discrete Quantity
1N
Scrap allowed
02
Cumulative Quantity
2W
Segments
2Y
Functional Groups
2Z
Transaction Sets
3S
Total Debits
3T
Total Credits
41
Number of Batches
42
Number of Checks
46
Total transactions
90
Acknowledged Quantity

Use this code for "Quantity (of batches or items as defined in OTI) Accepted".

AA
Unacknowledged Quantity

Use this code for "Quantity (of batches or items as defined in OTI) Rejected".

BF
Age Modifying Units
CA
Covered - Actual
CD
Co-insured - Actual
EC
Use of Extracorporeal Circulation
EM
Emergency Modifying Units
HF
Invoices
HM
Use of Hypothermia
HO
Use of Hypotension
HP
Use of Hyperbaric Pressurization
HS
Hours
LA
Life-time Reserve - Actual
LE
Life-time Reserve - Estimated
NA
Number of Non-covered Days
NE
Non-Covered - Estimated
NP
Number of Members
NR
Not Replaced Blood Units
OU
Outlier Days
P3
Physical Status III
P4
Physical Status IV
P5
Physical Status V
P6
Number of Services or Procedures
PS
Prescription
SG
Swan-Ganz
TO
Total
VS
Visits
ZK
Federal Medicare or Medicaid Payment Mandate - Category 1
ZL
Federal Medicare or Medicaid Payment Mandate - Category 2
ZM
Federal Medicare or Medicaid Payment Mandate - Category 3
ZN
Federal Medicare or Medicaid Payment Mandate - Category 4
ZO
Federal Medicare or Medicaid Payment Mandate - Category 5
QTY-02
380
Additional Reference Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

NM1
0650
Detail > Original Transaction Identification Loop > NM1

Individual or Organizational Name

OptionalMax use 6

To supply the full name of an individual or organizational entity

Usage notes
  • Required when names are necessary to identify the portion (or all) of the transaction set that is being reported in this Loop 2000 (OTI). If not required by this implementation guide, may be provided at the sender's discretion but cannot be required by the receiver.
  • For example, if the Loop 2000 (OTI) is being used to define a specific dependent within an enrollment transaction set, the NM1 segment could be used to identify the specific dependent within the transaction set.
  • The sender should consider `minimum necessary' privacy requirements in deciding to use this discretionary segment.
Example
If either Identification Code Qualifier (NM1-08) or Identification Code (NM1-09) is present, then the other is required
NM1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

1B
Applicant
1E
Health Maintenance Organization (HMO)
1H
Kidney Dialysis Unit
1I
Preferred Provider Organization (PPO)
1K
Franchisor
1P
Provider
1R
University, College or School
1T
Physician, Clinic or Group Practice
1X
Laboratory
2B
Third-Party Administrator
2D
Miscellaneous Health Care Facility
2K
Partnership
03
Dependent
3D
Obstetrics and Gynecology Facility
8W
Payment Address
13
Contracted Service Provider
30
Service Supplier
31
Postal Mailing Address
36
Employer
40
Receiver
41
Submitter
47
Estimator
69
Repairing Outlet
70
Prior Incorrect Insured
71
Attending Physician
72
Operating Physician
73
Other Physician
74
Corrected Insured
77
Service Location
80
Hospital
82
Rendering Provider
85
Billing Provider
87
Pay-to Provider
AAP
Employee
ACV
Information Source
AG
Agent/Agency
AI
Airline
AO
Account Of
BB
Business Partner
BE
Beneficiary
BR
Broker
BV
Billing Service
CC
Claimant
CX
Claim Administrator
DK
Ordering Physician
DN
Referring Provider
DQ
Supervising Physician
E1
Person or Other Entity Legally Responsible for a Child
EF
Electronic Filer
EI
Executor of Estate
ENR
Enroller
EXS
Ex-spouse
EY
Employee Name
FA
Facility
FW
Forwarder
GD
Guardian
GP
Gateway Provider
GW
Group
GY
Treatment Facility
H5
Paying Agent
HA
Owner
HK
Subscriber
IAE
Member
IL
Insured or Subscriber
IN
Insurer
IP
Independent Adjuster
J6
Power of Attorney
KU
Receiver Site
L5
Contact
LE
Lessor
LI
Independent Lab
LN
Lender
LS
Lessee
M8
Educational Institution
MH
Mortgage Insurer
NZ
Primary Physician
OD
Doctor of Optometry
OW
Owner of Property or Unit
P2
Primary Insured or Subscriber
P3
Primary Care Provider
P4
Prior Insurance Carrier
P5
Plan Sponsor
PE
Payee
PR
Payer
PRP
Primary Payer
PV
Party performing certification
QA
Pharmacy
QB
Purchase Service Provider
QC
Patient
QD
Responsible Party
QE
Policyholder
QH
Physician
QN
Dentist
QV
Group Practice
R6
Requester
RI
Remit To
S3
Custodial Parent
SEP
Secondary Payer
SJ
Service Provider
SU
Supplier/Manufacturer
TL
Testing Laboratory
TM
Transmitter
TT
Transfer To
TTP
Tertiary Payer
TV
Third Party Administrator (TPA)
UY
Vehicle
VN
Vendor
X3
Utilization Management Organization
Y2
Managed Care Organization
ZZ
Mutually Defined
NM1-02
1065
Entity Type Qualifier
Required
Identifier (ID)

Code qualifying the type of entity

  • NM102 qualifies NM103.
1
Person
2
Non-Person Entity
NM1-03
1035
Additional Reference Last Name
Required
String (AN)
Min 1Max 60

Individual last name or organizational name

NM1-04
1036
Additional Reference First Name
Optional
String (AN)
Min 1Max 35

Individual first name

NM1-05
1037
Additional Reference Middle Name
Optional
String (AN)
Min 1Max 25

Individual middle name or initial

NM1-08
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code designating the system/method of code structure used for Identification Code (67)

Usage notes
  • When used, this is the value from the original transaction set to which this 824 is responding.
NM1-09
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

2100 Error or Informational Message Location Loop
OptionalMax >1
TED
0700
Detail > Original Transaction Identification Loop > Error or Informational Message Location Loop > TED

Error or Informational Message Location

RequiredMax use 1

To identify the error and, if feasible, the erroneous segment, or data element, or both

Usage notes
  • Required when OTI01 is equal to "BR", "IR", "TR", "BC", "IC", "TC", "BE", "IE", "TE", "BP", "IP", or "TP". If not required by this implementation guide, do not send.
  • The TED Loop is used to report errors or warnings about the data referenced in this OTI Loop.

Errors indicate rejection of all or part of the data referenced in the OTI Loop.

Warnings do not indicate rejection of the data referenced in the OTI Loop, but may result in rejection in the future.

Example
TED-01
647
Application Error Condition Code
Required
Identifier (ID)

Code indicating application error condition

Usage notes
  • The error or informational code is reported in RED06.
024
Other Unlisted Reason

Value chosen to make segment compliant with X12 syntax.

TED-03
721
Segment ID Code
Optional
Identifier (ID)
Min 2Max 3

Code defining the segment ID of the data segment in error (See Appendix A - Number 77)

TED-04
719
Segment Position in Transaction Set
Optional
Numeric (N0)
Min 1Max 10

The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1

Usage notes
  • If segment is missing, indicate the numerical count position of the next identifiable segment in this instance of the transaction set.
TED-05
C030
Position in Segment
Optional
Code indicating the relative position of the simple data element or composite data structure in error within a segment, count beginning with 1 for the position immediately following the segment ID; additionally indicating the relative position of a repeating structure in error, count beginning with 1 for the position immediately following the preceding element separator; additionally indicating the relative position of a component of a composite data structure in error, count beginning with 1 for the position following the preceding element or repetition separator
Usage notes

Required when TED03 is used and RED06 applies to a data element. If not required by this implementation guide, do not send.

C030-01
722
Element Position in Segment
Required
Numeric (N0)
Min 1Max 2

This is used to indicate the relative position of a simple data element, or the relative position of a composite data structure with the relative position of the component within the composite data structure, in error; in the data segment the count starts with 1 for the simple data element or composite data structure immediately following the segment ID

C030-02
1528
Component Data Element Position in Composite
Optional
Numeric (N0)
Min 1Max 2

To identify the component data element position within the composite that is in error

C030-03
1686
Repeating Data Element Position
Optional
Numeric (N0)
Min 1Max 4

To identify the specific repetition of a data element that is in error

TED-07
724
Copy of Bad Data Element
Optional
String (AN)
Min 1Max 99

This is a copy of the data element in error

TED-08
961
Data Element New Content
Optional
String (AN)
Min 1Max 99

New data which has replaced erroneous data

CTX
0750
Detail > Original Transaction Identification Loop > Error or Informational Message Location Loop > CTX

Situational Context Location

OptionalMax use 10

Describes an event context in terms of the application or implementation contexts in force at the time the event occurred and the position in the EDI stream at which that context was activated

Usage notes
  • Required when the error in RED06 was triggered by a situational requirement of the business application and the submitter of the 824 knows the segment ID and segment position within the original transaction set of the data that triggered the situation. If not required by this implementation guide, do not send.
  • The CTX is used to identify the situational Requirement.
Example
CTX-01
C998
Context Identification
Required
Holds information to identify a context
C998-01
9999
Data Context of Error
Required
String (AN)
Min 1Max 35

Holds the name or 'tag' of a context

Usage notes
  • Holds the name or "TAG" of a context, such as the industry name.
CTX-02
721
Context Segment ID Code
Required
Identifier (ID)
Min 2Max 3

Code defining the segment ID of the data segment in error (See Appendix A - Number 77)

CTX-03
719
Context Segment Position in Transaction Set
Required
Numeric (N0)
Min 1Max 10

The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1

CTX-04
447
Context Loop Identifier Code
Optional
String (AN)
Min 1Max 4

The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE

CTX-05
C030
Position in Segment
Optional
Code indicating the relative position of the simple data element or composite data structure in error within a segment, count beginning with 1 for the position immediately following the segment ID; additionally indicating the relative position of a repeating structure in error, count beginning with 1 for the position immediately following the preceding element separator; additionally indicating the relative position of a component of a composite data structure in error, count beginning with 1 for the position following the preceding element or repetition separator
Usage notes

Required when situational requirement relates to an element. If not required by this implementation guide, do not send.

C030-01
722
Context Element Position in Segment
Required
Numeric (N0)
Min 1Max 2

This is used to indicate the relative position of a simple data element, or the relative position of a composite data structure with the relative position of the component within the composite data structure, in error; in the data segment the count starts with 1 for the simple data element or composite data structure immediately following the segment ID

C030-02
1528
Context Component Data Element Position in Composite
Optional
Numeric (N0)
Min 1Max 2

To identify the component data element position within the composite that is in error

C030-03
1686
Context Repeating Data Element Position
Optional
Numeric (N0)
Min 1Max 4

To identify the specific repetition of a data element that is in error

CTX-06
C999
Reference in Segment
Optional
To hold the reference number of a data element and optionally a component data element within a composite
Usage notes

Required when this supplemental information is necessary to identify the situational requirement that triggered the error. If not required by this implementation guide, do not send.

C999-01
725
Context Data Element Reference Number
Required
Numeric (N0)
Min 1Max 4

Reference number used to locate the data element in the Data Element Dictionary

  • This element holds the reference number of the simple or composite element at segment level.
C999-02
725
Component Data Element Reference Number
Optional
Numeric (N0)
Min 1Max 4

Reference number used to locate the data element in the Data Element Dictionary

  • This element holds the reference number of the simple element within a composite.
RED
0820
Detail > Original Transaction Identification Loop > Error or Informational Message Location Loop > RED

Error or Informational Message

RequiredMax use 100

To provide business data related to an item within a transaction to which a business application editing process has been applied, and an error condition has resulted

Example
RED-01
352
Error Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

  • RED01 provides the related business data, whose nature is defined by the code in RED02 or RED06.
  • As an example of the use of the RED01 element, an application edit is applied to the Unit Price element within an Invoice (810) transaction set.
    The result of that edit indicates an invalid unit price. One piece of related business data would be the associated Product or Service Identification (data element #234). In this example, RED01 would be used to convey the associated Product or Service Identification.
Usage notes
  • No description is needed to clarify the error code in RED06. If additional error codes are needed, a request should be submitted to the Insurance Business Process Application Error Code List Maintenance Committee (see Appendix A for details). However, since this data element is required according to the X12 standard, use the default value of "NA".
RED-03
559
Agency Qualifier Code
Required
Identifier (ID)

Code identifying the agency assigning the code values

  • RED03 identifies the agency maintaining the code list identified in RED05.
Usage notes
  • This element is not useful in defining the error or informational message reported in this segment.
94
Code Assigned by the Organization that is the Ultimate Destination of the Transaction Set
RED-05
1270
Insurance Business Process Application Error Code Qualifier Code
Required
Identifier (ID)

Code identifying a specific industry code list

  • RED05 identifies the code list containing the code indicated in RED06.
IBP
Insurance Business Process Application Error Code

This code set is for use in reporting application errors for insurance business processes. See Appendix A for Code Source 895, Insurance Business Process Application Error Codes.

RED-06
1271
Insurance Business Process Application Error Code
Required
String (AN)
Min 1Max 30

Code indicating a code from a specific industry code list

  • RED06 is an industry-defined code identifying the specific type of related data in RED01.
2100 Error or Informational Message Location Loop end
2000 Original Transaction Identification Loop end
SE
0900
Detail > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Detail end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

Example 1: Positive Acknowledgment

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240221*1407*^*00501*000000001*0*T*>~
GS*AG*SENDERGS*RECEIVERGS*20240221*140702*000000001*X*005010X186A1~
ST*824*021390001*005010X186A1~
BGN*11*FFA.ABCDEF.123456*20020709*0932**123456789**WQ~
N1*41*ABC INSURANCE*46*111111111~
PER*IC*JOHN JOHNSON*TE*8005551212*EX*1439~
N1*40*SMITHCO*46*A1234~
OTI*TA*TN*NA***20020709*0902*2*0001*834*005010X220A1~
SE*7*021390001~
GE*1*000000001~
IEA*1*000000001~

Example 2: Complete Transaction Set Reject Reporting

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240221*1407*^*00501*000000001*0*T*>~
GS*AG*SENDERGS*RECEIVERGS*20240221*140729*000000001*X*005010X186A1~
ST*824*021390002*005010X186A1~
BGN*11*FFA.ABCDEF.123456*20020709*0932**123456789**U~
N1*41*DEF INSURANCE*46*222222222~
PER*IC*TOM EVANS*TE*8005551212*EX*1439~
N1*40*JONESCO*46*B5678~
OTI*TR*TN*NA***20020709*0902*2*0001*124*005010~
TED*024**VEH*36*2~
RED*NA**94**IBP*E054~
SE*9*021390002~
GE*1*000000001~
IEA*1*000000001~

Example 3: Partial Transaction Set Reject Reporting

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240221*1409*^*00501*000000001*0*T*>~
GS*AG*SENDERGS*RECEIVERGS*20240221*140914*000000001*X*005010X186A1~
ST*824*0001*005010X186A1~
BGN*11*12345*20040831*150057**0123**RU~
N1*41*CONSOLIDATED INSURANCE CO*46*00000~
PER*IC*CUSTOMER SERVICE*TE*8005551212~
N1*40*PHIL GOOD, M.D.*46*TXX23~
OTI*TA*TN*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*F8*0123~
DTM*050*20040814~
AMT*GW*16970.33~
QTY*TO*5~
NM1*41*2*PHIL GOOD, M.D.*****46*TXX23~
TED*024~
RED*NA**94**IBP*W050~
OTI*BP*BT*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*1C*99983000~
AMT*2*16970.33~
QTY*46*5~
NM1*85*2*GOOD AND ASSOCIATES*****24*555667777~
OTI*IA*IX*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*EJ*26462967~
AMT*GW*540~
NM1*QC*1*SMITH*TED****MI*000221111A~
OTI*IE*IX*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*EJ*78945639837~
AMT*GW*1100.67~
NM1*QC*1*BROWN*ROBERT*W***MI*888553737~
TED*024**N4*32*3**10407~
RED*NA**94**IBP*E038~
OTI*IR*IX*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*EJ*8437450584598~
AMT*GW*12642.16~
NM1*QC*1*JAMES*JIM*D***MI*011332211~
TED*024**N4*54*3**73076~
RED*NA**94**IBP*E038~
TED*024**REF*68~
CTX*2310A REFERRING PROVIDER*NM1*65*2310~
CTX*2010BB PAYER NAME*NM1*18*2010~
CTX*CLAIM FILING INDICATOR CODE - MB*SBR*13*2000*9~
RED*NA**94**IBP*E019~
OTI*IA*IX*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*EJ*984576898~
AMT*GW*1900.5~
NM1*QC*1*MAE*SALLIE*M***MI*987654321~
OTI*IE*IX*NA***20040812*1253*1000001*0021*837*005010X222A1~
REF*EJ*8767657645765~
AMT*GW*787~
NM1*QC*1*DOE*JANE****MI*777553333~
TED*024**N4*113*3**27387~
RED*NA**94**IBP*E038~
TED*024**N4*124*3**27378~
RED*NA**94**IBP*E038~
SE*52*0001~
GE*1*000000001~
IEA*1*000000001~

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.