for Pharma
Toggle menu
Answers · Pharma data quality

How do you check late, incomplete, and restated prescription data before you change field strategy on NBRx?

Run a data gate before any NBRx move changes field strategy. The gate has seven checks. Three are data checks: the feed arrived on time, the file is complete, and recent weeks were not restated. Four are NBRx traps: patient continuity, mix and alignment, which NBRx definition the report uses, and whether the sources agree. Decide only on weeks outside the restatement window, and require a hard-to-reverse move to survive the next refresh.

Chris Bergh Published

Key points

  • Say a specialty pharmacy file that should carry 40,000 rows arrives with 26,000 (an illustration, not a measured result). It can load with no error, because a partial file passes every structural check.
  • In the weekly prescription feeds we run, recent weeks often change on refresh and older weeks can too, so a decision on recent weeks needs a recheck after the next delivery.
  • A continuing patient who gets a new de-identified token can look new to the brand, which inflates NBRx.
  • For example, a territory realignment can drop a rep's numbers by 40 percent overnight while the underlying data is correct. The figure is illustrative.
  • DataKitchen recommends deciding only on weeks outside the restatement window and requiring any hard-to-reverse NBRx move to survive the next refresh before it changes field strategy.

Why NBRx needs a gate before the decision

A field strategy change is expensive and slow to reverse. You move a rep, rewrite a call plan, change a target list, or adjust an IC payout, and unwinding any of it takes time. NBRx is the number that most often triggers one of those moves during a launch. It is also the number most exposed to data events.

That mismatch is the problem. A late file, a partial file, or a restated week can move NBRx without a single error message. A data error can push NBRx up as easily as down. A restatement often looks like growth, and nobody questions a number moving the right way.

The three data checks: late, incomplete, restated

These three checks are the front of a longer sequence. Is an NBRx decline real or late, restated data? gives the full check order for a falling number. Here is what each one asks before a decision.

Late. A weekly syndicated file should arrive exactly once per week. Feeds go missing and feeds get loaded twice, and neither throws an error. Check the vendor’s data week and delivery date, not only the warehouse load time, because a late file can still load and show a fresh load date. Confirm the data week behind the report is this week’s, and that there is one delivery per period. A resend the vendor announced as a correction replaces the earlier file. It does not count as a duplicate.

Incomplete. Take an illustrative case: a specialty pharmacy file that should carry 40,000 rows arrives with 26,000 and loads cleanly. Every row is valid, nothing is null, the schema is unchanged. Count rows against the vendor control record, and sum the amount column on both sides at fixed precision. Where there is no control count, bound the volume against that feed’s own history instead of a fixed threshold. A specialty feed legitimately shrinks on a holiday week, and a fixed threshold flags a normal week as broken.

Restated. This is what we see running these feeds, and restatement behavior varies by product and feed. In the weekly prescription feeds we run, recent weeks often change on refresh, and older periods can change too. Call the recent weeks the restatement window and the older weeks the stable tail. Keep a snapshot of each period as it was received, and diff the overlapping periods when the next file lands. The snapshots are raw deliveries, kept exactly as received, in your cloud. Then sort each change. A change inside the restatement window that the vendor flagged, or that falls inside that feed’s usual range of revision, is expected. Review and accept it. A change in the stable tail, or one far outside the usual range, is a silent rewrite. Flag it. This is the check most teams skip. If a number you already reported has changed on you, here is what happens when pharma sales history changes.

Four traps to check on NBRx

NBRx counts patients new to the brand, so it depends on patient history. That creates four traps to check on NBRx. Mix, alignment, and source reconciliation also affect TRx and NRx, so run them on those metrics too.

