PHAR-122 · Lesson 10 of 12 · 25 min

Quality control: verification, testing and release

▶ Video coming soon A video version of this lesson is on the way.

On a Thursday in November 2026, Harrowgate's pharmacy received a call from a nurse on the oncology day unit. An infusion bag labeled with one concentration looked fuller than she expected. Ignatius pulled the compounding record, the photographs captured by the pharmacy's IV workflow system and the gravimetric data, and within ten minutes confirmed that the bag was correct: the fuller look came from the manufacturer's overfill in the base bag, which the pharmacy's procedures account for. He used the call as a teaching moment for Linnea, reminding her of the 2013 Canadian incident described in Lesson 1, in which an outside supplier's failure to account for overfill led to more than 1,200 patients receiving under-concentrated chemotherapy. Quality control is the set of checks that catch errors before a preparation leaves the pharmacy, and the records that let a pharmacist answer a question like the nurse's with evidence rather than reassurance.

Quality assurance and quality control

Quality assurance (QA) is the overall system of policies, procedures and activities that ensures preparations consistently meet their quality requirements. Quality control (QC) is the subset of QA consisting of specific checks and tests on materials, processes and finished preparations. USP informational chapter 1163 describes a QA program for compounding, and both the Canadian standards and USP chapters 795 and 797 require a written QA program that includes QC, complaint handling, recalls, adverse event reporting and continuous improvement.

A useful way to think about QC is in three stages: before compounding (checks on the prescription, calculations, ingredients and equipment), during compounding (in-process checks), and after compounding (checks on the finished preparation before release). Errors caught early are cheaper and safer to correct.

A flow from prescription to release with check gates. Prescription review and clinical check; calculation verified independently; ingredient identity, lot and expiry verified, by barcode where available; in-process checks such as weights, volumes and photographs; final preparation checks: appearance, volume or weight, container integrity, label; testing where required: potency, sterility, endotoxins, pH; pharmacist final verification and release; documentation in the compounding record. Arrows from any failed gate lead to stop, investigate and correct.
Figure 1. Quality control gates from prescription to release.

Before compounding

Prescription and clinical review

Every compounded preparation begins with a pharmacist's review of the prescription for appropriateness: the indication, the drug and strength, the dosage form and route, compatibility with the patient's other therapy, allergies and the need for compounding. For sterile preparations, the review also considers compatibility of the drug with the diluent and container, the final concentration and the infusion rate. A prescription that cannot be safely compounded as written is clarified with the prescriber.

Calculations and ingredients

Calculations are verified independently (Lesson 4). Ingredients are selected against the master formulation record and verified for identity, strength, lot and expiry. Barcode scanning of ingredients, now common in hospital sterile compounding and increasingly in community compounding, catches selection errors that the eye can miss, such as a look-alike vial of a different concentration. Equipment is checked: balance verification logged, PEC certification current, pressure readings acceptable.

During compounding

In-process checks catch errors while they can still be fixed. For non-sterile preparations, these include printed balance tickets attached to the compounding record, a second person checking critical weighings, and checks of intermediate properties such as the smoothness of a levigated paste or the pH of a solution before it is brought to volume.

For sterile preparations, verification has historically relied on the syringe pull-back method, in which the compounder draws up the volume of drug, then pulls the syringe plunger back to the mark and presents it, with the vials used, for a pharmacist to check before injection. This method is prone to error: the pharmacist cannot be sure that the volume shown is what was injected. Modern practice increasingly uses technology:

  • Barcode verification of every ingredient at the point of compounding.
  • Gravimetric verification, in which each component is weighed and the weight converted to volume using its specific gravity, so that the system confirms the actual amount added within a defined tolerance.
  • Photographic or video capture of each step, allowing a pharmacist to verify remotely and leaving a permanent record.
  • IV workflow management systems that combine these elements, guide the compounder step by step and generate the compounding record automatically.

The Institute for Safe Medication Practices in both countries has published guidelines encouraging the use of these technologies and discouraging the syringe pull-back method for high-alert medications.

Worked problem

Gravimetric verification

A compounder adds a hypothetical Drug M solution to a bag. The master formulation requires 12.0 mL of Drug M solution, whose specific gravity is 1.05. The empty syringe weighs 9.20 g and the filled syringe weighs 21.86 g. Within a tolerance of 5 percent, is the volume acceptable?

Show solution
  1. Mass of solution = 21.86 minus 9.20 = 12.66 g.
  2. Volume = mass / specific gravity = 12.66 / 1.05 = 12.06 mL.
  3. Allowed range = 12.0 mL plus or minus 5 percent = 11.4 to 12.6 mL.
  4. 12.06 mL falls within the range.

Answer: The measured volume is about 12.1 mL, within tolerance, so the step is accepted. Workflow systems perform this calculation automatically and flag results outside tolerance.

After compounding: the finished preparation

Physical inspection

Every compounded preparation is inspected before release. Checks depend on the dosage form:

