NextGen Knowledge Center

eRx Refill Requests Matches

Prescription requests are matched as follows:

TermsDescription
Match OrderIf a Prescribe Order Number is present but not found in a patient chart, the pharmacy receives an error, and the request is not sent to the provider.
Match ProviderIf a Surescripts® Provider Identifier (SPI) is not present in the Provider Master File, the pharmacy receives an error. The request is sent back to the pharmacy with an Unknown Provider status and is not sent to the provider.
Match PharmacyIf the National Council for Prescription Drug Programs Processor ID (NCPDP ID) is not in the Pharmacy Master File, NextGen® Communication Services attempts to download the pharmacy from the NextGen Surescripts Server.

If the pharmacy is not available to be downloaded, an error is returned to the pharmacy. If the pharmacy download is successful, the pharmacy match is made.

Match MedicationThe National Drug Code (NDC) is used to match a medication record in the patient’s chart.

The medication that is renewed is the newest active/inactive one with the same generic code number sequence number (gcn_seqno). The generic code and sequence numbers are proprietary codes set by First Data Bank.

If an NDC is present but not in your NextGen® Enterprise EHR database, an error is returned to the pharmacy.
Match PatientIf the Last Name, First Name, DOB, SSN combination is not unique to the rendering provider’s practice, the refill request is set to Unmatched Patient status.