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.
Specifications
Quick Reference Specifications
- 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
FILTER_NAME
- This is the name you give to your filter.
NPI
- Provider specific id consisting of 9 numeric digits with 1 check digit.
NCPDPID
- 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 |
## Examples of CSV
Import with 2 records: one record with a NPI identifier and another with a NCPDPID identifier.
<pre class="my-6 overflow-hidden rounded-lg border border-border bg-muted p-4 text-sm overflow-x-auto"><code>FILTER_NAME,NPI,NCPDPID
MyFilter1,1234567890,
MyFilter2,,1234567</code></pre>
Import with an additional record that contains both an NPI & NCPDPID. When this occurs, the NCPDPID identifier takes precedence.
<pre class="my-6 overflow-hidden rounded-lg border border-border bg-muted p-4 text-sm overflow-x-auto"><code>FILTER_NAME,NPI,NCPDPID
MyFilter1,1234567890,
MyFilter2,,1234567,
FilterWithBoth,1234212, 1251254150</code></pre>
## Related Pages
* [Data Import Master List](data-import-master-list.md)