2.1 NCPDP Telecommunication Standards & Claim Data Elements

Key Takeaways

  • The NCPDP Telecommunication Standard (Version D.0 and the emerging Version F6) is the HIPAA-mandated electronic framework for real-time retail pharmacy claims adjudication.
  • Primary transaction types include B1 (Billing/Claim Submission), B2 (Claim Reversal), B3 (Rebill), and E1 (Real-Time Eligibility Verification).
  • The standard 11-digit National Drug Code (NDC) follows a 5-4-2 segment format (Labeler-Product-Package); 10-digit NDCs must be converted to 11 digits by adding a leading zero to the abbreviated segment.
  • Crucial routing fields on the pharmacy benefit card comprise the 6-digit Bank Identification Number (BIN), Processor Control Number (PCN), Group ID (RxGroup), Cardholder ID, and Person Code (01/02/03).
  • Healthcare provider identification relies on 10-digit National Provider Identifiers (NPI): Type 1 for individual prescribers and Type 2 for organizational entities such as pharmacies.
Last updated: August 2026

2.1 NCPDP Telecommunication Standards & Claim Data Elements

In modern pharmacy practice, electronic claims processing occurs in real time at the point of sale (POS). When a pharmacy technician enters a prescription into the Pharmacy Management System (PMS) and submits it to a third-party payer, the transaction is formatted, transmitted, evaluated, and resolved in seconds. This seamless interoperability is governed by the National Council for Prescription Drug Programs (NCPDP) standards, which are legally mandated under the Health Insurance Portability and Accountability Act (HIPAA) of 1996.

Understanding the structural components of NCPDP transactions, National Drug Code (NDC) segment configurations, benefit card routing parameters, and provider identification numbers is essential for pharmacy billing coordinators. Mastery of these fundamentals allows technicians to identify data entry discrepancies immediately, prevent claim rejections, and maintain revenue integrity.


1. The NCPDP Telecommunication Standard Architecture

The NCPDP Telecommunication Standard establishes the syntax, segment layout, and data dictionary used by retail, mail-order, and specialty pharmacies to exchange electronic prescription claims with Pharmacy Benefit Managers (PBMs), commercial insurers, Medicare Part D plans, and Medicaid state agencies.

+-----------------------------------------------------------------------------+
|                  NCPDP TELECOMMUNICATION TRANSACTION SUITE                  |
|                                                                             |
|   [B1] BILLING / SUBMISSION    -> Standard POS claim sent for payment       |
|   [B2] CLAIM REVERSAL          -> Voids prior paid claim; restores accum.   |
|   [B3] REBILL                  -> Atomically cancels & resubmits new claim  |
|   [E1] ELIGIBILITY CHECK       -> Real-time query to confirm active card    |
+-----------------------------------------------------------------------------+

Standard Versions: Version D.0 to Version F6

  • Version D.0: The baseline HIPAA-adopted national standard utilized across the United States. It structures transactions into distinct segments containing standardized data fields separated by specific delimiters (ASCII separator characters).
  • Version F6 / Future Standards: The next-generation telecommunication standard approved by the Department of Health and Human Services (HHS). Version F6 expands field lengths, enhances Coordination of Benefits (COB) data passing, accommodates complex specialty drug tracking, and natively supports Real-Time Prescription Benefit (RTPB) inquiries at the point of prescribing.

Core Transaction Types

Every electronic message submitted to a payer begins with a standardized 2-character transaction code in the transmission header:

CodeTransaction TypeOperational Definition & Real-World Workflow
B1Billing / Claim SubmissionThe primary transaction used to request reimbursement for a dispensed medication, vaccine, clinical service, or compound. It transmits patient demographics, prescriber IDs, product NDC, quantity, days supply, and pricing breakdown.
B2Claim ReversalAn electronic cancellation that voids a previously adjudicated paid claim. It is transmitted when a prescription is returned to stock, canceled by the patient, or entered erroneously. Processing a B2 immediately restores the patient's deductible/benefit accumulators and refunds the plan's financial ledger.
B3RebillAn atomic transaction that pairs a reversal and a new claim submission into a single electronic packet. Used when modifying dispensing parameters (e.g., changing quantity, billing a secondary plan, or correcting a DAW code) without manual two-step cancellation.
E1Eligibility VerificationA standalone real-time inquiry used to verify whether a patient has active prescription benefits on a given date of service. Returns member demographics, active coverage dates, cardholder ID, BIN/PCN routing, and supplemental payer information without submitting a prescription claim.