Patient continuity. Longitudinal patient data uses de-identified patient tokens, and token changes between deliveries break patient continuity. Each source tokenizes its own way, so the same patient can appear several times, and linkage between deliveries can fail even when the vendor runs token matching. A continuing patient who gets a new token can look new to the brand, which inflates NBRx. To measure it, compare this delivery’s new-to-brand patients against the prior delivery’s patient history. Watch two numbers: the share of patients flagged “new,” and the share of tokens that do not link back. A jump in either means a linkage problem, not new patients. Run this check between deliveries before you trust an NBRx jump.

Mix and alignment. A sudden shift in the mix of payer types, specialties, or geographies usually points to an upstream mapping regression rather than real market movement. An NDC remapped to a different market basket moves one group down and another up while nothing errors. Alignment is the other half. For example, a realignment can drop a rep’s numbers by 40 percent overnight with the underlying data correct (the figure is illustrative). It changes which territory gets credit for a prescriber, not who prescribes. If the regional totals still add up to the national total, no prescriptions were lost. They were reassigned. Confirm it by comparing the alignment version used this week with last week’s, and do that before a regional NBRx move changes anything for a rep.

NBRx definition. NBRx can reach your reports from more than one product, such as patient-level claims (IQVIA APLD), IQVIA’s source-of-business product, and new-to-brand data offered alongside prescriber-level panels. Each one defines “new to brand” with its own rule: a lookback or wash-out window, eligibility, indication, and exclusions. So they can disagree for the same prescriber and week. Change any of these rules, or the product behind the report, and NBRx moves while the market has not. Before a field decision, know which NBRx the report uses and which rule version produced it.

Source reconciliation. Two NBRx sources can disagree for the same prescriber and the same week, patient-level claims on one side and source of business (SOB) on the other. Reconcile them before a prescriber-level or territory-level NBRx number drives a call plan or a targeting change. A commercial analytics team has to be able to answer one standard question: do APLD, Xponent, and SOB agree on NBRx and TRx, and if not, why? Confirm the data week too. The feeds land on different days. In one weekly schedule we run, the HCP-level prescribing feed lands midweek and the patient-level and SOB feeds land days later, so a report that combines them can mix data weeks. Confirm every feed behind the report is on the same data week.

The gate as a table

The gate has seven checks: the three data checks and the four NBRx traps.

CheckQuestionWhat a data cause looks likeWhat to do before deciding
LateDid this week’s file arrive on time, exactly once?The vendor’s data week or delivery date is behind this week even though the warehouse load time looks fresh, or two deliveries landed for one period with no vendor correction notice.Load the missing file or remove the duplicate, then rerun the report. Let a vendor-announced correction replace the earlier file.
IncompleteIs the file the size it should be?Row count below the vendor control record, amount sums that disagree at fixed precision, or volume outside that feed’s own history.Get the vendor to resend, then rerun the report.
RestatedDid periods I already saw change?Overlapping periods differ from the snapshot you received earlier, and the change is in the stable tail or far outside that feed’s usual range of revision.Accept reviewed corrections, flag silent rewrites, and mark window weeks provisional.
Patient continuityDo patients link across deliveries?Token changes between deliveries, a jump in the share of “new” patients, or a jump in the share of tokens that do not link back.Compare new-to-brand patients against the prior delivery’s history before you trust the NBRx jump.
Mix and alignmentDid the mix or the alignment version change?A sudden shift in payer, specialty, or geography mix, an NDC in a new market basket, or regional totals that still add up to national while a rep’s numbers fall (credit was reassigned, not lost).Confirm the mapping and compare this week’s alignment version with last week’s before anything changes for a rep.
NBRx definitionWhich NBRx does the report use, and did its rule version change?NBRx moves with no change in the market after a change to the lookback window, eligibility rule, indication rule, exclusions, or the product behind the report.Confirm which NBRx the report uses and that its rule version matches last week’s before you trust the move.
Source reconciliationDo patient-level claims and source of business agree for the same prescriber and week, on the same data week?The two sources disagree on NBRx or TRx, or the feeds behind the report sit on different data weeks.Reconcile the sources and confirm every feed is on the same data week before the number drives a call plan.

