Doctors Revision

Pharmaceutical Compounding: Principles, Workflows, and Quality Assurance

Programme: Bachelor of Pharmacy (Year 1, Semester 1)
Module: Introduction to Pharmaceutics — Process of Drug Development
Publisher: Doctors Revision Uganda
Status: Core Foundational Study Note

Pharmaceutical compounding bridges standardised drug manufacturing and individualised patient care. When licensed commercial medicines cannot meet a specific patient’s clinical, dosage, or formulation requirements, pharmacists apply pharmaceutics principles, precise measurement, and quality assurance controls to prepare safe, accurate, and stable preparations.

Educational Disclaimer: This study note is designed strictly for undergraduate pharmacy education and examination preparation. It does not constitute a clinical prescription, validated compounding formula, or authorisation to prepare medicines for human or veterinary use. All actual patient or stock preparations must follow validated pharmacopoeial or institutional monographs, applicable national regulatory requirements, and direct supervision by an appropriately authorised pharmacist.

Ugandan pharmacy student compounds an oral suspension under pharmacist supervision
Supervised nonsterile compounding combines accurate measurement, aseptic awareness, documentation, and final quality checks.

1. Definition, Scope, and the Decision to Compound

In the continuum of the Bachelor of Pharmacy Year 1 curriculum, drug development does not end when a pharmaceutical manufacturer obtains marketing authorisation for a dosage form. Real-world clinical populations—especially neonates, children, older adults, patients with dysphagia, and patients with dermatological or rare metabolic conditions—frequently require strengths, dosage forms, or excipient profiles that are not commercially registered or stocked. Pharmaceutical compounding addresses this therapeutic gap.

According to the World Health Organization (WHO) Good pharmacopoeial practices: Chapter on monographs for compounded preparations (WHO TRS 1010, Annex 6), compounded preparations involve the preparation, mixing, assembling, altering, packaging, and labelling of a medicine or drug-delivery device in accordance with a licensed practitioner’s prescription, medication order, or professional initiative within the practitioner–patient–pharmacist–compounder relationship. Crucially, WHO TRS 1010 Annex 6 distinguishes two closely related operational modes under this umbrella: medicines prepared extemporaneously under pharmacist supervision for a specific named patient, and stock preparations prepared in advance in appropriate facilities for anticipated dispensing. Both must be clearly differentiated from small-scale and large-scale industrial medicine manufacturing.

Scroll the table sideways on a smaller screen.

Comparison of Extemporaneous Compounding, Small-Batch Stock Preparation, and Industrial Manufacturing
Attribute Extemporaneous Patient-Specific Compounding Small-Batch Stock Preparation Industrial Medicine Manufacturing
Primary Trigger Individual prescription or medication order for an identified patient when no suitable commercial product exists. Anticipated clinical demand within a hospital or pharmacy for frequently requested non-commercial formulations. Population-level commercial supply based on market demand and public health tenders.
Batch Size & Frequency Single patient unit (one bottle, jar, or course of capsules) prepared on demand. Small, defined batches prepared in advance inside an authorised hospital or pharmacy compounding unit. Large commercial lots (thousands to millions of units) produced continuously or in campaigns.
Regulatory & Quality Framework Good Pharmacy Practice (FIP/WHO GPP), professional pharmacy standards, and pharmacopoeial compounding monographs. Good Pharmacy Practice, institutional standard operating procedures, pharmacopoeial monographs, and national facility oversight. Marketing authorisation (product registration) and strict Current Good Manufacturing Practice (cGMP).
Finished-Product Testing Routine destructive analytical assay of every single prescription is impractical; relies on verified calculations, in-process checks, and physical inspection. Periodic quality control (e.g. pH, visual checks, fill weight, targeted assay or microbial checks where applicable) alongside strict batch records. Lot release testing against the product’s approved specifications, with tests such as assay, dissolution, impurities, or sterility as applicable.
Shelf-Life Designation Conservative Beyond-Use Date (BUD) or assigned shelf life based on monograph/stability principles. Assigned BUD supported by pharmacopoeial monograph data or validated institutional stability records. Manufacturer Expiration Date backed by formal long-term and accelerated stability studies.

The Professional Decision to Compound

Under the Joint FIP/WHO Guidelines on Good Pharmacy Practice: Standards for Quality of Pharmacy Services (WHO TRS 961, Annex 8), preparing extemporaneous medicine preparations and medical products constitutes Role 1, Function A of the pharmacist’s core responsibilities. However, compounding introduces higher formulation uncertainty than dispensing a licensed, cGMP-manufactured medicine whose bioavailability, impurity profile, and long-term stability have been rigorously evaluated by a regulatory authority.

Therefore, the decision to compound follows a structured clinical and technical justification check. Compounding is appropriate when: (1) an authorised commercial product is unavailable in the required strength (for example, low-dose neonatal cardiology suspensions); (2) the patient cannot tolerate the commercial dosage form (for instance, dysphagia requiring an oral liquid rather than a tablet, provided the drug is not an extended-release or enteric-coated formulation that cannot be crushed safely); (3) a patient has a documented hypersensitivity to a commercial excipient such as a specific dye, preservative, or lactose; or (4) the active pharmaceutical ingredient (API) is unstable in ready-made commercial liquid form and must be prepared close to the time of administration. Conversely, compounding should not be used merely to replicate an affordable, readily available licensed product, nor should a pharmacy compound a formulation when it lacks validated formula evidence, appropriate starting materials, or suitable contamination-control facilities.

2. Prescription Assessment, Formula Selection, and Ingredient Quality

