View Payer
Sheet and Batch File Specifications in PDF.
Adobe Acrobat Reader
is required to view this file.
Click here (or on the image) to download Acrobat Reader

This section includes the following programmer
details:
E1 Specifications
E1 Message Text Format
E1 Batch Specifications
| Note: If
a "Value" contains quotation marks around it,
then the value are literal characters that must be included
in the transaction. If a "Value" is listed but
does not contain quotation marks, then the value is an
example. |
Transaction
Header Segment: Mandatory Segment |
|
Field
Name |
Value |
|
|
BIN NUMBER |
“011727” |
M |
|
VERSION/RELEASE NUMBER |
" 51" |
M – 5.1 Transaction
Format |
|
TRANSACTION CODE |
"E1" |
M – Eligibility Verification |
|
PROCESSOR CONTROL NUMBER |
0000000000 |
M – May contain any
value |
|
TRANSACTION COUNT |
"1" |
M – One occurrence |
|
SERVICE PROVIDER ID QUALIFIER |
"Ø7" |
M – NCPDP Provider
ID of Requesting Pharmacy |
|
SERVICE PROVIDER ID |
1234567bbbbbbbb |
M – Left justified,
space filled |
|
DATE OF SERVICE |
Use Current Date |
M – i.e., 20060101 |
|
SOFTWARE VENDOR/CERTIFICATION
ID |
Bbbbbbbbbb |
M |
Patient
Segment: Required for Proper Matching |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“01” |
M – PATIENT SEGMENT |
|
DATE OF BIRTH |
19400615 |
R – Born June 16,
1940 |
|
PATIENT GENDER CODE |
1 |
R – Male |
|
PATIENT FIRST NAME |
JOHN |
R |
|
PATIENT LAST NAME |
DOE |
R |
|
PATIENT ZIP/POSTAL ZONE |
34567 |
R – Zip Code (5 digit
zip) |
Note: Other optional fields not shown
in these segments are not used.
|
Insurance
Segment: Mandatory Segment |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“Ø4” |
M – INSURANCE SEGMENT |
|
CARDHOLDER ID |
998877665 |
M – Must include one
of the following:
– ID from Medicare Part A card
– ID from Medicare Part B card
– Last 4 digits of the SSN
|
The Facilitator sends this response when the
data provided in the E1 Request enables the Facilitator to find
one unique patient.
Response
Header Segment: Always Returned by Facilitator |
|
Field
Name |
Value |
|
|
VERSION/RELEASE NUMBER |
"51" |
M – 5.1 Transaction
Standard |
|
TRANSACTION CODE |
"E1" |
M – Eligibility Verification |
|
TRANSACTION COUNT |
"1" |
M – One occurrence |
|
HEADER RESPONSE STATUS |
"A" |
M – Accepted |
|
SERVICE PROVIDER ID QUALIFIER |
"Ø7" |
M – NCPDP Provider
ID |
|
SERVICE PROVIDER ID |
4563663bbbbbbbb |
M – Contains the same
value provided in the Request |
|
DATE OF SERVICE |
Use Current Date |
M – i.e., 20060101
Contains the same
value provided in the Request |
Response
Message Segment: Always Returned by Facilitator |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“20” |
M – RESPONSE STATUS
SEGMENT |
|
MESSAGE |
”MEDICARE
ELIG CHECK:” + standardized response |
R – Includes ALL coverage’s
(Primary, Secondary, etc.)
|
| Mandatory Segment |
Response
Status Segment: Always Returned by Facilitator |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“21” |
M – RESPONSE STATUS
SEGMENT |
|
TRANSACTION RESPONSE STATUS |
"A" |
M – Approved |
|
ADDL MESSAGE INFORMATION |
|
O – Used for overflow
from 5Ø4-F4 |
|
HELP DESK PHONE NUMBER QUALIFIER |
"99" |
R – Medicare is going
to support these calls. |
|
HELP DESK PHONE NUMBER |
”8006334227” |
R |
Note: Other optional fields not shown
in these segments are not used.
|
The Facilitator sends this response when the
data provided in the E1 Request does not enable the Facilitator
to find one unique patient.
Response
Header Segment: Mandatory Segment |
|
Field
Name |
Value |
|
|
VERSION/RELEASE NUMBER |
"51" |
M – 5.1 Transaction
Standard |
|
TRANSACTION CODE |
"E1" |
M – Eligibility Verification |
|
TRANSACTION COUNT |
"1" |
M – One occurrence |
|
HEADER RESPONSE STATUS |
"A" |
M – Accepted |
|
SERVICE PROVIDER ID QUALIFIER |
"Ø7" |
M – NCPDP Provider
ID |
|
SERVICE PROVIDER ID |
4563663bbbbbbbb |
M – Contains the same
value provided in the Request. |
|
DATE OF SERVICE |
20060101 |
M – Contains the same
value provided in the Request. |
Response
Message Segment: Always Returned by Facilitator |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“20” |
M – RESPONSE STATUS
SEGMENT |
|
MESSAGE |
”MEDICARE
ELIG CHECK: No Single match was found." |
R – To improve chances
of finding a match, pharmacy should include the following
information:
– Patient's DOB
– Patient's First Name
– Patients's Last Name
– Patient's Zip Code
– Patient's Cardholder ID |
Response
Status Segment: Always Returned by Facilitator |
|
Field
Name |
Value |
|
|
SEGMENT IDENTIFICATION |
“21” |
M – Response Status
Segment |
|
TRANSACTION RESPONSE STATUS |
"R" |
M – Rejected |
|
REJECT COUNT |
"1" |
R |
|
REJECT CODE |
"62" |
R – Patient Cardholder
ID Name Mismatch |
|
ADDL MESSAGE INFORMATION |
|
O – Used for overflow
from 5Ø4-F4 |
|
HELP DESK PHONE NUMBER QUALIFIER |
"99" |
R – Medicare will
support these calls. |
|
HELP DESK PHONE NUMBER |
”8006334227” |
R |
Note: Other optional fields not shown
in these segments are not used.
|
This section defines the structure and meaning
of the text included in fields 5Ø4-F4 and 526-FQ when
the Facilitator finds a match for data contained in the Eligibility
Request from the pharmacy.
Message Structure
The message returned by the Facilitator contains
Records and Fields. A Record represents information about one
of the patient’s insurance coverage. The Fields represent
the details of that coverage.
Records
- A Record represents information about one of the patient’s
insurance coverage.
- The last character of every Record is always the ampersand.
- Records repeat if the patient has more than one insurance
plan.
- A record cannot be split so that part of it appears in 5Ø4-F4
and the remaining part appears in
526-FQ.
- Records contain fields that describe the details of the insurance
coverage.
Fields
- The Field Delimiter always appears before the value of the
field.
- The Field Delimiter is always followed by a colon.
- A Field Value is always followed by a semicolon.
The
following data are returned in fields 5Ø4-F4 and
526-FQ.
|
|
Field
Delimiter |
Field
Length |
|
Insurance Level |
“PRIMARY” for
primary insurance
“ADDINS” for non-primary insurance
|
0 or 1 |
If the data represents the
Primary coverage, then the length is 0.
If the data represents non-primary coverage, then the length is 1. Values
are null, “1”, “2”, “3” or “4”. |
BIN |
BN |
6 |
BIN for the patient’s
plan |
Processor Control Number |
PN |
10 |
PCN for the patient’s
plan |
Group |
GP |
15* |
Group ID for the patient’s
plan |
Cardholder ID |
ID |
20* |
Patient’s Cardholder
ID for this plan |
Person Code |
PC |
3* |
Patient’s person code
for this plan |
Phone Number |
PH |
10 |
Help Desk phone number for
the plan |
* Leading and trailing spaces can be truncated so that
the actual length is variable for these fields.
|
Examples
Primary Coverage Only
PRIMARY;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
Primary and Secondary Coverage
PRIMARY;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
ADDINS:1;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
Primary, Secondary, and Tertiary Coverage
In this example, Field 5Ø4-F4 contains
the first two records and Field 526-FQ contains the last record.
PRIMARY;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
ADDINS:1;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
ADDINS:2;BN:123456;PN:1234567890;GP:123456789012345;ID:12345678901234567890;
PC:001;PH:8001234567;&
View Batch File Specifications in PDF.
Each transaction batch file sent to RelayHealth from a customer
computer and each response file sent from RelayHealth to a customer computer
contains the following three sections:
- File Header Record. Starts each file.
- File Data Record(s). One or more claim or response data records in the
appropriate format for the transaction type. See the applicable NCPDP technical
specifications manual for details.
- File Trailer Record. Ends each file.
The file header and file trailer record must be
present in every transmission. The formats for the file header, file data,
and file trailer records are fully described in the NCPDP Batch Standard
Format documents. As a convenience, the information is summarized in the
next three subtopics.
File Header Record
The file header record is the first record in each
file. There is only one header record per file. The table below summarizes
the fields included in the file header record.
A/N = Alphanumeric field (left justify, blank fill)
N = Numeric field (right justify, zero fill)
|
Field
Name |
|
|
|
|
|
|
TEXT INDICATOR |
A/N |
1 |
1 |
1 |
Start of text (STX) = X'02' |
|
SEGMENT IDENTIFIER |
A/N |
2 |
2 |
3 |
0 = File Control (header) |
|
TRANSMISSION TYPE |
A/N |
1 |
4 |
4 |
T = Transaction (claim)
R = Response
E = Error
|
|
SENDER ID |
A/N |
24 |
5 |
28 |
To be defined by processor/switch |
|
BATCH NUMBER |
N |
7 |
29 |
35 |
- Matches trailer
- Assigned by sender
- Returned in response or error file form processor
|
|
CREATION DATE |
N |
8 |
36 |
43 |
Format = CCYYMMDD |
|
CREATION TIME |
N |
4 |
44 |
47 |
Format = HHMM |
|
FILE TYPE
| A/N |
1 |
48 |
48 |
P = Production
T= Test |
|
VERSION/RELEASE NUMBER
| A/N |
2 |
49 |
50 |
Version/Release number of Header data |
|
RECEIVER ID
| A/N |
24 |
51 |
74 |
To be defined by processor/switch |
|
TEXT INDICATOR
| A/N |
1 |
75 |
75 |
End of Text (ETX) = X'03' |
File Header Notes
- Only one header record exists per file.
- Transmission type “T” is required when the pharmacy is submitting
a batch. Transmission type “E” is required when the entire batch
has been rejected by the processor or switch. Transmission type “R” is
returned to the pharmacy to denote that the file contains responses
to claims.
- The processor or switch receiving the file assigns the Sender
ID. This ID reflects valid enrollment between trading partners
for batch file submission.
- The Batch number is assigned by the sender and must match the
trailer Batch Number field.
- The Batch number on the response file should be the same Batch
number from the claim file originally sent from the pharmacy.
This will link the
claim batch file to the response batch file.
- The Version/Release number refers to the actual Version/Release
of NCPDP Batch Standard being used. In this guide, Version/Release
11 is being used.
File Data Records
Each file contains one or more data records. There is no
limit to the number of data records that can be included per file. Any transaction
format that is acceptable to the real-time switch may be delivered via batch.
A/N = Alphanumeric field (left justify, blank fill)
N = Numeric field (right justify, zero fill)
|
Field
Name |
|
|
|
|
|
|
TEXT INDICATOR |
A/N |
1 |
1 |
1 |
Start of text (STX) = X'02' |
|
SEGMENT IDENTIFIER |
A/N |
2 |
2 |
3 |
G1 = Detail Data Record |
|
TRANSACTION REFERENCE NUMBER |
A/N |
10 |
4 |
13 |
To be determined by Provider
|
|
DATA RECORD (NCPDP) |
|
varies |
14 |
varies |
Claim, response, or error message |
|
TEXT INDICATOR
| A/N |
1 |
varies |
varies |
End of Text (ETX) = X'03' |
Transaction Detail Notes
- The Transaction Reference number is assigned by the
pharmacy. When the processor receives the file and begins processing
the claims, the Transaction Reference number must be returned with the
response.
The Transaction Reference number is used to link a response to the
original claim.
- Data Record - see the applicable NCPDP Standard Format document for
the definition of the record layouts for the NCPDP Data Record.
File Trailer Record
The file trailer record is the last record in the file and
contains information about the file, such as the number of data records,
the date and time the file was created, and the batch number.
A/N = Alphanumeric field (left justify, blank fill)
N = Numeric field (right justify, zero fill)
|
Field
Name |
|
|
|
|
|
|
TEXT INDICATOR |
A/N |
1 |
1 |
1 |
Start of text (STX) = X'02' |
|
SEGMENT IDENTIFIER |
A/N |
2 |
2 |
3 |
99 = File Transfer |
|
BATCH NUMBER |
N |
7 |
4 |
10 |
Assigned by sender (matches Header)
|
|
RECORD COUNT |
N |
10 |
11 |
20 |
|
|
MESSAGE |
A/N |
35 |
21 |
55 |
|
|
TEXT INDICATOR |
A/N |
1 |
56 |
56 |
End of Text (ETX) = X'03' |
Transaction Detail Notes
- Only one Trailer Record exists per file.
- The Batch number must match the Batch Number field in the header record.
- The record count field includes the total number of records in the
batch, including the header and trailer records.
- The message field can be used to further explain the reasons
why the entire batch is in error, include information about
testing, or
any other
data that needs to be sent with the batch. This field should
contain informational data only. Do not include required data.
- The maximum number of records in a file is 9,999,999,999,
including one (1) Transaction Header and one (1) Transaction
Trailer.
|