2. National Drug Code (NDC) Structure & 11-Digit Conversion

The National Drug Code (NDC) is the universal product identifier for human drugs in the United States. Maintained by the Food and Drug Administration (FDA), the NDC uniquely identifies the manufacturer/distributor, the specific formulation and strength, and the commercial packaging geometry.

+-----------------------------------------------------------------------------+
|                       FDA 11-DIGIT 5-4-2 NDC ANATOMY                        |
|                                                                             |
|       [ 0 0 0 9 3 ]       -       [ 3 1 4 7 ]       -       [ 0 1 ]         |
|       |___________|               |_________|               |_____|         |
|          Segment 1                  Segment 2               Segment 3       |
|         LABELER CODE              PRODUCT CODE            PACKAGE CODE      |
|      (Manufacturer/Distributor)   (Drug, Strength, Form)    (Pack Size/Type)|
+-----------------------------------------------------------------------------+

The 5-4-2 Format Requirement

While the FDA publishes NDCs in variable 10-digit formats with hyphens, HIPAA and NCPDP standards strictly require an 11-digit numeric string without hyphens formatted in a standardized 5-4-2 configuration:

  • Segment 1 (Labeler Code - 5 digits): Assigned by the FDA to identify the manufacturer, repackager, or private label distributor.
  • Segment 2 (Product Code - 4 digits): Assigned by the labeler to identify the specific active ingredient, strength, and dosage form.
  • Segment 3 (Package Code - 2 digits): Assigned by the labeler to identify the package size and physical container type (e.g., bottle of 100, blister pack of 30, box of 5 unit-dose vials).

Converting 10-Digit FDA Formats to 11-Digit NCPDP Formats

When drug packaging displays a 10-digit NDC, the pharmacy technician or PMS must insert a leading zero into the abbreviated segment to normalize the code into the mandatory 5-4-2 structure. Placing the zero at the end or in the wrong segment results in an invalid NDC rejection (NCPDP Reject 21 / Reject 70).

Original 10-Digit FormatSegment ConfigurationConversion RuleExample 10-Digit NDCStandardized 11-Digit NDC
4-4-24-digit Labeler<br>4-digit Product<br>2-digit PackageAdd leading zero to Segment 1 (Labeler Code)1234-5678-9001234-5678-90<br>(01234567890)
5-3-25-digit Labeler<br>3-digit Product<br>2-digit PackageAdd leading zero to Segment 2 (Product Code)12345-678-9012345-0678-90<br>(12345067890)
5-4-15-digit Labeler<br>4-digit Product<br>1-digit PackageAdd leading zero to Segment 3 (Package Code)12345-6789-012345-6789-00<br>(12345678900)

[!IMPORTANT] Rule of Thumb for NDC Conversion: Count the digits in each hyphenated segment. Find the segment that is short (4 digits instead of 5, 3 digits instead of 4, or 1 digit instead of 2), and insert a zero directly in front of that segment's numbers. Never add a trailing zero at the end of the string.


3. Benefit Card Routing Identifiers

To route an electronic transaction through telecommunications switches to the appropriate PBM adjudication server, the PMS requires five key data elements printed on the patient's prescription benefit card:

+-----------------------------------------------------------------------------+
|                    PHARMACY BENEFIT CARD ROUTING SCHEME                     |
|                                                                             |
|   +---------------------------------------------------------------------+   |
|   |  PREMIER HEALTH ADVANTAGE RX                                        |   |
|   |                                                                     |   |
|   |  RxBIN:   004336                  Cardholder ID:   PHA987654321     |   |
|   |  RxPCN:   ADV                     Person Code:     01               |   |
|   |  RxGrp:   RX8820                  Cardholder Name: JANE DOE         |   |
|   +---------------------------------------------------------------------+   |
+-----------------------------------------------------------------------------+
  1. Bank Identification Number (BIN / IIN):
    • A 6-digit numeric code assigned by the American National Standards Institute (ANSI) and NCPDP.
    • Identifies the specific PBM or claims processor that will receive and process the claim (e.g., Express Scripts 003858, CVS Caremark 004336, OptumRx 610011).
  2. Processor Control Number (PCN):
    • A secondary alphanumeric routing identifier (up to 10 characters) defined by the PBM.
    • Directs the claim to a specific internal processing unit, client plan design, or benefit package within the PBM's adjudication engine.
  3. Group ID (RxGroup):
    • An alphanumeric identifier that specifies the patient's employer, union, association, or health plan benefit structure. It dictates the specific formulary tiers, copay rules, and network restrictions.
  4. Cardholder ID (Member ID):
    • The primary alphanumeric identifier assigned to the enrolled subscriber by the insurance plan.
  5. Person Code (Dependent Code):
    • A 2- or 3-digit numeric code used to distinguish individual family members enrolled under a single Cardholder ID.
    • Standard convention: 01 = Primary Cardholder / Subscriber, 02 = Spouse, 03, 04, 05 = Dependent Children in birth order.