Every safe compounded medicine begins before a spatula or balance is touched. A systematic pre-compounding assessment protects the patient from prescribing errors, chemical incompatibilities, and substandard starting materials.

Prescription and Clinical Assessment

Upon receiving a prescription or medication order requesting a compounded preparation, the pharmacist evaluates both clinical appropriateness and pharmaceutical feasibility:

  • Patient-specific parameters: Verify patient identity, age, body weight or body surface area, renal or hepatic status, allergies, and clinical indication. In paediatric care, double-check mg/kg dosing calculations against reliable clinical references before accepting the target concentration.
  • Therapeutic and route suitability: Confirm that the requested dosage form matches the intended route of administration and patient capability. Check whether an existing licensed alternative (such as an approved dispersible tablet or scored tablet) could safely meet the need without compounding.
  • Physicochemical compatibility: Screen all prescribed APIs, vehicles, bases, and adjuvants for incompatibilities—such as acid–base reactions, precipitation of salts, oxidation, hydrolysis in aqueous media, eutectic liquefaction in powder mixtures, or breakdown of an emulsion by ionic ingredients.
  • Facility and competency match: Confirm that the pharmacy holds the necessary calibrated equipment, environmental controls, and trained personnel to prepare the formulation safely.

Formula Selection and Pharmacopoeial Monographs

Validated formulas should always take precedence over improvised recipes. WHO TRS 1010 Annex 6 explains that pharmacopoeial monographs for compounded preparations are developed by pharmacopoeial expert committees rather than donated by commercial manufacturers. They draw on laboratory-conducted method development, validation, and stability studies, peer-reviewed scientific literature evaluated against stringent criteria, or verified donated scientific data. A well-constructed monograph specifies a formal title (naming the pharmaceutical substance and dosage form), a quantitative formula, step-by-step compounding procedures, identification tests confirming API presence, specific quality tests (such as pH, uniformity of dosage units, particulate matter, sterility, bacterial endotoxins, or antimicrobial effectiveness), assay limits, packaging/storage instructions, labelling rules, and an assigned BUD.

Source and Quality of Ingredients

The quality of a compounded medicine can never exceed the quality of its starting materials, a foundational principle shared across pharmaceutical quality assurance. WHO TRS 1010 Annex 6 specifies that ingredients listed in a compounded preparation monograph must comply with relevant pharmacopoeial monographs for pharmaceutical substances and general monographs wherever available.

In practice, compounders encounter two scenarios for sourcing the API:

  1. Pharmacopoeial-grade bulk APIs and excipients: Pure chemical powders and vehicles sourced from qualified suppliers must be accompanied by a Certificate of Analysis (CoA) confirming identity, purity, potency, and microbial/impurity limits. Containers must be inspected for intact seals, proper storage history, and valid retest or expiry dates.
  2. Licensed commercial dosage forms as API sources: In hospital and community settings—particularly for paediatric oral liquids—pure bulk API is often unavailable, necessitating the use of licensed tablets or capsules. This introduces critical pharmaceutics caveats: tablet excipients (binders, disintegrants, film coatings, insoluble fillers like talc or titanium dioxide) remain in the final mixture unless accounted for, and sustained-release, controlled-release, or enteric-coated products must never be crushed because destroying the release-modifying matrix risks immediate dose dumping or gastric degradation of the API. Additionally, the compounder must check whether the tablet strength is expressed as the free acid/base or as a salt (e.g. propranolol hydrochloride vs. propranolol base) to avoid dosing errors.

Vehicle quality requires equal vigilance. Potable tap water contains dissolved ions (calcium, magnesium, chloride), variable pH, and microorganisms that can catalyse API degradation, crack emulsions, or seed microbial spoilage. Aqueous nonsterile compounding requires Purified Water meeting pharmacopoeial specifications (and sterile water for irrigation or injection when sterile preparations are required).

3. Pharmaceutical Calculations for Compounding

Calculation errors are among the most dangerous hazards in compounding because a misplaced decimal point or confused unit can produce a tenfold overdose or subtherapeutic failure. Every calculation must be written down clearly, checked using dimensional analysis, and independently verified by a second competent person before weighing or measuring begins.

Standard Concentration Expressions

  • Percentage weight-in-volume (% w/v): Grams of solute or API per 100 mL of finished liquid preparation (e.g. 1% w/v = 1 g/100 mL = 10 mg/mL).
  • Percentage weight-in-weight (% w/w): Grams of API per 100 g of finished solid or semisolid preparation (e.g. 2% w/w = 2 g/100 g = 20 mg/g).
  • Percentage volume-in-volume (% v/v): Millilitres of liquid ingredient per 100 mL of finished liquid preparation.
  • Ratio strength: Parts of active ingredient relative to total parts of preparation (e.g. 1:1,000 w/v equals 1 g in 1,000 mL, or 1 mg/mL = 0.1% w/v).

Worked Example 1: Stock Solution Dilution (C₁ V₁ = C₂ V₂)

Task: Prepare 150 mL of a 0.05% w/v model solute X aqueous solution from a 5% w/v hypothetical teaching stock solution.

Step 1 — State the dilution equation: C₁ × V₁ = C₂ × V₂, where C₁ = 5% w/v, C₂ = 0.05% w/v, and V₂ = 150 mL.

Step 2 — Solve for stock volume (V₁):

V₁ = (C₂ × V₂)/(C₁) = (0.05% × 150 mL)/(5%) = (7.5)/(5) = 1.5 mL

