Free AuditEnterprise AIShelfSense
Back to Blog
PharmacyApr 19, 20269 min read

Compounding Pharmacy Source-Lot Records — USP 795/797/800 Compliance Without the Manual Burden

USP <795> / <797> / <800> documentation, MFR-to-CR generation, BUD calculator, ingredient lot capture, 503A vs 503B distinction. The compounding-pharmacy compliance backbone.

SE

ShelfLifePro Editorial Team

Inventory management insights for retail and pharmacy

Why compounding records are the highest-stakes pharmacy documentation

Compounding pharmacies — facilities that prepare custom-formulated medications for individual patients — operate under USP <795> (non-sterile compounding), <797> (sterile compounding), and <800> (hazardous drug handling) chapters, plus state-board specifics, plus FDA oversight (with 503A vs 503B distinction for outsourcing facilities).

The documentation burden is significant. Each compound prepared must be traceable to the source lot of every ingredient (active pharmaceutical ingredient, excipient, vehicle), to the equipment used, to the personnel who prepared it, to the QA review, to the patient who received it. Records retained per state-specific cycles (typically 2-7 years).

Pharmacies that maintain this documentation manually (paper compounding logs, spreadsheets, scattered records) face audit findings on every state-board inspection. Pharmacies that systematise the documentation pass cleanly.

Free Tool

Not sure how much you're losing to expiry?

Run a free inventory waste audit — find your bleeding SKUs in 60 seconds. No sign-up required.

Run free audit

The five record categories USP requires

1. Master formulation record (MFR). The recipe — ingredients, quantities, equipment, procedure, BUD (beyond-use date) calculation, packaging, labelling. Approved by pharmacist; reviewed periodically.

2. Compounding record (CR). Per-batch documentation — date, lot assigned, ingredient lots used, quantities measured, equipment ID, personnel ID, in-process checks, final QA review, BUD applied.

3. Ingredient receipt records. Per-shipment of API + excipients — supplier, lot, quantity, COA on file, expiry / retest date.

4. Equipment use + cleaning records. Per-equipment usage log; cleaning log between batches; calibration log.

5. Personnel training + competency records. Annual training, gloved fingertip / media-fill testing for sterile, fit testing for hazardous handling.

A state-board inspector can ask for any of the five at any time. Records have to retrieve cleanly.

Where compounding pharmacies typically fall short

Ingredient lot capture incomplete. Active pharmaceutical ingredient (API) lot captured at receipt but excipient lots (anhydrous lactose, glycerin, polysorbate, etc.) treated as bulk shelf items without per-lot tracking. State-board audits find the gap.

Compounding record handwritten / inconsistent. Different pharmacists capture different fields; some skip ingredient-lot entries; some miss the in-process check signature.

MFR-CR mismatch. Master Formulation Record specifies one procedure; the Compounding Record shows a slightly different procedure. Indicates the documentation drifted from the approved formulation.

BUD calculation inconsistent. USP <795> and <797> have specific BUD calculation rules based on water activity, formulation type, and storage conditions. Manual BUD calculation is error-prone; some compounds get inappropriate BUDs.

Personnel training records out of date. Annual gloved fingertip testing required for sterile compounding personnel; some pharmacies miss the cycle.

What disciplined compounding pharmacy documentation looks like

1. Per-lot ingredient tracking from receipt through compound. Every ingredient lot scanned / logged at receipt, tied to the COA, and referenced in every compound that uses it.

2. MFR-driven Compounding Record. The CR is generated from the MFR; pharmacist confirms the procedure followed the MFR or documents deviations.

3. BUD calculator integrated. USP-rule-driven BUD calculation; pharmacist reviews and signs off rather than manually computing.

4. Equipment + personnel ID at every step. Scan the equipment barcode; pharmacist uses fingerprint / badge ID. Documentation flows automatically.

5. QA review workflow. Pharmacist-on-shift performs final review; second pharmacist signs off for high-risk compounds.

6. Recall-readiness query. When an ingredient lot is recalled (which happens periodically with pharmaceutical APIs), the system identifies every compound that used the recalled lot, every patient who received those compounds, and produces the notification list.

The 503A vs 503B distinction

Compounding pharmacies operate under one of two FDA frameworks:

503A (traditional compounding pharmacy). Compounds for individual patient prescriptions. State-board regulated primarily; FDA oversight on production exceeding "limited" volumes. Most independent compounding pharmacies are 503A.

503B (outsourcing facility). Compounds in larger volumes for hospital / clinic / physician-office stocks. Registers with FDA; subject to FDA inspection; cGMP compliance similar to manufacturer level.

The documentation burden differs:

  • 503A: USP chapters + state-board records; manageable for a single-facility independent
  • 503B: Full cGMP-equivalent documentation; quality unit; batch records; stability testing program

A pharmacy operating in the 503A space that grows production volume eventually needs to either limit volume (stay 503A) or upgrade documentation (move to 503B).

The hazardous drug compliance overlay (USP <800>)

Compounding pharmacies handling hazardous drugs (chemotherapy, certain hormones, certain immunosuppressants) face additional USP <800> requirements:

  • Hazardous drug list per the institution
  • Receiving-area hazard assessment
  • Storage segregation (negative-pressure room for unpacking; specific storage protocols)
  • Personal protective equipment (PPE) protocols
  • Closed-system transfer devices for high-risk compounds
  • Spill-response procedures
  • Employee monitoring (medical surveillance program)

USP <800> is enforced by state boards and (where applicable) by Joint Commission for hospital pharmacies. Findings are common because the standard is rigorous and universal compliance is recent.

Where ShelfLifePro fits for compounding pharmacies

ShelfLifePro tracks ingredient lot at receipt with COA file linked, generates Compounding Records from approved Master Formulation Records, supports BUD calculator integration with USP rule sets, captures equipment + personnel ID at every step, and produces ingredient-lot recall query in minutes. Plus the standard pharmacy controlled-substance perpetual inventory for state-board compliance.

Free 14-day trial.

Related reading

SE

ShelfLifePro Editorial Team

The ShelfLifePro editorial team covers inventory management, expiry tracking, and waste reduction for pharmacies, supermarkets, and retail businesses worldwide.

See what batch-level tracking actually looks like

ShelfLifePro tracks expiry by batch, automates FEFO rotation, and sends markdown alerts before stock expires. 14-day free trial, no credit card required.

Newsletter

Weekly expiry-tracking playbook

One short email every Tuesday. FEFO tactics, markdown math, and real-world waste-reduction wins. Unsubscribe anytime.

No spam. Unsubscribe in one click.