4. Healthcare Provider Identifiers: NPI vs. DEA

Accurate billing requires distinct, legally recognized identifiers for both the prescribing clinician and the dispensing pharmacy:

+-----------------------------------------------------------------------------+
|                     NATIONAL PROVIDER IDENTIFIERS (NPI)                     |
|                                                                             |
|   [TYPE 1: INDIVIDUAL NPI]         [TYPE 2: ORGANIZATIONAL NPI]             |
|   - 10-Digit Unique Number         - 10-Digit Unique Number                 |
|   - Physicians (MD/DO)             - Community Pharmacies                   |
|   - Nurse Practitioners (NP)       - Health Systems & Hospitals             |
|   - Physician Assistants (PA)      - Specialty & Mail-Order Pharmacies      |
|   - Dentists & Podiatrists         - Home Infusion Providers                |
+-----------------------------------------------------------------------------+

National Provider Identifier (NPI)

Established under HIPAA and administered by CMS through the National Plan and Provider Enumeration System (NPPES), the NPI is a 10-digit numeric string with a final Luhn check digit:

  • Type 1 NPI (Individual): Issued to individual healthcare practitioners (physicians, nurse practitioners, dentists, pharmacists). Required in the NCPDP Prescriber ID field for all standard non-controlled and controlled prescriptions.
  • Type 2 NPI (Organizational): Issued to healthcare entities, corporations, group practices, hospitals, and licensed retail/institutional pharmacies. Required in the NCPDP Service Provider ID field to identify the dispensing facility.

Drug Enforcement Administration (DEA) Number

  • A unique 9-character alphanumeric identifier issued by the federal DEA to authorize the prescribing, dispensing, or distributing of Schedule II–V controlled substances.
  • Composition: Two letters followed by seven digits (e.g., AB1234567). The first letter indicates practitioner type (A/B/F/G for physicians, M for mid-level practitioners), the second letter matches the first letter of the prescriber's last name, and the seventh digit is a mathematical checksum.

[!WARNING] Billing Rule: While a DEA number is legally required on prescriptions for controlled substances, PBMs mandate the prescriber's Type 1 NPI for electronic claim routing and provider taxonomy validation under NCPDP standards. Submitting a DEA number in place of an NPI on a non-controlled claim will generate an immediate rejection.

Loading diagram...
NCPDP Point-of-Sale Routing & Adjudication Architecture
Test Your Knowledge

A pharmacy technician is entering a prescription for a newly approved medication. The packaging displays the 10-digit NDC '00093-314-01' (a 5-3-2 configuration). According to NCPDP HIPAA standards, what is the correct 11-digit NDC string that must be submitted in the claim transaction?

A
B
C
D
Test Your Knowledge

Which of the following NCPDP transaction codes should a pharmacy billing coordinator transmit when a patient cancels an uncollected prescription order that was adjudicated three days ago, ensuring that the patient's deductible balance is accurately restored?

A
B
C
D
Test Your Knowledge

When entering third-party billing information for a child who is covered as a dependent under her mother's employer-sponsored commercial health plan, which Person Code should the technician select in the PMS?

A
B
C
D
Test Your Knowledge

A community retail pharmacy is transmitting an electronic claim for a non-controlled medication prescribed by an outpatient physician. Which combination of provider identifiers must be entered into the Service Provider ID and Prescriber ID fields of the NCPDP D.0 transaction header?

A
B
C
D