Step 3 — Verification by mass of API:

  • Stock solution (5% w/v) contains 5 g/100 mL = 50 mg/mL. Therefore, 1.5 mL delivers 1.5 × 50 mg = 75 mg of model solute X.
  • Target solution (0.05% w/v) contains 0.05 g/100 mL = 0.5 mg/mL. In 150 mL, total API required = 150 × 0.5 mg = 75 mg.

Calculation interpretation: Measure 1.5 mL of 5% w/v stock solution using a calibrated graduated pipette or oral syringe, transfer to a graduated vessel, and make up to volume (q.s. ad) 150 mL with purified water. (Note: Never simply add 150 mL of water to 1.5 mL of stock, as that would yield 151.5 mL and under-concentrate the solution.)

Worked Example 2: Concentration Blending via Alligation Alternate

Task: Prepare 240 g of 2% w/w model active Y ointment by mixing a 5% w/w model active Y ointment with a 0.5% w/w model active Y ointment.

Step 1 — Set up the alligation differences relative to target (2%):

  • High concentration (5%) compared with target (2%): |2 – 0.5| = 1.5 parts of 5% w/w ointment.
  • Low concentration (0.5%) compared with target (2%): |5 – 2| = 3.0 parts of 0.5% w/w ointment.
  • Total parts = 1.5 + 3.0 = 4.5 parts.

Step 2 — Convert parts to mass for 240 g total batch:

Mass of 5% ointment = (1.5)/(4.5) × 240 g = (1)/(3) × 240 g = 80.0 g

Mass of 0.5% ointment = (3.0)/(4.5) × 240 g = (2)/(3) × 240 g = 160.0 g

Step 3 — Double-check total mass and active content:

  • Total batch weight = 80.0 g + 160.0 g = 240.0 g.
  • Model active Y from 5% ointment = 80.0 g × 0.05 = 4.0 g.
  • Model active Y from 0.5% ointment = 160.0 g × 0.005 = 0.8 g.
  • Total model active Y = 4.0 + 0.8 = 4.8 g. Final concentration = (4.8 g)/(240.0 g) × 100 = 2.0% w/w.

Worked Example 3: Minimum Weighable Quantity and Aliquot Trituration

Scenario: A prescription requires 15 mg of a potent API to be incorporated into a powder formulation. The pharmacy balance has a Sensitivity Requirement (SR) of 6 mg, and the maximum acceptable weighing error is 5%.

Step 1 — Calculate Minimum Weighable Quantity (MWQ):

MWQ = (SR × 100)/(Acceptable Error (%)) = (6 mg × 100)/(5) = 120 mg

Because 15 mg < 120 mg, weighing 15 mg directly would risk a weighing error up to (6)/(15) × 100 = 40%, which is clinically unacceptable.

Step 2 — Design a 1:10 (10% w/w) aliquot trituration:

  • Select an API mass ≥ MWQ: weigh 120 mg of the pure API.
  • Calculate inert diluent (e.g. lactose monohydrate) for a 1:10 total mixture (1,200 mg total): 1,200 mg – 120 mg = 1,080 mg diluent (also ≥ 120 mg).
  • Mix thoroughly using geometric dilution to form a homogeneous 10% w/w trituration (0.1 mg API per mg of trituration).

Step 3 — Weigh the required aliquot of trituration:

Mass of trituration needed = (15 mg API)/(0.10) = 150 mg

Verification: 150 mg ≥ 120 mg (MWQ), giving a maximum weighing error of (6)/(150) × 100 = 4.0% ≤ 5%. And 150 mg of a 120 mg/1,200 mg blend delivers exactly 15 mg of API plus 135 mg of diluent.

4. Balances, Volumetric Measurement, and Core Unit Operations

Accurate calculations fail if physical measurement instruments are poorly selected, uncalibrated, or mishandled. Pharmacies rely on either Class A prescription torsion balances (typically having a 6 mg sensitivity requirement) or calibrated electronic analytical and top-loading balances enclosed in draft shields. Before every weighing session, the balance must be placed on a vibration-free, level surface (verified via the spirit bubble), zeroed or tared cleanly with weighing paper or a weighing boat, and verified against calibration records. Never weigh chemical powders directly onto a metal balance pan, as corrosion and cross-contamination will rapidly degrade both precision and safety.

Volumetric Accuracy and Viscous Liquids

Volume measurement devices differ substantially in accuracy. Graduated pipettes, volumetric flasks, and calibrated oral syringes provide the highest precision for small volumes. Cylindrical graduates (straight-sided graduated cylinders) are preferred for general compounding because their uniform internal diameter yields smaller parallax and meniscus errors than wide-mouthed conical graduates, whose wide upper rim makes small reading errors translate into large volume inaccuracies. Always select the smallest graduate whose capacity accommodates the target volume without measuring below 20% of its total scale, and read the bottom of the meniscus at eye level (for clear liquids).

Highly viscous liquids—such as glycerin, propylene glycol, polyethylene glycol 400, or heavy syrups—cling stubbornly to glass walls, causing substantial under-delivery if measured by volume alone. In compounding practice, viscous liquids are best measured by mass on a balance using their specific gravity (Mass = Volume × Specific Gravity). For example, to deliver 20 mL of glycerin (specific gravity ≈ 1.25 g/mL), weighing 25.0 g directly into the tared mixing vessel eliminates residual wall loss.

Fundamental Compounding Unit Operations

Once ingredients are accurately weighed and measured, five foundational physical operations govern how solids and liquids are combined into uniform dosage forms:

Scroll the table sideways on a smaller screen.