Which weeks you are allowed to decide on

This is DataKitchen’s recommendation, not an industry standard.

Decide on weeks outside the restatement window. If you must decide on window weeks, mark the decision provisional and recheck it after the next refresh. Then match the action to how hard it is to undo. Reversible actions can run on a provisional number, for example reallocating samples or reprioritizing calls for a week. Hard-to-reverse actions wait for the gate: moving a rep, changing a territory, rewriting the call plan, changing targeting. For those, do not act on a move that appears in one delivery only. Require the move to survive the next refresh. IC payouts run on the locked data cutoff the plan sets. The gate respects that cutoff and does not override it.

Attach the check results to the brief. The VP of sales should see that the data was tested before the decision, not after.

Then name who signs off. Commercial operations or analytics owns the data gate. The brand and sales leads own the decision. This split is not full independence. Operations and analytics often feel the same pressure for an answer as sales and brand. What makes the sign-off real is written authority for the gate owner to hold a refresh from field reporting, which the brand lead cannot override alone.

Why DataKitchen

If you run this gate yourself, someone runs the delivery check, the counts and volume bounds, the overlap diff, the source reconciliation, and the mix and alignment ties by hand on every refresh. With our service, your team stops running those by hand. DataKitchen’s commercial pharma data team is a managed service. We engineer and run the data platform in your cloud. In the pipelines we run, the first step checks that the vendor delivered the complete weekly extract before anything moves into the tables reports read.

Software runs those checks. A person still has to accept an expected restatement, judge whether a move is real, and make the decision. When a check fails, the refresh is held back from field reporting and the owner is notified, so a partial or late week never reaches the field as if it were complete.

In our drug launch case study, field reporting was ready six months before the expected launch, with claims, Rx, payer plan, incentive compensation, and marketing automation reports fully functional. An average of 1.5 data engineers built the platform. Claims data ran to tens of billions of rows, with statistical process control tests from day one. The platform lives in your cloud and in your repo, and it transfers to your team when you say. Read the drug launch case study for how that looked in practice.

We need two things from your team: access to the vendor deliveries and to the cloud account where the platform runs. We start with the feeds behind the NBRx report your field is using.

Talk to us at /contact/ about putting a data gate in front of your next field decision.

Follow-up questions

Frequently asked questions

Can an NBRx increase be wrong too?

Yes. A data error can push NBRx up as easily as down. An NBRx increase can come from a restatement, a partial prior week, or a token change that makes continuing patients look new. A restatement often looks like growth, and nobody questions a number moving the right way, so a rise needs the same gate as a fall.

What is the restatement window?

The restatement window is the recent weeks that, in the weekly prescription feeds we run, often change on refresh. The older weeks, the stable tail, change less often, but they can change too. Diffing overlapping periods across a few deliveries against your saved snapshots shows you where your feed's window ends.

What should I do if a move shows up in only one delivery?

Do not make a hard-to-reverse change on a move that appears in one delivery only. That means moving a rep, changing a territory, rewriting the call plan, or changing targeting. DataKitchen recommends requiring the move to survive the next refresh. Reversible actions, such as reallocating samples for a week, can run on a provisional number. Recheck the decision after the next delivery lands.

How do I check a file that has no vendor control count?

Bound the volume against that feed's own history instead of a fixed threshold. A specialty pharmacy feed legitimately shrinks on a holiday week, so a fixed threshold flags normal weeks as broken. The feed's own history tells you what size of shrink looks normal.

Who signs off on the data check before a field decision?

Commercial operations or analytics owns the data gate, and the brand and sales leads own the decision. The gate owner is not fully independent, so the sign-off needs written authority to hold a refresh from field reporting that the brand lead cannot override alone. Attach the check results to the brief, so the VP of sales sees that the data was tested before the decision, not after.

Talk to the team that tests this data every week.

Half an hour on your stack, your launch window, and what the first sprint would look like.