compounding compounding in the field of pharmacy, compounding (performed in compounding pharmacies) is preparation of a custom formulation of a medication to fit a unique need of a patient that cannot be met with commercially available products. this may be done for medical reasons, such as administration in a different format (ex: tablet to liquid), to avoid a non-active ingredient the patient is allergic to, or to provide an exact dose that isn't commercially available. medically necessary compounding is referred to as "traditional" compounding. it may also be done for medically optional reasons, such as preference of flavor or texture, or dietary restrictions. pharmacist compounding a medication using a mortar and pestle (c. 1923) hospital pharmacies typically engage in compounding medications for intravenous administration, whereas outpatient or community pharmacies typically engage in compounding medications for oral or topical administration. due to the rising cost of compounding and drug shortages, some hospitals outsource their compounding needs to large-scale compounding pharmacies, particularly of sterile-injectable medications. compounding preparations of a given formulation, as opposed to preparation for a specific patient, is known as "non-traditional" compounding. jurisdictions have varying regulations that apply to drug manufacturers and pharmacies that do bulk compounding. history main article: history of pharmacy the earliest chemists were familiar with various natural substances and their uses. they compounded a variety of preparations such as medications, dyes, incense, perfumes, ceremonial compounds, preservatives and cosmetics. in the medieval islamic world in particular, muslim pharmacists and chemists developed advanced methods of compounding drugs. the first drugstores were opened by muslim pharmacists in baghdad in 754. the modern age of pharmacy compounding began in the 19th century with the isolation of various compounds from coal tar for the purpose of producing synthetic dyes. from this came the earliest antibacterial sulfa drugs, phenolic compounds made famous by joseph lister, and plastics. during the 1800s, pharmacists specialized in the raising, preparation and compounding of crude drugs. crude drugs, like opium, are from natural sources and usually contain several chemical compounds. the pharmacist extracted these drugs using solvents such as water or alcohol to form extracts, concoctions and decoctions. they eventually began isolating and identifying the active ingredients in these drug concoctions. using fractionation or recrystallization, they separated an active ingredient from the crude preparation, and compounded a medication using this active ingredient. with the isolation of medications from the raw materials or crude drugs came the birth of the modern pharmaceutical company. pharmacists were trained to compound the preparations made by the drug companies, but they could not do it efficiently on a small scale. so economies of scale, not lack of skill or knowledge, produced the modern pharmaceutical industry. with the turn of the 20th century came greater government regulation of the practice of medicine. these new regulations forced the drug companies to prove that any new medication they brought to market was safe. with the discovery of penicillin, modern marketing techniques and brand promotion, the drug manufacturing industry came of age. pharmacists continued to compound most prescriptions until the early 1950s when the majority of dispensed drugs came directly from the large pharmaceutical companies. roles a physician may choose to prescribe a compounded medication for a patient with an unusual health need that cannot be met with commercially manufactured products. the physician may choose to prescribe a compounded medication for reasons such as patients requiring an individualized compounded formulation to be developed by the pharmacist patients who cannot take commercially prepared prescriptions of a drug patients requiring limited dosage strengths, such as a very small dose for infants patients requiring a different formulation, such as turning a pill into a liquid or transdermal gel for people who cannot swallow pills due to disability patients requiring an allergen-free medication, such as one without gluten or colored dyes patients who absorb or excrete medications abnormally patients who need drugs that have been discontinued by pharmaceutical manufacturers because of low profitability patients facing a supply shortage of their normal drug children who want flavored additives in liquid drugs, usually so that the medication tastes like candy or fruit veterinary medicine, for a change in dose, change to a more easily administered form (such as from a pill to a liquid or transdermal gel), or to add a flavor more palatable to the animal. in the united states, compounded veterinary medicine must meet the standards set forth in the animal medicinal drug use clarification act (amduca) many types of bioidentical hormone replacement therapy patients who require multiple medications combined in various doses iv compounding in hospitals in hospitals, pharmacists and pharmacy technicians often make compounded sterile preparations (csps) using manual methods. the error rate for manually compounded sterile iv products is high. the institute for safe medication practices (ismp) has expressed concern with manual methods, particularly the error-prone nature of the syringe pull-back method of verifying sterile preparations. to increase accuracy, some u.s. hospitals have adopted iv workflow management systems and robotic compounding systems. these technologies use barcode scanning to identify each ingredient and gravimetric weight measurement to confirm the proper dose amount. the workflow management systems incorporate software to guide pharmacy technicians through the process of preparing iv medications. the robotic systems prepare iv syringes and bags in an iso class 5 environment, and support sterility and dose accuracy by removing human error and contamination from the process. regulation in australia in australia the pharmacy board of australia is responsible for registration of pharmacists and professional practice including compounding. although almost all pharmacies are able to prepare at least simple compounded medicines, some pharmacy staff undertake further training and education to be able to prepare more complex products. although pharmacists who have undertaken further training to do complex compounding are not yet easily identified, the board has been working to put a credentialing system in place. in 2011 the pharmacy board convened a compounding working party to advise on revised compounding standards. draft compounding guidelines for comment were released in april 2014. pharmacists must comply with current guidelines or may be sanctioned by the board. both sterile and non-sterile compounding are legal provided the compounding is done for therapeutic use in a particular patient, and the compounded product is supplied on or from the compounding pharmacy. there are additional requirements for sterile compounding. not only must a laminar flow cabinet be used, but the environment in which the hood is located must be strictly controlled for microbial and particulate contamination and all procedures, equipment and personnel must be validated to ensure the safe preparation of sterile products. in non-sterile compounding, a powder containment hood is required when any hazardous material (e.g. hormones) are prepared or when there is a risk of cross-contamination of the compounded product. pharmacists preparing compounded products must comply with these requirements and others published in the australian pharmaceutical formulary & handbook. regulation in the united states in the united states, compounding pharmacies are licensed and regulated by states. national standards have been created by pharmacy compounding accreditation board (pcab), however, obtaining accreditation is not mandatory and inspections for compliance occur only every three years. the food and drug administration (fda) has authority to regulate "manufacturing" of pharmaceutical products–which applies when drug products are not made or modified as to be tailored in some way to the individual patient–regardless of whether this is done at a factory or at a pharmacy. in the drug quality and security act (dqsa) of 2013 (h.r. 3204), congress amended the federal food, drug, and cosmetic act (ffdca) to clarify limits of fda jurisdiction over patient-specific compounding, and to provide an optional pathway for "non-traditional" or bulk compounders to operate. the law established that pharmacies compounding only "patient-specific" preparations made in response to a prescription (503a pharmacies) cannot be required to obtain fda approval for such products, as they will remain exclusively under state-level pharmacy regulation. at the same time, section 503b of the law regulates "outsourcing facilities" which conduct bulk compounding or are used as outsourcing for compounding by other pharmacies. these outsourcing facilities can be explicitly authorized by the food and drug administration under specified circumstances, while being exempted from certain requirements otherwise imposed on mass-producers. in any pharmacy, compounding is not permitted for a drug product that is "essentially a copy" of a mass-produced drug product, however outsourcing pharmacies are subject to a broader definition of "essentially a copy". for traditional/patient-specific compounding, 503a's definition of "copy" retains its original focus on drug products or ultimate dosage forms rather than drug substances or active ingredients, and in any event it explicitly excludes from its definition any compounded drug product that a given patient's prescribing practitioner determines makes a "significant difference" for the patient. the fda weighs the following factors in deciding whether it has authority to "exercise its discretion" to require approval for a custom-compounded drug product: compounding in anticipation of receiving prescriptions compounding drugs removed from the market for safety reasons compounding from bulk ingredients not approved by fda receiving, storing, or using drugs not made in an fda-registered facility receiving, storing, or using drugs' components not determined to meet compendia requirements using commercial-scale manufacturing or testing equipment compounding for third parties for resale compounding drugs that are essentially the same as commercially available products failing to operate in conformance with applicable state law outsourcing facilities the dqsa amended the ffdca to create a new class of fda-regulated entities known as "outsourcing facilities" whose compounding activities "may or may not" be patient-specific based on individualized prescriptions. registered outsourcing facilities, unlike traditional compounding facilities, are subject to the fda's oversight. in addition to being subjected to food and drug administration inspections, registration, fees, and specified reporting requirements, other requirements of outsourcing facilities include: drugs are compounded by or under the direct supervision of a licensed pharmacist the facility does not compound using "bulk drug substances" (unless certain exceptions apply) and its drugs are manufactured by an fda-registered establishment other ingredients used in compounding the drug must comply with the standards of the applicable united states pharmacopeia or national formulary monograph, if a monograph exists the drug does not appear on a list published by fda of unsafe or ineffective drugs the drug is not "essentially a copy" of one or more marketed drugs (as defined uniquely in section 503b, notably more broadly and with narrower exclusions than for "traditional" compounding) the drug does not appear on the fda list of drugs or categories of drugs that present "demonstrable difficulties" for compounding the compounding pharmacist demonstrates that he or she will use controls comparable to the controls applicable under any applicable risk evaluation and mitigation strategy (rems) the drug will not be sold or transferred by an entity other than the outsourcing facility the label of the drug states that it is a compounded drug, as well as the name of the outsourcing facility, the lot or batch number of the drug, dosage form and strength, and other key information drug testing and reporting of incidents poor practices on the part of drug compounders can result in contamination of products, or products that do not meet their stated strength, purity, or quality. unless a complaint is filed or a patient is harmed, drugs made by compounders are seldom tested. in texas, one of only two states that does random testing, significant problems have been found. random tests by the state's pharmacy board over the last several years have found that as many as one in four compounded drugs was either too weak or too strong. in missouri, the only other state that does testing, potency varied by as much as 300 percent. in 2002, the food and drug administration, concerned about the rising number of accidents related to compounded medications, identified "red flag" factors and issued a guide devoted to human pharmacy compounding, these factors include instances where pharmacists are: compounding drug products that have been pulled from the market because they were found to be unsafe or ineffective compounding drugs that are essentially copies of a commercially available drug product compounding drugs in advance of receiving prescriptions, except in very limited quantities relating to the amounts of drugs previously compounded based on valid prescriptions compounding finished drugs from bulk active ingredients that aren't components of fda-approved drugs, without an fda-sanctioned, investigational new-drug application receiving, storing, or