Core Compounding Unit Operations: Mechanisms, Equipment, and Quality Critical Points
Unit Operation Purpose & Mechanism Primary Equipment Critical Quality Considerations
Trituration Comminution (particle size reduction) of dry solids by grinding, and/or blending a potent powder with an inert diluent. Porcelain or Wedgwood mortar and pestle (rough interior generates shear for grinding); glass mortar for dyes or soft solids. Use circular pestle pressure rather than pounding; avoid excessive force on heat-sensitive or shock-sensitive materials; never grind incompatible oxidisers and reducing agents together.
Levigation Reducing particle size and wetting an insoluble powder using a small quantity of a non-solvent levigating agent to form a smooth paste before adding to an ointment or cream base. Glass ointment slab (pill tile) and flexible stainless-steel or hard-rubber spatula. Select a levigating agent miscible with the base (e.g. liquid paraffin/mineral oil for oleaginous bases; glycerin or propylene glycol for water-miscible bases); work until completely grit-free.
Geometric Dilution Achieving uniform spatial distribution of a small quantity of potent API throughout a much larger bulk of diluent or semisolid base. Mortar and pestle (powders) or ointment slab and spatula (semisolids). Mix the potent drug with an approximately equal volume (1:1) of diluent, then add diluent equal to the combined mixture in successive doubling steps until all diluent is incorporated.
Wetting Displacing adsorbed air from hydrophobic powder particles and lowering solid–liquid interfacial tension so particles disperse smoothly in a liquid vehicle. Mortar and pestle; wetting agent (glycerin, propylene glycol, alcohol, or small amount of surfactant). Add only enough wetting agent (a few drops to a paste consistency) to coat particles before slowly introducing the aqueous vehicle; prevents floating clumps (“fish eyes”).
Mixing Combining miscible liquids, dissolving solutes, or homogenising dispersed systems (suspensions, emulsions, semisolids). Glass mortar/stirring rod, conical flask, homogeniser, or tumbling mixer; ointment slab for spatulation. Avoid vigorous whipping of emulsions or thickened suspensions that entraps air bubbles (causing inaccurate dose-volume delivery); observe proper order of mixing (dissolve salts/preservatives before adding viscosity modifiers).

5. Nonsterile Dosage-Form Preparation Workflows

Although every formulation has unique physicochemical details, nonsterile extemporaneous and stock compounding follows a disciplined, repeatable sequence from initial prescription review through final release. The schematic below summarises the end-to-end workflow before examining individual dosage-form procedures.

End-to-End Nonsterile Compounding Quality Workflow Six sequential stages of pharmaceutical compounding: 1. Prescription and Formula Assessment, 2. Calculations and Ingredient Verification, 3. Area Setup and Contamination Control, 4. Unit Operations and Dosage-Form Preparation, 5. Packaging, Labelling, and BUD Assignment, 6. Final Check, Documentation, and Patient Counselling. End-to-End Nonsterile Compounding Workflow (Quality-Controlled Sequence)

1. Assessment & Formula Verify clinical need, patient safety, compatibility & validated monograph

2. Calculations & Sourcing Double-check math, MWQ/aliquots, CoAs, expiry dates & water grade

3. Area & Equipment Prep Sanitise bench, don PPE, calibrate balance & stage clean glassware

4. Compounding Execution Triturate, wet/levigate, geometric dilution, mix & adjust to volume/mass

5. Package, Label & BUD Select protective container, apply full label, storage & conservative BUD

6. Final Check & Counsel Sign Compounding Record, inspect final product & counsel caregiver

Figure 1: Six-stage quality-controlled compounding workflow integrating FIP/WHO Good Pharmacy Practice and WHO TRS 1010 Annex 6 principles.

Oral Solutions and Suspensions

For oral solutions, soluble APIs, preservatives, buffers, and flavouring or sweetening agents are dissolved sequentially in approximately 70–80% of the final vehicle volume (Purified Water or co-solvent system). Ingredients requiring heat or prolonged stirring are dissolved first, cooled to room temperature before adding volatile flavours or thermolabile solutes, and finally transferred quantitatively into a calibrated container—rinsing the mixing vessel with small portions of vehicle—and brought to the exact final volume (q.s. ad).

For oral suspensions, insoluble API powder (or crushed immediate-release tablets when validated monographs specify tablet conversion) is finely triturated in a clean mortar to a uniform fine powder. A small volume of wetting agent (such as glycerin or a portion of the suspending vehicle) is added to form a smooth, lump-free paste. The suspending vehicle—containing a viscosity modifier/suspending agent such as methylcellulose, xanthan gum, or commercial suspending base, plus an appropriate antimicrobial preservative—is added in small aliquots with gentle, steady trituration to avoid foam generation. The mortar and pestle are rinsed carefully into a graduated bottle, and the suspension is brought to final volume. Note that when crushed tablets are used, insoluble tablet excipients will settle alongside the API; therefore, the suspending vehicle must keep particles uniformly suspended long enough for accurate dosing after shaking.

Hard Gelatin or HPMC Capsules

Capsule compounding delivers accurate individualised solid oral doses when commercial strengths are unsuitable. The workflow involves: (1) calculating API and diluent masses for the target number of capsules (often accounting for a minor calculated preparation loss allowance only if specified by institutional SOP, without altering the per-capsule API strength); (2) selecting the smallest capsule shell size (ranging from large size 000 down to small size 5) that accommodates the powder bulk volume; (3) blending the API and diluent (e.g. lactose or microcrystalline cellulose) by geometric dilution in a mortar without over-packing; (4) filling shells via a manual capsule-filling plate or the traditional punch method (wearing gloves to prevent moisture transfer to gelatin shells); and (5) performing a weight variation check by comparing the net powder weight inside individual capsules against the theoretical target fill weight and the average empty shell weight. Filled capsules are wiped clean of residual surface powder before packaging.