Table 1. Typical release checks by dosage form.
Dosage formTypical release checks
Oral solutionClarity, color, absence of particles or precipitate, final volume, odor, container and closure
Oral suspensionUniform appearance, ease of redispersion, absence of caking or large particles, volume
CapsulesWeight of each capsule or a sample against the target, appearance, no powder on surfaces, closure
Ointments, creams, gelsSmoothness, absence of grittiness, uniform color, no phase separation, weight
SuppositoriesWeight, appearance, uniformity, no cracks, fissures or blooming
Sterile solutionsVisual inspection against light and dark backgrounds for particles, cloudiness, color change; container integrity; leakage; volume

The label is checked against the prescription and compounding record: patient, drug names and strengths (including whether expressed as salt or base), quantity, beyond-use date, storage, route, auxiliary labels and, for sterile and hazardous preparations, additional required statements.

Testing

Most compounded preparations are released on the basis of process controls and inspection, not laboratory testing. Testing is required or advisable in specific situations:

  • Sterility testing using USP chapter 71 or a validated alternative, required for Category 3 CSPs and for Category 2 CSPs that are assigned beyond-use dates longer than the untested limits; it is also required under Canadian standards for some preparations, such as high-risk batches, before an extended date can be used.
  • Bacterial endotoxin testing using USP chapter 85, required for some CSPs made from non-sterile ingredients and for Category 3 CSPs where applicable.
  • Potency (assay) testing by a contract laboratory using a validated, stability-indicating method, to verify a new formulation, to support a beyond-use date, or as periodic verification of high-volume or high-risk preparations.
  • Filter integrity testing, such as the bubble point test, after sterilizing filtration, to confirm that the filter was intact.
  • pH, specific gravity or other physical tests where the master formulation record specifies them.

Sterility tests take about 14 days. When a preparation is released before results are available, the standards expect a written procedure for observing the test daily and for immediately recalling the preparation and notifying prescribers and patients if the test fails.

Worked problem

Interpreting a potency result

Quillon Bay sends a sample of a new batch of a hypothetical Drug V oral suspension, labeled 2 mg/mL, to a contract laboratory as part of verifying a newly adopted formulation. The laboratory, using a validated stability-indicating method, reports 1.72 mg/mL. The master formulation record states an acceptance range of 90 to 110 percent of the labeled strength. What does the result mean, and what should the pharmacy do?

Show solution
  1. Percent of label = 1.72 / 2.00 x 100 = 86 percent.
  2. 86 percent is below the 90 percent lower limit, so the batch fails its acceptance criterion.
  3. Quarantine any remaining stock from the batch and, if any has been dispensed, use the compounding records to identify patients and contact prescribers about a recall and replacement.
  4. Investigate possible causes: a calculation or counting error, the wrong tablet strength, incomplete transfer from the mortar, a non-uniform suspension that was not shaken before sampling, degradation during transport, or a laboratory error. Request a retest of a retained sample if one exists.
  5. Correct the cause, document the investigation and outcome, and consider repeat testing of the next batches before treating the formulation as verified.

Answer: The batch contains about 86 percent of the labeled amount, outside the acceptance range. It is quarantined or recalled, the cause is investigated and corrected, and the outcome is documented. A single passing result would not have proved every batch correct, which is why testing complements, rather than replaces, process controls.

Two points about testing are often misunderstood. First, a test result describes only the sample tested; uniformity depends on mixing, and a sample drawn from an unshaken suspension can mislead in either direction. Second, a result within limits immediately after compounding says nothing about stability over the beyond-use date, which requires testing at intervals across the storage period under the labeled conditions (Lesson 11).

Final verification and release

A pharmacist performs the final verification, confirming that the preparation matches the prescription and master formulation record, that all checks have been completed and documented, and that the label is correct. Only then is the preparation released. In the United States and in Canadian provinces where pharmacy technicians are regulated, technicians may perform defined checks within their scope, but the release decision for compounded preparations is governed by provincial or state rules and the facility's procedures.

When things go wrong

Complaints, adverse events and recalls

Despite every precaution, problems occur. A QA program includes procedures for receiving and investigating complaints from patients and health professionals, reporting adverse events, and recalling preparations. A recall procedure identifies the preparations affected (using compounding records and lot numbers), notifies patients and prescribers, retrieves remaining product, and documents the outcome. In the United States, outsourcing facilities must report serious adverse events to FDA, and pharmacies may report to FDA's MedWatch program; in Canada, adverse reactions may be reported to Health Canada through the Canada Vigilance program, and hospitals have mandatory reporting obligations for serious adverse drug reactions.

Medication incidents and root cause analysis

Medication incidents, including near misses, are documented, analyzed and used to improve the system. Several Canadian provinces require community pharmacies to report incidents anonymously to a provincial or national database, and the Institute for Safe Medication Practices Canada and ISMP in the United States analyze reports to publish safety alerts. For serious incidents, a root cause analysis asks not who made the error but why the system allowed it, and leads to changes such as standardized concentrations, barcode scanning, forcing functions in software or revised procedures.

