Pharmacy Filter Import

The Pharmacy Filter allows you to import filter data on pharmacies based on either their NPI or NCPDPID.

The purpose of this page is to define data and fields that may be imported into MIE systems (Webchart, Enterprise Health) using the WC Pharmacy Filter Import.


Quick Reference Specificiations

  • File format: Data files shall be formatted in Comma Separated Values (CSV)
  • The first row of the file shall contain column header information.
  • Each subsequent row shall represent an encounter order(s).

Field Definitions by Table


  • This is the name you give to your filter.


  • Provider specific id consisting of 9 numeric digits with 1 check digit.


  • Provider specific id consisting of 7 numeric digits assigned to every licensed pharmacy.

Column Definition

  • R = Required
  • O = Optional
Name Type Required Comments
FILTER_NAME char R Name of the Filter
NPI integer O* National Provider Identifier
NCPDPID integer O National Council for Prescription Drug Programs ID

*Optional when NCPDPID is present in row. **Optional when NPI is present **

Examples of CSV

Import with 2 records: one record with a NPI identifier and another with a NCPDPID identifier.

FILTER_NAME,NPI,NCPDPID MyFilter1,1234567890, MyFilter2,,1234567

Import with an additional record that contains both an NPI & NCPDPID. When this occurs, the NCPDPID identifier takes precedence.

FILTER_NAME,NPI,NCPDPID MyFilter1,1234567890, MyFilter2,,1234567, FilterWithBoth,1234212, 1251254150

Sampe CSV Files

File:Pharmacy Filter Example.csv

WebChart Documentation
Last Build: Wed, 03 Aug 2022 17:20:22 EDT Legacy Documentation