Bulk and Divided Powders

Bulk powders (e.g. dusting powders or antacid mixtures) are prepared by triturating crystalline components, blending via geometric dilution, and passing through a suitable mesh sieve if needed to break up agglomerates before packaging in wide-mouth airtight containers. Divided powders (chartulae) contain single unit doses wrapped in folded parchment, waxed, or glassine papers (or heat-sealed foil sachets for hygroscopic drugs). For potent APIs, each individual dose should be weighed directly (or as an accurate aliquot trituration) onto its respective powder paper rather than relying solely on visual “blocking and dividing” on a powder tile, which introduces unacceptable dose-to-dose variability.

Topical Semisolids (Ointments, Creams, Pastes, and Gels)

Topical preparations are commonly prepared by two methods:

  • Incorporation (levigation) method: Used when the base is already formed and heat-sensitive drugs are present. Solid powders are first reduced to an impalpable state and levigated on an ointment slab with a compatible levigating agent until smooth. The levigated paste is then incorporated into the base by geometric dilution using a figure-of-eight spatulation motion that presses out grittiness while avoiding air entrapment. Liquid extracts or aqueous solutions are incorporated carefully within the absorption capacity of the base (or emulsified using a small amount of lanolin/surfactant if specified).
  • Fusion method: Used when waxes, hard fats, or high-melting-point bases (e.g. white beeswax, cetyl alcohol, paraffin) must be melted together. Components are melted in descending order of melting point over a water bath using minimal heat, stirred continuously while cooling until congealed, and any volatile or heat-labile APIs are incorporated only after the base cools near room temperature.

6. Nonsterile versus Sterile Boundaries and Contamination Control

A strict operational boundary separates nonsterile compounding from sterile compounding. While nonsterile preparations (oral liquids, capsules, powders, suppositories, and intact-skin topicals) must control bioburden and prevent microbial spoilage, they do not enter sterile body cavities or the bloodstream. In contrast, ophthalmic drops/ointments, parenteral injections, intravenous admixtures, and irrigations bypass the body’s primary epithelial and mucosal defences; any microbial contamination, particulate matter, or bacterial endotoxin in a sterile preparation can cause catastrophic sepsis, endophthalmitis, or embolism.

Both WHO TRS 961 Annex 8 (explicitly citing “sterility where appropriate” and noting special environmental controls for hazardous/cytotoxic preparations) and WHO TRS 1010 Annex 6 (listing sterility, bacterial endotoxins, and particulate matter among specific monograph tests) reinforce why pharmacies must never attempt sterile compounding in an ordinary nonsterile dispensary.

Scroll the table sideways on a smaller screen.

Operational and Quality Boundaries: Nonsterile versus Sterile Compounding
Parameter Nonsterile Compounding Sterile Compounding
Dosage Forms Oral solutions/suspensions, capsules, powders, creams, ointments, pastes, nonsterile suppositories. Parenteral injections, IV admixtures, total parenteral nutrition, ophthalmic preparations, sterile irrigations.
Facility & Air Quality Dedicated, clean, low-traffic compounding bench or room with smooth, easily sanitised surfaces and controlled temperature/humidity. Classified cleanroom environment with HEPA-filtered air, laminar airflow workbenches or isolators (ISO Class 5 critical zone), and monitored pressure differentials.
Personnel Garbing Clean dedicated lab coat/gown, disposable gloves, hair cover, and mask where powder dust or droplet risk exists. Validated aseptic gowning sequence (sterile gloves, sterile gown, hood, face mask, shoe covers) and formal media-fill aseptic technique qualification.
Microbial Control Strategy Sanitation, Purified Water, hygienic handling, and suitable antimicrobial preservatives in susceptible aqueous multi-dose formulations. Aseptic processing of sterile components, sterile membrane filtration (0.22 μm), or validated terminal steam/dry-heat sterilisation.
Monograph-Level Tests (WHO TRS 1010 Annex 6) Identification, assay, pH, uniformity of dosage units, antimicrobial effectiveness, related substances. All applicable chemical/physical tests plus sterility, bacterial endotoxins (pyrogens), and particulate matter.

Contamination Control in Nonsterile Practice

Even in nonsterile compounding, cross-contamination and microbial proliferation pose serious patient risks. FIP/WHO GPP (WHO TRS 961 Annex 8) requires preparation areas to be designed and maintained to minimise medication errors and assure product cleanliness and safety. Key contamination-control practices include:

  • Surface and equipment hygiene: Clean benches with an appropriate disinfectant (e.g. 70% isopropyl alcohol) before and after each preparation. Wash mortars, pestles, graduates, and spatulas thoroughly with detergent, rinse with purified water, and dry completely before storage.
  • Segregation of sensitising and hazardous APIs: Beta-lactam antibiotics (penicillins, cephalosporins), hormones, and cytotoxic agents can trigger severe hypersensitivity reactions or toxicity at trace levels. Such materials require dedicated equipment, containment controls, and strict avoidance in general open compounding benches.
  • Preservation of susceptible formulations: WHO TRS 1010 Annex 6 highlights that susceptible compounded preparations should contain suitable antimicrobial agents to protect against bacteria, yeast, and mould inadvertently introduced during or after compounding—particularly in aqueous oral liquids and oil-in-water creams stored in multi-dose containers.