Worked problem

Learning from the 2013 incident

Using the 2013 Ontario and New Brunswick chemotherapy incident (Lesson 1), identify system-level QC measures that would have prevented it.

Show solution
  1. Specification: purchasing contracts and labels should have specified concentration (mg per mL) rather than drug per bag, so that the intended use of each bag was clear.
  2. Overfill: the procedure should have accounted for the actual volume in base bags, including manufacturer's overfill, when calculating concentration.
  3. Verification: concentration could have been verified gravimetrically or by testing representative bags.
  4. Oversight: the supplier should have been within a regulator's jurisdiction, with inspections against standards.
  5. Communication: the receiving hospitals' pharmacies needed to understand how the product had been prepared and labeled to use it correctly.

Answer: Concentration-based specifications, procedures that account for overfill, verification of concentration, regulatory oversight of every compounder, and clear communication between supplier and user hospitals would have prevented or detected the error. Ontario's subsequent extension of its pharmacy regulator's authority to hospital pharmacies addressed the oversight gap.

Continuous quality improvement

QA is not static. Pharmacies track indicators such as error rates, environmental monitoring trends, failed checks, complaints and turnaround times, review them regularly, and act on what they show. Periodic audits, sometimes by external accreditation bodies, compare practice with standards. Staff are encouraged to report near misses, because each near miss is a free lesson about where the system is weak.

Documentation of quality control

Every check is documented in the compounding record or a linked log: who checked what and when, the results and any deviation. Electronic workflow systems generate much of this automatically, but non-sterile compounding in community pharmacies still relies heavily on paper records and balance printouts. Inspectors from regulators routinely review QC documentation, and missing evidence of checks is treated as checks not done.

Back on the oncology unit, the nurse was reassured not by Ignatius's confidence but by the photographs and weights he could show her. Linnea wrote in her journal that this was the real purpose of quality control: being able to prove, at any moment, that a preparation is what its label says it is.

Common mistakes

  • MistakeRelying on the syringe pull-back method for high-alert sterile preparations.

    InsteadUse barcode, gravimetric and photographic verification where available.

  • MistakeReleasing a Category 2 CSP with an extended beyond-use date before sterility testing supports it.

    InsteadExtended dates require passing sterility tests; otherwise use the untested limits.

  • MistakeAssuming visual inspection proves sterility.

    InsteadVisual inspection detects particles and gross defects, not microorganisms; sterility depends on process and, where required, testing.

  • MistakeSpecifying drug per bag rather than concentration.

    InsteadSpecify and verify concentration, and account for overfill.

  • MistakeTreating a near miss as no harm, no report.

    InsteadDocument and analyze near misses to fix system weaknesses.

Summary and key terms

  • Quality assurance is the overall system; quality control is the specific checks before, during and after compounding.
  • Before compounding: prescription review, independent calculation checks, ingredient verification (ideally by barcode) and equipment checks.
  • During compounding: balance tickets, second checks, and in sterile compounding barcode, gravimetric and photographic verification rather than syringe pull-back.
  • After compounding: physical inspection by dosage form, label check, testing where required (sterility, endotoxins, potency, filter integrity) and pharmacist release.
  • QA programs include complaints, adverse event reporting, recalls, incident reporting, root cause analysis and continuous improvement.
  • The 2013 Canadian chemotherapy incident illustrates the need to specify and verify concentration and account for overfill.
Quality assurance
The overall system of policies and activities that ensures preparations consistently meet quality requirements.
Quality control
Specific checks and tests on materials, processes and finished preparations.
Gravimetric verification
Weighing components during compounding and converting mass to volume to confirm the amount added.
Syringe pull-back method
A verification method in which a syringe is pulled back to the volume drawn for visual checking; error-prone.
IV workflow management system
Technology that guides sterile compounding with barcode, gravimetric and image verification and records each step.
Sterility test
A test, such as USP chapter 71, that incubates samples to detect viable microorganisms.
Bacterial endotoxin test
A test, such as USP chapter 85, that detects endotoxins from Gram-negative bacteria.
Root cause analysis
A structured investigation of an incident to find the system factors that allowed it.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Give the three stages of quality control in compounding.

    Show answer

    Before compounding, during compounding and after compounding (before release).

  2. Why is the syringe pull-back method error-prone?

    Show answer

    The checker cannot confirm that the volume shown is the volume actually injected.

  3. A syringe of solution with specific gravity 1.20 contains 6.00 g of solution. What volume is that?

    Show answer

    6.00 / 1.20 = 5.00 mL.

  4. Name two tests that may be required for sterile preparations.

    Show answer

    Sterility test and bacterial endotoxin test (also filter integrity, potency).

  5. What does a root cause analysis focus on?

    Show answer

    The system factors that allowed an error, rather than individual blame.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz