Kit Rx

Check a provider directory import

Does your import keep the right facility, plan segment and registry status? Compare results with the payer or CMS records behind them.

Compare a payer’s two formatsRequest a $250 import check

Test reactivated NPIs · Compare federal FHIR identifiers

Check an Ohio 340B contract pharmacy roster

Find the Ohio licenses that match the pharmacy names and locations filed under your covered entity ID. Preview the counts for free. The Excel workpaper includes source row numbers, license status and space for review notes.

Find your covered entity · See the free one-row example

One facility accounts for nine plan-segment differences

Peak Health publishes its 2027 Medicare Advantage facilities through a FHIR API and a Medicare Plan Finder file. On November 18, the API linked 1,350 facility NPIs to a network shared by nine plan segments. The Plan Finder file explicitly listed 1,349 facility NPIs.

Distinct facility NPI and plan-segment pairs, contract H8947
Published sourcesPairs
In both12,141
FHIR join only9
Plan Finder file only0

All nine additional pairs come from facility NPI 1457433435. Its FHIR affiliation refers to the Medicare network. That network appears on nine plan segments. The NPI is absent from the Plan Finder file published November 17. Both formats come from the same payer. The reason for the difference is open. Member coverage requires confirmation from the plan.

Payer’s facility affiliation · Example plan segment · 2027 Plan Finder index

Repeat the comparison locally

Save the payer’s Plan Finder file (51 MB) as mpf.json, the affiliations with their organizations as org-includes.json, and the plan segments as plans.json. Save the Python file in the same folder.

python3 compare-peak-plans.py mpf.json org-includes.json plans.json

The local check resolves each facility’s published NPI and joins network references. The output includes hashes of all three inputs and lists any pairs found on just one side. New publications can change the result.

Download the dated comparison (JSON) · Download the facility-plan check (Python) · Payer’s API guide

One organization in two CMS files

CMS keeps historical deactivation dates on some active records. Test your export with ten dated cases.

Organization NPI 1770117616 appears in the November 9 deactivation workbook. The following weekly file records its November 9 reactivation. Checking the two files in release order changes the answer.

NPI 1770117616 in the November releases
CMS sourceRegistry statusSource row
Nov 9 deactivation workbookDeactivated785
Nov 9–15 weekly CSVActive1,015

Another five organizations in the sample had already reactivated before November. For example, NPI 1972008266 has a July 9, 2019 deactivation and an August 29, 2019 reactivation. Its November weekly record still contains both.

Nov 9 deactivation workbook (ZIP) · Nov 2–8 weekly CSV (ZIP) · Nov 9–15 weekly CSV (ZIP) · Official NPI record

Eight organizations reactivated before November

The two weekly files contained 13 distinct organizations with both a deactivation and a later reactivation date. Eight had reactivated before November 1. On November 18 the official CMS registry showed all eight as active. At 6:18 a.m. ET, NPIRadar’s documented bulk endpoint returned deactivated: true for all eight. A separate active control and a deactivated control both matched their CMS records.

Five additional organizations reactivated during November. We excluded those from this comparison to allow for differences in release timing. This result describes the eight organizations meeting the earlier cutoff in these files. It cannot estimate an error rate for the overall directory.

Download the eight source records (CSV) · Directory API documentation · One live directory result · Matching official record

One NPI, two identifier URLs

The November 3 National Provider Directory bulk file has 2,074,486 Organization records. Its 2,313,125 NPI references all use one identifier URL. The live FHIR API used a different URL on four matching records checked November 18. An importer that filters the bulk file for the live API’s URL alone finds zero NPIs.

The file contains 1,991,694 distinct NPI values. Of those, 319,832 appear on more than one resource. For example, NPI 1285852772 appears on line 1,917,410 in a provider record and on line 2,011,368 in a record labeled ein. Preserve both resource IDs if your application needs both roles. Facility counts and payer participation require separate evidence.

Live provider record · Live group record · HL7 identifier definition

Reproduce the count on the November 3 file

Download 01-Organization.ndjson.zst from CMS and save the Python counter beside it. Compare the compressed file’s SHA-256 with the one in the results. CMS replaces the current download when it releases new data.

zstd -dc 01-Organization.ndjson.zst | python3 count-organizations.py

The counter processes one organization at a time and counts each NPI once per resource. It requires Python 3 and enough memory to retain the release’s identifiers. The command uses the free zstd decompressor.

CMS release files · Download the totals and four matched records (JSON) · Download the release counter (Python)

Commission an import check for your feed

Test one export

Use an export that includes the November 9–15 weekly file. Save the cases and the Python checker in one folder. In your export, name the columns npi and registry_status. Use active or deactivated for the NPPES record.

Download the offline checker (Python)

python3 check-roster.py your-export.csv

You get one result per case, including missing and duplicate records. The checker runs locally and uses only Python’s standard library. To see a passing result, use nppes-status-cases.csv as the export.

The cases cover eight reinstated organizations, one organization with no deactivation date in its weekly record, and one deactivation-only record. The set was selected to test those cases. NPPES status describes an identifier. Licensing, Medicare enrollment, practice status and payer participation each require separate evidence.

$95 to verify one roster release

For directory publishers and data teams. Send the release date and one public organization NPI whose status you want to check. Kit Rx will confirm the scope before starting.

The review covers up to 20 public organization NPIs from one export, a row-by-row comparison to the matching CMS release, and one retest after an import change. The $95 fee is due after you reproduce and accept a discrepancy. If the agreed statuses match, the fee is $0.

The review needs only public NPIs, exported registry statuses and a release date.

$250 to verify one directory import

Choose one comparison for your data team. For a payer directory, we check one public contract year, one Plan Finder file up to 100 MB, and one documented FHIR API. For a federal directory, we compare one public FHIR R4 Organization release up to 5 GB uncompressed with one documented API.

You receive source fingerprints, counts, up to 20 worked public facility examples, and a runnable Python check adapted to your files. We include one retest.

Payment is due after you reproduce and accept the agreed results. To request a scope, send the two public source links and the count or join your importer needs to preserve.