7. Documentation, Packaging, Labelling, Beyond-Use Dates, and Storage

Traceability is the backbone of pharmaceutical accountability: if an adverse event, stability failure, or recall occurs, records must allow the pharmacy to reconstruct exactly what was prepared, from which raw material lots, by whom, and for which patient.

Master Formulation Record vs. Compounding Record

  • Master Formulation Record (MFR): The permanent, pre-approved “blueprint” for a recurring preparation (especially stock preparations). It records the official name, strength, dosage form, validated monograph or literature reference, complete ingredient list and quantities, equipment required, step-by-step mixing instructions, in-process quality checks, container-closure specification, storage conditions, and basis for the assigned BUD.
  • Compounding Record (Batch or Prescription Log): The dynamic execution record generated each time a preparation is compounded. It documents the unique batch/prescription number, date of preparation, patient identifier (or stock batch size), exact manufacturer, lot number, and expiry date of every ingredient used, actual weighed/measured quantities, all calculations, final yield/reconciliation, quality inspection results (appearance, pH, fill volume/weight), assigned BUD, and the dated signatures of both the compounder and the verifying pharmacist.

Packaging, Labelling, and Beyond-Use Dates (BUD)

Under WHO TRS 1010 Annex 6, the container-closure system must be selected to prevent contamination and minimise chemical or physical degradation—typically tight, light-resistant amber glass or high-density polyethylene (HDPE) bottles for oral liquids, collapsible tubes or tight jars for topicals, and child-resistant closures where appropriate.

WHO TRS 1010 Annex 6 notes that pharmacopoeial labelling statements cover only what is mandatory to demonstrate monograph compliance, and that national or regional rules for licensed products may not apply directly to compounded preparations; specific guidance must therefore be followed. In good pharmacy practice, every dispensed compounded label must clearly display:

  • Patient’s full name (or institutional ward/stock designation) and unique prescription/batch reference number.
  • Preparation title, exact strength/concentration (e.g. Omeprazole 2 mg/mL Oral Suspension), active ingredients, and relevant vehicles/preservatives if clinically important.
  • Total quantity dispensed, explicit route of administration, and clear dosing instructions (e.g. volume in mL using an oral syringe rather than household spoons).
  • Mandatory auxiliary/cautionary labels: “Shake well before use” (for suspensions/lotions), “For external use only” (for topicals), “Keep out of the reach and sight of children”, and refrigeration/light-protection warnings.
  • Date of compounding, explicit Beyond-Use Date (BUD), required storage conditions, and the name, address, and contact details of the dispensing pharmacy.

Assigning Beyond-Use Dates (BUD) Without Guesswork

WHO TRS 1010 Annex 6 uses the term beyond-use date (BUD) synonymously with assigned shelf life—the date after which a compounded preparation must not be used. Unlike a manufacturer’s Expiration Date (which applies to an unopened commercial product stored in its original cGMP-validated pack), a BUD is typically much shorter because compounding exposes ingredients to air, moisture, mechanical shear, and potential microbial ingress without full multi-year stability trials.

There is no single universal numerical day-count that automatically makes every compounded preparation safe. WHO TRS 1010 Annex 6 emphasises that it is preferable for a monograph BUD to be backed by laboratory-derived stability data. Where a monograph or pharmacist assigns a BUD conservatively, the decision must evaluate seven scientific factors:

  1. The chemical nature of the medicine and its specific degradation mechanism (e.g. hydrolysis, oxidation, photolysis).
  2. The dosage form and its components (e.g. anhydrous ointment vs. water-rich oral suspension).
  3. The method of sterilisation, if applicable.
  4. The potential for microbial proliferation in the preparation (water activity and presence/effectiveness of antimicrobial preservatives).
  5. The protective properties of the container in which it is packaged.
  6. The expected storage conditions (ambient vs. refrigerated, protection from light and humidity).
  7. The intended duration of therapy (a BUD should not unnecessarily exceed the patient’s prescribed treatment course, nor ever exceed the earliest expiry date of any starting ingredient).

8. Final Verification, Patient Counselling, and Troubleshooting Errors

Before a compounded preparation leaves the bench, a structured final check—ideally conducted independently by a pharmacist who did not perform the physical mixing—acts as the last safety barrier against human error.

Final Verification Checklist

  • Documentation and calculation audit: Re-verify the prescription order, all unit conversions, MWQ/aliquot mathematics, and ingredient lot numbers/expiries recorded on the Compounding Record.
  • Label reconciliation: Compare the container label word-for-word against the prescription and Compounding Record, verifying concentration, route, storage instructions, auxiliary warnings, and conservative BUD.
  • Physical and organoleptic inspection: Inspect solutions for clarity and absence of unintended precipitates; check suspensions for smooth, uniform redispersibility upon gentle shaking; spread a tiny sample of ointment or cream on a glass slide or gloved finger to confirm complete absence of grittiness or phase separation; inspect capsules for clean exteriors, intact locks, and acceptable weight uniformity; verify final volume or net weight.

Patient and Caregiver Counselling

A technically flawless compounded suspension still fails if a caregiver measures doses with a domestic teaspoon or keeps a refrigerated product on a warm windowsill. During counselling, the pharmacist must: (1) demonstrate exact dose measurement using a calibrated oral syringe or dropper matched to the prescription; (2) explain the purpose of shaking suspensions thoroughly immediately before each dose; (3) highlight exact storage requirements and why the preparation must be discarded after the BUD even if volume remains; and (4) instruct the caregiver to return the medicine if colour changes, gas formation, foul odour, non-redispersible caking, or oil/water separation occurs.

