← All articles

340B Carve-Out of Non-HIV Generics at Contract Pharmacies

Carlos Rangel
340B Carve-Out of Non-HIV Generics at Contract Pharmacies
Learn how to evaluate net-per-claim by drug class, execute a 340B carve-out of non-HIV generics at contract pharmacies, and protect your margin. Get.

Table of Contents

Last Updated: September 27, 2026

Why Non-HIV Generics Often Net Negative at Contract Pharmacies

A 340B carve-out removes a defined set of drugs from a covered entity's contract pharmacy arrangement so those claims no longer fill under 340B pricing, and the 340B carve-out conversation almost always starts with the same discovery. In programs we run, the conversation almost always starts with the same discovery: a whole drug class is quietly losing money.

Here's what most statements hide:

  • A blended "total savings" figure that looks healthy on paper
  • No breakdown by drug class, so loss-making generics stay invisible
  • Fees netted out of the total, not attached to the claims that generated them
  • Trailing insurer A/R that hasn't collected yet, which distorts the picture
Watch Out Ignoring negative-net drug classes is the most common and most expensive mistake in contract pharmacy management. A class that loses a little on every claim can erase the gains from the drugs that actually perform.

How to Run a 340B Contract Pharmacy Net-per-Claim Analysis

A 340B contract pharmacy net-per-claim analysis calculates what the covered entity actually keeps per claim after the ceiling price, dispensing fee, TPA fee, and any withhold. The output is a true number per claim by drug class, not a blended total, and the arithmetic is where carve-out decisions get made.

Program manager reviewing claim reports for a 340B carve-out at a desk
Program manager reviewing claim reports for a 340B carve-out at a desk

The Net-per-Claim Formula, Field by Field

Build one row per claim, one column per money field. The formula is simple; the discipline is not skipping fields.

  1. Start with the 340B ceiling price for that NDC and fill date.
  2. Add the dispensing fee the pharmacy charged.
  3. Add the TPA fee, applied per claim, not per fill, not per line.
  4. Subtract both fees from the payer reimbursement to get gross margin.
  5. Subtract the withhold reserve only if it is truly unrecoverable; otherwise flag it as a timing item.
  6. Net the reversal and rebill pairs so a corrected claim does not count twice.

What to verify on every line:

  • Ceiling price applied for the correct fill date, not the current quarter
  • Dispensing fee consistent with the pharmacy services agreement
  • TPA fee applied per claim, not per fill
  • Withhold reserve shown separately, not buried in the net
  • Reversal and rebill pairs that cancel out

Cash Basis vs. Accrual Basis: Why the Same Month Shows Two Answers

Read the TPA statement on both a cash and an accrual basis before concluding a class is negative.

View What It Shows What It Hides
Cash basis What actually hit the bank this month Trailing insurer A/R not yet collected
Accrual basis Margin earned on claims adjudicated this month Cash still sitting in the pharmacy's account
Pro Tip Run the analysis on both bases, side by side, for at least three consecutive months. A class that looks negative on cash and positive on accrual is a collections-timing problem, not a drug problem.

Building the Drug-Class Margin Table

Group claims by drug class, then calculate net per claim for each. HIV antiretrovirals usually hold positive; non-HIV generics frequently do not.

Drug Class Typical Net per Claim Common Driver Action
HIV antiretrovirals Positive Higher ceiling-to-reimbursement spread Keep in contract pharmacy
Injectable PrEP Positive Drug plus administration billed together Keep, watch documentation
Non-HIV generics Negative to flat Low spread, fees exceed margin Carve out or move modality
Specialty brand Varies Manufacturer restrictions may apply Check eligibility per drug
Key Takeaway A class that nets negative on both cash and accrual, after withholding is treated as a timing item, is a genuine carve-out candidate. A class that nets negative only on cash is a collections conversation with the pharmacy, not a carve-out.

HRSA's 340B program guidance and covered entity resources

Carve-In vs Carve-Out: A Decision Matrix for Covered Entities

Carve-in versus carve-out is a margin decision, not a philosophical one. Carve-in keeps everything in the contract pharmacy; carve-out removes specific drugs or classes; a modality change often beats both. The mistake is treating this as one decision when it is two: the Medicaid carve-in election and the commercial carve-out of specific classes.

How a Carve-Out Swings a Quarter Positive

The math is straightforward once you have class-level net. If a class nets negative on every claim, removing it stops the bleed immediately, the swing is eliminated loss per claim multiplied by claim volume, not the drug's revenue.

Situation Recommended Path Why
Class nets clearly negative on cash and accrual Carve out Stop the loss per claim
Class nets flat but strategic Keep, renegotiate fees Patient access matters
Fees are the problem, not the drug Move to a new modality Virtual or replenishment models cut cost
Physical inventory model required Model month by month first Clinic may fund about a month of COGS
Volume high, margin thin Reduce volume, then transition Lets A/R collect before notice
Key Takeaway Carve-out removes the drug. Modality change removes the cost. Diagnose which one is actually hurting before you pick a path.

Carve-In and Carve-Out Are Separate Decisions

340B Medicaid carve-in means the covered entity chooses to use 340B drugs for its Medicaid patients. That election is independent of whether you carve out non-HIV generics at the contract pharmacy, you can do both at once.

What to verify:

  • Every Medicaid ID listed on the HRSA Medicaid Exclusion File
  • FFS pharmacy claims carrying Basis of Cost 08 and Submission Clarification Code 20
  • Ingredient cost capped at the 340B ceiling price plus the state dispensing fee
  • Managed care encounters coded per each plan's specification, using SCC 20 and 9
  • State Medicaid agency billing rules reviewed against current claims processing
Watch Out A carve-out does not change your Medicaid carve-in obligations. If a carved-out drug is still dispensed to a Medicaid patient through another channel, the duplicate discount rules still apply. Track the two decisions independently or the audit trail breaks.

Approving the Carve-Out With the Pharmacy in Writing

Execution is where most carve-outs stall. The analysis says go, but nothing changes because no one put it in writing with the pharmacy.

Book a Free Strategy Call →

  1. Finalize the NDC or drug-class list and share it in writing, not verbally.
  2. Review the pharmacy services agreement's notice clause; most include a 60-day no-cause termination or modification period.
  3. Reduce volume first, let trailing A/R collect, then request a true-up of the withhold reserve.
  4. Issue written notice with the effective date and the NDC list, and keep a copy in the compliance file.
  5. Reconfigure the TPA's drug exclusion list and verify with a test claim.
  6. Confirm patient access through the entity's own pharmacy or a standard retail channel.

340B Medicaid Carve-In Requirements You Cannot Ignore

340B Medicaid carve-in means the covered entity chooses to use 340B drugs for its Medicaid patients. Once made, the entity's Medicaid provider ID must appear on the HRSA Medicaid Exclusion File for every site and billing number it uses.

What to verify:

  • Every Medicaid ID listed on the HRSA Medicaid Exclusion File
  • FFS pharmacy claims carrying the correct basis of cost and submission clarification code
  • Ingredient cost capped at the 340B ceiling price plus the state dispensing fee
  • Managed care encounters coded per each plan's specification
  • State Medicaid agency billing rules reviewed against current claims processing
Key Takeaway Carve-in and carve-out are separate decisions. A covered entity can carve in for Medicaid and carve out non-HIV generics at the same time. Track them independently or the audit trail breaks.

Step-by-Step: Executing the Carve-Out With Your Pharmacy Partner

Execution is where most carve-outs stall: the analysis says go, but nothing changes because no one put it in writing with the pharmacy. Here is the workflow we use.

What You'll Need:

  • Current claim detail from the TPA
  • Drug-class margin table
  • Pharmacy services agreement with notice terms
  • List of carved-out NDCs or classes

CDC guidance on 340B and public health program requirements

What to Monitor After the Carve-Out Goes Live

Track these monthly:

  • Dispensing volume by class before and after the carve-out
  • Net per claim on the classes that stayed in
  • Patient access to carved-out drugs, including wait times and referrals
  • Medicaid claims to confirm no duplicate discount has crept in
  • Prescriber rosters, reconciled against an EHR claims report by rendering NPI every quarter
  • Manufacturer restrictions on contract pharmacy access, which shift year to year
Pro Tip In our experience, prescriber configs drift. In one audit, roughly a third of active rendering providers were missing from the TPA config, including the owner, because mid-levels rendered under a supervising NPI. Reconcile the TPA config against the EHR every quarter and list supervised providers under both NPIs.

If the carve-out was the right call, margin should improve within a quarter. If it does not, the problem was never the drug class, it was the fee structure, and the next move is a modality change.


Book a free 30-minute strategy call

Frequently Asked Questions

What is a 340B carve-out at a contract pharmacy?

A carve-out removes specific drug classes, typically non-HIV generics, from your contract pharmacy arrangement so those claims no longer run through the 340B program. The pharmacy dispenses them under standard commercial or Medicaid reimbursement instead. Covered entities carve out when net-per-claim analysis shows a drug class consistently loses money after dispensing fees, TPA charges, and wholesaler acquisition costs are applied. The carve-out must be documented in writing with the pharmacy and reflected in your TPA configuration.

Why do non-HIV generics often result in negative net-per-claim?

Generic drugs carry low 340B ceiling prices, which sounds favorable until you subtract the full cost stack. Dispensing fees, TPA per-claim charges, and wholesaler minimums often exceed the spread between the ceiling price and the reimbursement rate. Low-cost generics like metformin or lisinopril may net a few cents per claim or go negative once every fee is allocated. In our experience, reviewing net-per-claim by drug class reveals that non-HIV generics are the most common source of hidden losses at contract pharmacies.

How do I evaluate 340B pharmacy claim profitability?

Pull the pharmacy claim detail from your TPA and build a line-by-line margin view. For each claim, subtract the 340B ceiling price, dispensing fee, and any per-claim TPA charge from the reimbursement received. Group results by drug class: HIV antiretrovirals, non-HIV generics, specialty, and so on. Read your TPA monthly statement on both cash and accrual bases, because cash-basis ledgers can show you owing the pharmacy while accrual shows the pharmacy holding your margin in trailing insurer A/R. Review at least one full quarter before deciding.

What are the risks of carving out specific drug classes?

Carving out non-HIV generics reduces 340B volume, which can affect manufacturer rebate thresholds and contract pharmacy performance guarantees. Patient access should not change since the pharmacy still dispenses the medication, just under a different reimbursement pathway. Watch your Medicaid rules: if your entity is carved in to Medicaid FFS, removing a drug class from 340B does not remove duplicate discount obligations. Document the carve-out in writing and update your TPA prescriber and drug-class configuration to prevent claims from running through the wrong pathway.

Want this for your clinic?

Bring us your patient acquisition, 340B program, or compliance bottleneck. We will show you what a 30-day launch looks like for your clinic — in English or Spanish, month to month, no long contract.