Common Compounding Errors and Troubleshooting

Scroll the table sideways on a smaller screen.

Diagnostic Guide to Common Compounding Errors and Quality Defects
Observed Defect or Error Likely Root Cause Preventive / Corrective Action
Floating powder or dry clumps in an oral suspension Hydrophobic drug particles were not wetted before adding aqueous vehicle. Pre-wet finely triturated powder with a compatible wetting agent (e.g. glycerin) to form a smooth paste before geometric vehicle addition.
Dense, non-redispersible cake at bottle bottom Deflocculated suspension lacked adequate suspending/flocculating agent or particle size was too coarse. Ensure thorough trituration and use a validated suspending vehicle with appropriate viscosity; discard defective batch and recompund.
Gritty or sandy ointment / cream Insoluble powder was added directly to the base without levigation, or recrystallisation occurred upon cooling. Triturate powder finely and levigate thoroughly on an ointment slab with a compatible levigating agent until completely smooth before geometric incorporation.
Cracking or phase separation of a cream Incompatibility with added electrolytes/acids/alcohol, excessive shear/heat, or freezing during storage. Verify chemical compatibility before compounding; add incompatible salts cautiously or select a non-ionic/compatible cream base; control temperature.
Tenfold strength or salt-equivalence error Decimal misplacement, unit confusion (mg vs. µg), or failure to distinguish API salt from free base. Enforce dimensional analysis, leading zeros (0.5 mg, never .5 mg), avoidance of trailing zeros (5 mg, never 5.0 mg), and independent double-checking.
Inconsistent capsule fill weights Inadequate geometric dilution, segregated powder flow, or uneven tapping during plate filling. Blend powders thoroughly via geometric dilution, ensure uniform particle size, tap evenly, and perform individual capsule weight checks.

9. Compounding Practice in the Ugandan Healthcare Context

In Uganda, pharmaceutical compounding remains a vital clinical service across national referral hospitals, regional referral hospitals, specialised institutes (such as paediatric, cardiac, and oncology care units), and licensed community pharmacies. While industrial manufacturing and international procurement supply the bulk of essential medicines, significant formulation gaps persist—particularly for infants and young children who require weight-adjusted oral liquid doses of antihypertensives, diuretics, antiepileptics, and other therapies when an appropriate paediatric dosage form is unavailable, as well as specialised dermatological preparations (such as dermatological ointments and lotions).

Practising pharmacists in Uganda must manage distinctive operational and environmental realities when compounding:

  • Tropical climate and stability pressure: Ambient temperatures and elevated relative humidity across much of Uganda accelerate hydrolytic degradation, melt low-melting suppository or ointment bases, soften gelatin capsule shells, and promote rapid bacterial and fungal proliferation in aqueous mixtures. Compounding areas need suitable environmental controls for the formulation, and storage instructions on patient labels must reflect realistic household environments (recognising that many households lack reliable domestic refrigeration).
  • Water quality and raw material sourcing: Municipal or borehole water is unsuitable for compounding due to hardness, microbial load, and variable chlorination. Hospital and community compounding units must ensure water meeting the quality specified by the validated formula or pharmacopoeial standard and procure bulk chemicals or base vehicles through authorised, quality-assured supply chains.
  • Regulatory and professional governance: The National Drug Authority (NDA) regulates pharmaceutical products, premises licensing, and medicine quality in Uganda under national drug legislation, while professional and institutional standards also guide pharmacy practice. Aligned with FIP/WHO Good Pharmacy Practice (WHO TRS 961 Annex 8), compounding activities must take place only in appropriately equipped, clean, authorised premises under appropriate professional supervision, relying on validated references rather than unverified ad hoc formulas.
  • Equipment maintenance and training: Sustained accuracy requires routine calibration checks on analytical and torsion balances, clean glassware segregated from general dispensing counters, and ongoing competency training for pharmacy interns and technicians.

10. Examination Practice Questions and Model Answers

Use the following Year 1 Semester 1 examination questions to test conceptual understanding, pharmaceutical calculations, unit-operation reasoning, and quality-assurance judgement. Attempt each question before reviewing the model answer.

Question 1: Extemporaneous Compounding vs. Stock Preparation vs. Industrial Manufacturing

Prompt: Using WHO TRS 1010 Annex 6 and FIP/WHO Good Pharmacy Practice (TRS 961 Annex 8) principles, distinguish between (a) extemporaneous patient-specific compounding, (b) small-batch stock preparation, and (c) industrial medicine manufacturing. State three valid clinical justifications for compounding.

Model Answer:

  • (a) Extemporaneous patient-specific compounding prepares a single unit of medicine on demand under pharmacist supervision for an identified patient pursuant to a prescription when no suitable commercial product exists.
  • (b) Small-batch stock preparation prepares limited quantities of non-commercial medicines in advance within an authorised facility (such as a hospital compounding unit) to meet anticipated recurring clinical demand, governed by Master Formulation Records, batch logs, and pharmacopoeial/GPP standards.
  • (c) Industrial manufacturing produces large commercial lots for broad distribution under marketing authorisation and full cGMP, requiring lot-by-lot analytical release testing and formal stability-backed Expiration Dates rather than conservative Beyond-Use Dates (BUDs).
  • Three valid justifications for compounding: (1) unavailability of an appropriate commercial strength (e.g. paediatric/neonatal doses); (2) need for an alternative dosage form (e.g. converting an immediate-release tablet into an oral suspension for a dysphagic patient); and (3) documented allergy or intolerance to a commercial excipient such as a dye, flavour, or lactose.

Question 2: Pharmaceutical Calculations (Oral Suspension from Tablets)

Prompt: A paediatric prescription requests 90 mL of an oral suspension of Drug X at a concentration of 2.5 mg/mL. Pure bulk Drug X powder is unavailable, so the validated hospital monograph permits preparing the suspension from licensed 25 mg immediate-release tablets of Drug X. Calculate: (a) the total mass of Drug X required (in mg and g), (b) the exact number of 25 mg tablets required, and (c) the percentage strength (% w/v) of the final suspension. State one critical formulation caveat when using tablets instead of pure API.

Model Answer:

  • (a) Total mass of Drug X required: 90 mL × 2.5 mg/mL = 225 mg = 0.225 g.
  • (b) Number of tablets required: (225 mg)/(25 mg/tablet) = 9 tablets.
  • (c) Percentage strength (% w/v): (0.225 g)/(90 mL) × 100 = 0.25% w/v (check: 0.25 g/100 mL = 2.5 mg/mL).
  • Formulation caveat: Only immediate-release tablets may be crushed; extended-release or enteric-coated tablets must never be crushed because destroying their release-modifying matrix causes dose dumping or drug degradation. In addition, insoluble tablet excipients will settle with the drug, requiring an appropriate suspending vehicle and a clear “Shake well before use” auxiliary label.

Question 3: Unit Operations and Semisolid Formulation

Prompt: Explain the roles of trituration, levigation, and geometric dilution when incorporating 1.5 g of insoluble zinc oxide powder into 98.5 g of white soft paraffin to prepare a 100 g ointment. Why would adding all 98.5 g of paraffin to the zinc oxide at once produce a defective product?

Model Answer:

  • Trituration reduces dry zinc oxide agglomerates to a fine, uniform particle size in a mortar and pestle so no coarse grit irritates the skin.
  • Levigation wets the triturated zinc oxide with a small quantity of a compatible non-solvent levigating agent (such as liquid paraffin/mineral oil, accounted for within the formula) on an ointment slab using a spatula to shear out aggregates into a smooth paste.
  • Geometric dilution blends the concentrated levigated paste with an approximately equal volume of white soft paraffin first, then sequentially incorporates equal doubling portions of the remaining base until all 98.5 g is homogeneously distributed.
  • Why adding all base at once fails: Dumping 1.5 g of dry powder directly into 98.5 g of viscous paraffin causes powder clumping and uneven dispersion, yielding a gritty, non-uniform ointment with inconsistent drug concentration across doses.

Question 4: Nonsterile vs. Sterile Boundaries and Beyond-Use Dates

Prompt: A ward requests an extemporaneous preservative-free ophthalmic eye drop on a busy general dispensary bench. Explain why this request crosses the nonsterile–sterile boundary, and list five factors identified in WHO TRS 1010 Annex 6 that govern the conservative assignment of a Beyond-Use Date (BUD).

Model Answer:

  • Boundary violation: Ophthalmic eye drops are sterile preparations applied directly to delicate ocular tissues. Preparing them on an open nonsterile dispensary bench without classified HEPA-filtered air (e.g. laminar airflow hood/isolator), validated aseptic technique, sterile filtration or terminal sterilisation, and controls for sterility, particulate matter, and endotoxins exposes the patient to severe ocular infection and sight-threatening endophthalmitis. Such preparations must be referred to a qualified sterile compounding facility or sourced as a licensed product.
  • Five WHO TRS 1010 Annex 6 factors governing conservative BUD assignment: (1) the nature of the medicine and its degradation mechanism; (2) the dosage form and its components; (3) the method of sterilisation (if applicable); (4) the potential for microbial proliferation in the preparation; and (5) the container in which it is packaged (alongside expected storage conditions and intended duration of therapy).

Question 5: Balance Sensitivity, Errors, and Patient Counselling

Prompt: An electronic balance has a sensitivity requirement (SR) of 10 mg and a maximum permissible weighing error of 5%. (a) Calculate the Minimum Weighable Quantity (MWQ) of this balance. (b) Explain why a pharmacist must refuse to weigh 25 mg of an API directly on it and describe how to overcome this limitation. (c) State three essential counselling points for a caregiver receiving a compounded paediatric oral suspension.

Model Answer:

  • (a) Minimum Weighable Quantity: MWQ = (SR × 100)/(Acceptable Error (%)) = (10 mg × 100)/(5) = 200 mg.
  • (b) Risk and solution: Weighing 25 mg directly on a balance with an SR of 10 mg risks a weighing error of up to (10)/(25) × 100 = 40%, far exceeding the 5% tolerance. The pharmacist overcomes this using an aliquot trituration: weigh at least 200 mg of API (e.g. 200 mg) and dilute geometrically with an inert diluent (e.g. 1,800 mg lactose to yield 2,000 mg of a 1:10 blend), then weigh 250 mg of the blend (≥ 200 mg MWQ) to deliver exactly 25 mg of API with ≤ 4% potential error.
  • (c) Three caregiver counselling points: (1) demonstrate how to measure the exact volume in mL using the provided calibrated oral syringe rather than a household spoon; (2) instruct the caregiver to shake the bottle well immediately before each dose to ensure uniform drug suspension; and (3) explain the exact storage conditions and Beyond-Use Date, advising immediate discard after the BUD or if visual caking, odour, or colour change appears.

1 thought on “Pharmaceutical Compounding: Techniques, Calculations and Quality”

  1. Pingback: Labelling Dispensed Medicines: Safe Patient Instructions

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top