Translate

Blog Keyword Search

Thursday, 1 November 2018

The Importance of Understanding Process Validation for Pharmaceutical Process Chemists

Process validation is a legal requirement applied to active pharmaceutical ingredient manufacturers by governments and it is administered by their regulators. Process development chemists contribute to the documentation of process validation.

Philosophical Differences between Process Chemists and Regulators

Process chemists when faced with a synthesis problem ask themselves the question, “How might this be made to work?” We then seek the optimal operating parameters for a scheme that achieves the desired physical reality. Regulators look at what we have achieved and ask themselves, “How could this fail?” Instead of looking at the optimal conditions that have been found, they are looking at the limits for the failure of every critical parameter of the system we have optimized and are asking how this could upset the output quality of the system? A
s creators, we struggle to succeed at jigging the system to give the result we need. We struggle to understand the coded messages of our experiments to deduce what a practical process would be.  The regulators analyze what we have created to see at what points it could break down. Since any process can be made to fail by deviating enough from its teaching, this thinking is alien and frustrating to us.

Drug Substance vs Drug Product

As Dr. Oljan Repic has pointed out in his book,[ Principles of Process Research and Chemical Development in the Pharmaceutical Industry, John Wiley & Sons, Inc. p. 179-194], a chemical process for making an active pharmaceutical ingredient (API) from commercial bulk chemicals is very, very different from making a final dosage form from its API. This is because, in the former, chemical steps result in the creation of new substances by first combining a great many undesired materials (substrates, substrate impurities, reagents, catalysts, solvents, etc) and then, after exposure to some reacting conditions, separating these and other undesirable materials (co-products, by-products, unanticipated and unidentified impurities) from the desired reaction product. In contrast, making a drug product from an API does not involve chemical reactions or purifications (other than drying). The drug product is some kind of mechanical mixture or micro-engineered assemblage of the inputs and so it is a simple combination of what is put into the process modulated by the manipulations. This is not to say that how an active ingredient is formulated into a drug product doesn’t affect the medicine’s effectiveness or even safety. It does. What I (and I think, Dr. Repic) are maintaining is that formulating is an inherently simpler change than synthesis and consequently failing to control the process of the former within the limits established is much more certain to cause the product to fail its specifications. Since there is no purification aspect in formulating, if it is garbage in, it will most certainly be garbage out. There is no possibility for purification in formulation so there is no capacity to rectify any serious deviations.
The synthesis of a pure chemical substance such as an API is nowhere near so dependent upon the starting material purity and the nitty-gritty of the process. In fact in the limit (100% purity),  the properties of a pure chemical substance are completely independent both of its route of synthesis and the details of the most immediate transformation by which it is prepared. Even in the real world of actual APIs, the only evidence of the route of synthesis that remains in ‘pure’ product is the faint fingerprint of trace impurities that are still carried in it. Effective purification decreases this below any level of practical significance related to efficacy or safety and even, in many cases, below the level of analytical detection.
Even if it might come as a surprise to beginning formulators that how an API and the other excipients in a drug product recipe are combined can significantly alter the bioavailability of a tablet; it would not surprise even one tyro chemist that deviation from the details of a chemical process would cause the quality and yield of such product to suffer.

It is the Purification that Must Work

In a synthesis it is really only the final purification that needs to be effective to deliver a drug substance of the required purity, with the proviso of course that the analytical methods used to assess that purity need be validated. The process by which the final product is produced needs to be known essentially only so that the analytical methods can be tested for their capacity to detect and quantify the authentic likely/expected impurities.
This however is not the law. Regulators and politicians err on the side of caution and the validation rules they approve are more rigid than they need to be, because the rules derive historically from, and still closely resemble, those for formulated drug products. Process validation was originally conceived and implemented as a method to assure that each unit of a drug product could be guaranteed safe even when it could not be analyzed, either because the analysis would destroy the product or because the proper functioning of the product could not be analyzed. Drug security by validating the process was initially directed to drugs formulated for injection into the bloodstream. If these were contaminated by bacteria the patient would likely quickly die. Even if one took a proper statistically representative sample of the product there still could be some fatally toxic units of the product undiscovered. The solution was to control the process used to make the units so strictly that it would be extremely unlikely to make even one contaminated sample. This was the only course of action that could be effective because the fatal contamination came from the process (from the bacteria carried in the air) not from any starting materials.
Process validation also turned out to be valuable for assuring the efficacy of drug dosage forms where the delivery of the active ingredient from the dosage form ( ie tablet, capsule) into the bloodstream of the patient was challenging. In these cases, analysis of the dosage form was not showing reliably whether a particular lot of drug product could deliver the clinically required exposure to the medicine. Drug product prepared by a validated process was found much more likely to produce the desired clinical outcome.
Process validation differs significantly from chemical analysis in its ability to provide protection from different types of contamination problems. A drug substance is almost always a pure chemical compound. It is a single molecular entity and can be analyzed; precisely, to confirm its constitution, and sensitively, to show the presence of homogeneously dispersed contaminants. Drug substances are not mechanical mixtures like flakes of this and that stirred together as is often the case for tablets and capsules.  Such mixtures are statistically homogeneous only at the scale of a dose but heterogeneous at the particle scale. This is what one finds in a mixture that is pressed into a pill. Process validation is better than analysis to guarantee that heterogeneous, most often particulate, contamination is not present. The reason for this is that chemical analysis of an active pharmaceutical ingredient (API) requires taking a representative sample from the entire batch to perform the analysis. It is quite likely that even with an approved statistically sound sampling procedure a heterogeneously contaminated batch would not get any contaminant into the sample being analyzed. Take for example the situation where glass particles from a chipped piece of equipment contaminated a batch. The dense glass would migrate to the bottom of the container and might escape the sampling. Thus it would not be detected. A validated process, however, could make sure that there was no conceivable condition where any glass could remain in a final product. The final filtration before the final crystallization of an API  is part of a process for just such a validation purpose.

Process Validation: A Development Scientist’s Most Important Activity

Drug discovery chemists do not need to  learn about process validation; process development chemists do. It is the latter’s work that is being examined. Nevertheless, scientists in general always like to know whatever they can about the synthetic routes they devise and discovery chemists may eventually transition into career development chemists. The additional experimentation that process validation requires does increase scientific knowledge about that process.  It answers questions about the practical limits of those process conditions that most significantly impact final product quality.  But aside from the scientific merits, it is important that pharmaceutical chemists, particularly process development chemists, understand process validation, since, because the pharmaceutical business is a highly government-regulated activity, any API they might make cannot be included in a medicine for sale unless it is made by a validated process. This makes validation the most economically significant test to which a scaled-up industrial process can be subjected and so all the chemist’s activities should be viewed from the perspective of its contribution towards success in validation.
Many and perhaps most companies that manufacture APIs exclude scientists below the managerial level from any contact with the government regulators who assess the quality and completeness of the validation process. Likewise, it is only senior technical people sign off on or assemble the validation report, which is the core document of the validation exercise. Yet exposing employees, who have very specialized tasks, to the all-encompassing validation program lets them see their precise role in it. Specifically, chemists, who are focused on process development, are likely to do much better in organizing their data, writing reports, etc. if they understand the larger purpose their data and conclusions will serve when process validation protocols are assembled and executed and the Development Report is folded into the Validation Report. Indeed it is highly recommended that general training in the concepts of process validation should be given to all individuals who are part of the development and manufacturing program not just to those who require such training as part of Good Manufacturing Practice (GMP).

The Corporate Validation Policy

Validation is so important to API-producing companies that very often it is heralded in a written Corporate Validation Policy. Where this document exists it is the overarching document pertaining to the validation methodology. As such it sets down general principles that employees should adhere to, rather than the nitty-gritty details; nevertheless, it is a good place to start in examining that most important activity called process validation.
A lifecycle policy approach to the validation concept is regarded by many experts as preferable or even essential. Validation activities begin with the inception of the development program and logically should not end until the product is retired. A corporate validation policy should provide validation expectations over the lifetime of the process. It should state the company’s expectations for both the organization’s scientific and documentation goals. Both of these classes of goals need to be kept in mind and adhered to from the first day of process development to the last. In other words, the Product Development Report (PDR) should be a ‘living’ progress report that is continuously updated through the product lifecycle. Many firms make the mistake of creating a static, concrete, dated, PDR paper which is archived once that first regulatory approval is obtained. Because improvements are being made throughout the lifetime of the process, these may require additional validation work and regulatory filings. These changes should set in motion an update of the PDR.
Since every organization has a somewhat different internal structure, any policy needs to allocate responsibilities for maintaining the product/process documentation including the mature product responsibilities relating to monitoring, trending, and change control.

The Validation Master Plan

The Validation Master Plan is the most senior planning document that pertains to a specific validation. It makes concrete and project specific what is set down in the Validation Policy only in a general way. It takes into account even the most recent changes in the organization’s structure, responsibilities, and reporting chains. The Validation Master Plan assigns actual project milestones to named persons and groups. It sets dates for meeting those milestones. It sets out what activities are to be performed when and it decides the science that will take place at small and at large scales. If the validation is for a new drug substance the Validation Master Plan needs to be revisited and modified as the clinical phases advance.
All aspects of the validation documentation are important. The regulators look not for what the company considers most important; what is scientifically most significant; what has been presented most clearly and completely or where the maximum inherent risk is, but what has been overlooked because that is from their perspective where that process deviation leading to dangerous medicine could most likely arise.

Some Aspects of Process Validation that are not the Development Chemists’ Responsibility

Validation must demonstrate that the process being examined is performed under good manufacturing practice (GMP). Mercifully there are many aspects of GMP that are not the responsibility of development chemists. Every organization that manufactures products for sale makes batches for clinical (human) tests or supports regulatory filings must have a separate and independent quality control unit to test, approve, and reject products; set and approve specifications for raw materials and products; and write and approve these and other written procedures. Another requirement of GMP is that all personnel associated with production must be trained in GMP and the company must be able to prove that training with the signatures of those trained. You may have been asked to submit your resume to a company representative responsible for meeting GMP standards. The company is required to show that its scientists too are adequately credentialed for their work.
The facilities and equipment to be included in a process need to be qualified before they can be used in an acceptable validation exercise. These qualifications are usually unfamiliar to practicing chemists. They are matters that are implicit in our everyday activities and are completely taken for granted by us.
Facility qualification relates to the suitability of the physical site and its infrastructure and personnel to carry out the process that is to be validated. Most of these matters are strictly the domain of architects, contractors, and engineers.
Drug substances in general have requirements for the facilities in which they are manufactured. The FDA will not allow someone to make a GMP drug substance in a bathtub in a garage! It insists upon the written assurance that the manufacturing facility has adequate space, heating, ventilation, plumbing, and maintenance.

The Development Report

The core document that development chemists do contribute to API validation is the Development Report.  Process chemists recognize the Development Report as the history of the entire process development but it is at the same time a regulatory validation document of enormous importance. Validation would need to be done, if for nothing else, at least to convince regulators that the product is reproducibly safe, but API product safety is not the only goal of process development. Optimization aims to minimize cost, maximize throughput, achieve appropriate safety, reduce environmental burden, and deliver consistent, convenient operation of the steps. Consequently, some IPCs and some specifications are not critical in the regulatory sense of controlling final product quality. Deviations from these do not put the API quality at risk. Some of these aforementioned standard ranges alert batch sheet reviewers, when they are changing non-randomly, to potential creeping deviations (trends) that can have economic, safety, environmental, or simply consistency consequences, without there being quality ones. This means that an API could fail a noncritical IPC and still be safe and effective to use. Failing a specification or IPC that correlates with a critical process parameter (CPP) and in turn a critical quality attribute (CQA), on the other hand, would mark a failed batch.
A synthesis can in strict theory be traced back to the most elementary of chemical building blocks- even atoms themselves. What needs to be decided for validation is how many of the steps in the retrosynthetic direction need to be validated to ensure the required safety. This ‘depth’ of the validation study establishes what chemical transformations or treatments are included within the validation and what steps are accepted simply as the making of starting materials to be controlled by their material specifications independent of their particular synthesis.
Today, it is a good bet that most synthetic API processes are multi-step with at least one complex chemical transformation. Similarly, it is unlikely to be disputed that the final process step that creates an API, and the subsequently entailed purification, needs to be validated. Beyond this, there is no consensus answer as to when to apply process validation for intermediate steps in a multi-step process. Each process it seems must be evaluated as a separate case. So many factors are in play. This does not mean that a coherent policy or procedure cannot be established for a company describing how it should do that evaluation. In fact, putting such a decision tree in place can lead to better, faster, even less expensive, choices.
The process validation for an API is at least the sum of separate validations; one for each intermediate step that contains a critical parameter. Thus the determination of what steps are to be included in the full validation amounts to identifying what steps contain at least one critical parameter. This is much the same as asking what the starting materials are for the steps that will be validated because steps for making an API starting material do not need validation. Terminology can be the source of as much disagreement as the chemistry in these discussions so definitions are important. A ‘step’ leads either to an isolated or non-isolated intermediate. Other important determinations to get straight are: what is(are) the ultimate intermediate(s) or final intermediate(s), and what overall scheme of reactions and purifications will be required to produce the final API.
Determining what constitutes a starting material is debatable. According to Roger W. Koops, [Process Validation of Synthetic Chemical Processes for the Production of Active Pharmaceutical Ingredients (APIs), Journal of Validation Technology, Volume 8 Number 2 January 2002], “a starting material should be a readily available item that has a standard grade (or grades) associated with it, and has been well characterized. If produced under contract by a vendor, it should be produced by a known and established process, and the end product should be, again, capable of achieving a standard grade. Second, the vendor should be qualified (under a vendor qualification program)to ensure that a material meets consistent quality standards. A rudimentary quality agreement should be established to outline change notifications and quality requirements. What must be avoided are unshared, unannounced process changes that can change the impurity profile of the downstream drug. If a material is manufactured by a contracting party and the process was supplied by the innovator, the material is simply a third-party manufactured intermediate. The contractor now becomes an extension of the innovator, and the transferred process must be included in the full validation evaluation”.
Starting materials, generally speaking, are inputs to a synthesis whose atoms are partially incorporated into the drug substance. They do not need to have their own syntheses validated.  Their quality is accepted based on their certificates of analysis. In contrast, intermediates are created directly or indirectly from starting materials. They arise downstream in the process with respect to some starting materials. Most intermediates arise in steps that need validation, but at least in principle, there can be exceptions.  A step starting with an intermediate and resulting in another intermediate does not need to be validated if the interconversion process step has no critical parameters. That is, the step is so rugged that no matter how it is executed it does not affect the purity of the final drug product. This would be a rare case indeed. The reaction would need to be ultra-tolerant of reaction parameter deviations and/or the isolation would need to be exceptionally powerful at excluding impurities.
 As the overall chemical development proceeds an impurity profile for the final product should emerge The validation policy should emphasize the importance of characterizing process impurities as early in the development process as possible. From this, each intermediate process step can be evaluated as to its influence on the purity of the end product. If an intermediate needs to be controlled because it could contribute to an adverse quality profile of the API, process validation should be applied to its related process step.
Each intermediate needs to be evaluated for how it contributes to the final API, in regard to the impurity profile and the specific process for that intermediate. Besides isolated intermediates, non-isolated intermediates should also be evaluated, since steps comprising these may be ones where even stricter controls may be required. For example, an intermediate may not be isolated due to structural instability when not in solution. In this case, the concentration and/or potency of the intermediate may be a critical attribute that needs to be controlled.
Either the corporate validation policy or the particular validation plan needs to provide guidance on whether the validation exercise at the plant scale should be designed so as to “stress” the accepted parameters by operating at the maximum or minimum accepted level (the edge of failure), or to aim for the set point target of each parameter. Some companies have attempted to matrix the parameter limits in an effort to test the extreme limits of process parameters.
This author holds the view that the laboratory development phase is the place to establish the boundaries of the operating ranges, and how combinations between extremes of parameters affect the final outcome of the process. Process validation, by definition, is used to demonstrate the limits of consistency of the process as designed and thus should aim for the set points of operating parameters. From a manufacturing standpoint, it is advantageous to operate based on the targeted parameter values for batch consistency.
Because the Process Development Report (PDR) is such a key element of validation documentation, it is important for the corporate validation policy to set out at what points interim reports need to be submitted during process development because interim reports make the compilation of the PDR easier to manage.
The Corporate Validation Policy may need to provide some guidance concerning choosing critical parameters since their number strongly affects the breadth and hence the expense of the experimentation.
Some organizations choose to call critical only parameters, that affect the impurity profile and the ability of a material to pass specifications. However, the ability of an output product to meet specifications is not the sole indicator that its process is running smoothly. There are sometimes parameters that, for example, affect yield, without affecting the final product’s properties. Nonetheless, variation of yield beyond normal experimental error points towards a process out of control. Whatever the inclusion/exclusion rules, the basis of the decision can be either a general policy prescription or something considered only on a case-by-case basis at the level of the Validation Master Plan (VMP).

Validation Protocols

 The validation Master Plan amalgamates validation protocols. The hallmark of a process step that is ‘under control’ is that is predictable. The sequence of operations that constitute the step is unequivocally established in advance, the acceptable operating ranges of the critical parameters are set down in advance, and the critical specifications of the output material are set down in advance. So what sets a validation batch apart from any other pilot experiment is that there can be no recourse to any procedural or corrective activity that is not set out in advance in the protocol. The organization cannot redefine success in a process step being validated after the requisite batch is complete and so eliminate deviations between what was predicted and what transpired. The regulators are the referees who decide whether, when the organization executes the protocol, it follows its own procedures and meets its own standards.
Although some experts urge that the protocol should be drafted to be ‘as concise as possible’, protocols are normally known for their verbosity. A process validation protocol will describe in excruciating detail the ‘how to’ for the validation exercise. The protocol resembles a master record in many ways but provides a greater level of descriptive detail regarding the execution of the process, the monitoring of the steps containing critical parameters, and sampling instructions for the in-process checks, particularly critical in-process checks. In every case, either a procedure should be described in detail in the protocol or a reference should be provided in the protocol to an already established procedure for handling the task (ie a standard operating procedure). The instructions should not just be sufficiently unambiguous that they would direct a trained operator to choose the correct action. It should be such that a regulatory reviewer can only conceive a single proper performance of the instruction. Certain styles of drafting can condense the presentation without losing explicitness. Where applicable, data should be entered directly into the protocol. If an exercise is particularly complex, a series of protocols may be preferable. Protocols should have places in them for reviewers’ initials or signatures.
One way of looking at the components of a validation protocol is to see that they reproduce many of the parts of a summary report about a set of batches, but unlike the report, the protocol is written in advance (remember after developing a process you are supposed to be able to predict everything that is crucial to product safety in advance).
The protocol should include many sections that process chemists would likely consider report padding. There should be an introductory section defining the scope of the protocol relating back to the overall Validation Master Plan. The question of where this particular protocol fits into the overall validations should also be answered. The responsibilities for execution, testing, review, and approval for the overall validation exercise need to be reproduced here even if they also appear elsewhere. Also, for each particular protocol, the department and job responsibilities need to be restated and the entire protocol needs to be approved by the top technical officer and the top quality officer. The purpose of the sign-off is to make unequivocally clear that top management has seen and bought into the exact protocol exercise that is to be executed.
Because a description in words alone may be more difficult to follow than an illustration, a process flow diagram (PFD) for the particular step or portion of a process that is being validated should be provided annotated with starting materials, reagents, solvents, process conditions, transfers, by-product concentrates, waste streams, and purifications, etc. If there are any recycle loops or patches prepared in advance these need to be presented here in advance. The operations should be assigned an identification code so that further elaborations can be related unequivocally to the correct portion of the PFD. If seed crystals are used where they come from, what quantity they are what specifications they meet need to be set down. It is generally important and advantageous to identify critical process steps containing one or more critical process parameters on the PFD document. The idea is to give the operators no ‘wiggle room’ as to how the execution of the exercise is to proceed. This in turn gives regulators confidence that you have confidence in your process understanding and control.
A complete protocol should provide a bill of materials for every consumable item used during the process. Particular attention should be given to be sure that even materials that are not part of the chemical transformations also be there, such as filters, filter aids, packaging for chemicals before and after the main chemical transformation, seed crystals, etc. Some materials have both a name and an identification code. A reference to the specification or COA should be in the listing. If the PFD has the operations in the sequence labeled, this label should be here as a cross-reference.
All the equipment used in the process needs to be referenced. The actual documentation does not need to be reproduced in the report but the IQ, OQ, and PQ report numbers need to be given as well as the cleaning procedures and the cleaning validation reports and instructions. The ranges of parameters, particularly any critical parameters that will be used should be noted and highlighted. Of course, the required operating range needs to be within the validated range for each piece of equipment. If there are any special procedures that involve the equipment during the process these procedures must be detailed here or referenced accurately.
Facility documentation only needs to be referenced along with the DQ, IQ, OQ, and PQ materials. The only recapitulation of the facility validation would refer to the particular importance of any unusual facility capability for the protocol being validated. One example of such a special competence would be the inclusion in the facility of Class C clean rooms.

Critical Parameters

Only at this point do we get to elements that process chemists would consider the essence of scaled-up inventiveness. Specific page references should be made to the Development Report where the critical parameters are established and the data used to establish them is organized. Various ranges of the critical parameter need to be discussed. The master procedure range is the range that will be set out in the master batch sheet. Within that range will be the set point which is the numerical setting used on the regulating equipment. Under regular operating conditions, the set point can only be transiently met because of the equipment’s inherent limitations to overshoot and undershoot. The master procedure range of course cannot be less than the range set by the equipment’s inherent limitations. The next wider range is the verified range which is the range actually experienced in the plant. The Development Report may make predictions of a wider verifiable range from laboratory experiments. Using development data, a prediction will also be made of the process limits for the parameter. This is the edge of failure exceeding which the API is expected to suffer quality repercussions. Another limit that may be mentioned is the practical range of the equipment with respect to the critic parameter. For example, in a steam-heated reactor, the practical limit for external heating would be 150 C. For each critical parameter the controls that will be applied to maintain it need to be listed.

In-Process Tests

Every batch sheet comprises in-process tests that are used to assess the progress of the processing. A list is required of all the in-process tests within the protocol showing at what point the sample for testing is taken, what the test method will be, who will perform the test, and how the results will be reported. If the test is a go/no go test which is repeated until the go signal is obtained this should be explained. Achieving a particular result may be a critical parameter. If this is the case that needs to be made clear. For example, neither the reaction temperature nor the time may be critical but the outcome of an in-process test for reaction completion may be critical. Thus a lower temperature and longer time or a higher temperature and shorter time may each achieve the completeness required to pass a critical IPC.

Sampling Plans

Process development chemists know that sampling heterogeneous reaction mixtures does not give results representative of the mixture in its entirety. Even testing of the separated phases individually is fraught with difficulties. Solids that are to be sampled are rarely homogeneous. Even homogeneous solid mixtures can demix with mild shaking.  As a consequence, if one is going to have a significant analytic result, the sampling must achieve a representative sample. Within the protocol, the plan should indicate the sampling location, the amount of sample to be taken, how it is to be collected, how it is to be stabilized if necessary, how stored, and how transported to the testing facility. Both operators and regulators need to know before the exercise exactly how the sampling is planned. Of course, at what point the test will be done must be indicated unequivocally. If there is a sampling deviation, it is helpful if it is reported in the batch sheet before any result for that sample is available.

Acceptance Criteria

All criteria that must be within predefined ranges must be listed in advance both critical parameters and IPC results and testing on the final product.

Deviations and Investigations

The most desirable outcome from executing a validation protocol is that all critical parameters are held within the operating range and the resultant intermediate has test measurements within the range of intermediates that have provided safe and effective IPA. That is what we aim for. What if some critical parameters are measured outside the master procedure range but not outside the verified range? What if some critical parameters have strayed outside the verified range but the intermediate seems unchanged in properties from the intermediate prepared without deviations? What if the migration out of bounds was brief or very small in magnitude? What is very important is that as much as possible the assessment of the impact of a possible deviation should be made before the validation is actually executed. Identifying a parameter as critical when it is not critical is unlikely after a thorough development but getting the limits of failure somewhat incorrect is rather likely. One does not want to abandon or fail a validation batch when in fact it will result in a pure safe final IPA. Falling outside of most critical parameter ranges is easily avoided but sometimes the desired operating range falls close to a limit of failure because the manufacturing needs to achieve some objective not related to final product safety or effectiveness but to minimizing cost, improving safety, or reducing waste. It is in these situations where preliminary considerations of less desirable outcomes can be invaluable.

Equipment and Facility Qualification

Equipment Design qualification (DQ) relates to equipment/machines. Design qualification is normally the responsibility of the equipment vendors. Successful Installation qualification (IQ) demonstrates that the equipment has been properly installed. Operational qualification (OQ) demonstrates that the equipment can achieve the operating parameters intended when exposed to typical substrates. An OQ does not need to specifically test the conditions of a particular process. That is the function of performance qualification (PQ).  In general, it is best to have all facility and equipment qualifications completed prior to process validation (certainly all IQ/OQ should be completed). Performance Qualification (PQ) can be performed during process validation, but it is generally advisable to have completed this testing prior to process validation since it would add additional risk to the exercise. However, there may be some instances where it is useful to concurrently perform an equipment or facility PQ during process validation. In those cases, a separate PQ protocol should be drafted and referenced in the process validation protocol.

 Analytical Validation

The validation of the required analytical methods that are used to follow the trends of the critical parameters during the process experimentation may be regarded as a sub-program to the overall validation project. Secure conclusions can only be derived from reliable data collected using validated methods, so methods validation needs to proceed hand-in-hand with the examination of the chemical transformation processes themselves.

Cleaning Validation

Equipment cleaning methods need to be included as part of the Validation Report. Cleaning validation is also sufficiently complex that it is better treated as a sub-discipline with its own report sub-section. Some API producers prefer to have standard cleaning procedures for their equipment which are always executed irrespective of the process that is being cleaned up. These methods are part of the SOPs for operations. Where these methods alone cannot be expected to satisfy the cleaning requirements additional cleaning may be set in place as part of the Master Batch Record following a particular exposure. Another organization might specify the cleaning treatment based on what the chemical step has exposed equipment to. That decision can be part of the Corporate Validation strategy. Cleaning methods can be developed in parallel with the chemical process development and cleaning validation can conveniently occur either prior to or concurrent with process validation. These decisions can also be policy decisions or part of a Validation Master Plan for a particular validation.
Cleaning of reactors in which any broadly insoluble, polymeric, or tarry by-product is formed can expend valuable reactor time and penalize throughput. When process chemists include such steps in a process going to scale up they should take a special responsibility to work with production personnel to develop efficient cleaning or at least pass along a warning of the difficulty and whatever they already know about overcoming it.

Conclusion

In conclusion, although process chemists need not become validation experts and although they may not be personally enmeshed in the validation exercise, some overall familiarity with the subject, from their own perspective and emphasizing their unique role, can enhance their work and their enjoyment of it.

Wednesday, 31 October 2018

Chemical Process Strategies to Increase Product Throughput


A distinction needs to be made between improving the quality of the product produced by a particular chemical process and the simpler need to improve the throughput from a particular plant using the same reaction steps. When questions of throughput are directed back to process chemists, they often, improperly, think about changes in the chemical process. It is efficiencies in the unit operations that need to be looked at first and usually exclusively. The most common places to save time and increase throughput accordingly are:

1.     Reactor preparation time
2.     Partial cleaning vs full cleaning
3.     Vacuum concentration vs atmospheric distillation
4.     Modified intermediate washing to reduce drier time
5.     Modifying isolation to reduce point of maximum volume
6.     Eliminate a charcoaling
7.     Eliminate a solution drying
8.     Improved reactor cleaning protocols
9.     Add peripheral equipment to debottle-neck an operation
10.    Remove in-process checks where procedure is under control.

Sunday, 16 September 2018

Solvent Exchange at Scale in the Plant

The need for solvent exchanges in the sense of displacing one solvent by another without passing through a liquid-free state exists only in the plant or pilot-plant settings.  Doing chemistry in the laboratory, when one solvent needs to be replaced with another, the solution contents are placed in a round-bottomed flask, set spinning on the vacuum rotary-evaporator with appropriate heating and strong condensing, and when the first solvent has been completely evaporated then the required new solvent is added and the solutes brought back into solution by swirling and scrapping.

However, at scale, evaporation to dryness is not possible without caking and possibly charring. Even if it were possible to avoid degradation, the layer of non-volatile residue would become so thick on the reactor walls that heat transfer to complete the evaporation would be made impracticable.  Combined with this difficulty, at low volumes in a normal reactor stirring stops.  Thus, solvent replacements must be done without completely removing all the liquid phases at any point.

As an exercise, let us consider solvent replacements among a dozen of the most common solvents.  This examination is an analytical exercise. None of the more complex, multistage switches have been experimentally verified.  The only inputs to these proposals are miscibilities that are known, solvent boiling points, and the data from binary azeotrope tables.

I have named my list Common Reaction Solvents because they are not all solvents of choice for process chemistry. Chloroform, for example, would not be used today in a chemical process, and hexane because of its flashpoint would be questionable. Besides all being affordable together they span a wide range of physical properties. Seven of these solvents are miscible with water. Four are immiscible with water.  Two (ethyl acetate & dimethylformamide) can be hydrolyzed by aqueous acid or aqueous base. Three are dipolar aprotic. None make an aqueous phase either acidic or basic.

Common Reaction Solvents


Methylene chloride               39.6
Acetone                                  56.1                
                                          Chloroform                            61.2                                                
Methanol                                64.5                                                        
Tetrahydrofuran                                66.0                                
Hexane                                  68.7    
Ethyl acetate                          77.1
Ethanol                                   78.3
Isopropanol                            82.2
Toluene                                  110.6
Dimethylformamide               153.0
Dimethylsulfoxide                 189.0
                        

The Number of Combinations

There are 12 x 11= 132 possible binary replacements among this group of frequently used solvents. 

In considering a solvent switch from any first solvent on this list to any second solvent on this list, certain replacements are not a challenge. So long as no azeotrope is formed and so long as the difference in boiling points is more than about 30 centigrade degrees any replacement from a lower boiling solvent to a higher one can be done trivially by simple distillation through a column of a few theoretical plates.

Thus, methylene chloride can be directly replaced by ethyl acetate, ethanol, isopropanol, toluene, DMF, or DMSO. Acetone, chloroform, methanol, THF, hexane, and ethyl acetate can each be replaced by toluene, DMF, or DMSO. Isopropanol can be replaced by DMF or DMSO and toluene can be replaced by DMF or DMSO. Finally, DMF could be replaced by DMSO. 

This takes care of 29 of the 132 switches. We have 103 remaining to consider.  The more difficult replacements will be those from a higher-boiling to a lower-boiling solvent or between the two solvents close together in boiling points. 

When a replacement is done by simple single-stage or azeotropic distillation one does not need to take into account the solubility of the non-volatile constituents of the solution. Whether these solutes are less soluble or more soluble in the second solvent compared with the first does not matter.  Since the solutes we are considering would be relatively non-volatile they cannot escape. They will stay with the liquid phase in the reactor no matter what it becomes.

Some exchanges cannot be performed by distillation alone but require some additional action.

DMSO Replacement

Let us consider first the replacements when DMSO, the highest boiling solvent on our list, must be replaced.  If DMSO is mixed with 'mineral spirits' (pet. ether bp 179-210 C) and the mixture is distilled (preferably under high vacuum), DMSO, as the more volatile of the two liquids, will be the distillate leaving the non-volatile solutes together with the non-polar mineral spirits, dissolved or as an immiscible phase. 

On the other hand, if DMSO is diluted with a little water and mixed with hexane, two phases will form, but non-volatile solutes will only transfer substantially into the hexane layer if they are distinctly lipophilic. Polar solutes will remain in the DMSO-water layer no matter that a choice of phases is available.  Continuous extraction is not really a viable option at scale.  It is too complicated and too slow.

In solvent replacement schemes that comprise some extraction, the polarity of the solute being transferred is critical. In this article, I will use the term ‘somewhat polar solute'. My operational definition will be a 'somewhat polar solute' is one that can, in no more than three equal-volume extractions, be removed in at least 90% yield from a hexane solution into a methanol solution. Such solutes, I imagine, are generally less than 400 MW and contain several at least moderately polar functional groups such as alcohol, ketone, ester, or amide.

Transfer of a 'somewhat polar solute' from DMSO to Methanol

Preparing a methanol solution of such a solute

To transfer a 'somewhat polar solute' from DMSO to methanol one can imagine the following sequence of steps:

1.  Under vacuum, concentrate the DMSO phase to the 'minimum stirrable volume.
2.  Add mineral spirits and co-distill under a vacuum to remove the last portion of DMSO as in the first paragraph of this section.
3.  Cool the reactor contents.
4.  Add methanol to the slurry/oil/solution between the solutes and the mineral spirits.
5.  Stir the two phases to partition the solutes.

Since mineral spirits are mostly paraffin molecules, only the most apolar solutes will prefer that pure hydrocarbon phase.  The 'somewhat polar solutes' will prefer the methanolic phase. Several extractions with methanol should transfer the solute.  Wash the combined methanol extracts with hexane to remove traces of the high-boiling mineral spirits. Alternately, if instead of mineral spirits, a liquid that is completely straight-chain paraffin is used for the displacement, the residual paraffin can be removed from the methanol by adding and then crystallizing urea from the methanol. This will generate a urea inclusion complex, which will effectively remove the straight-chain hydrocarbon from the methanol.  

Note that this idea for cleaning up the final traces of straight-chain hydrocarbons in mixture with other solutes has never been put to an experimental test. The formation of urea complexes with kinds of paraffin alone is treated in Differential thermal investigation of complex formation in the system urea-n-paraffin. A.V. Topchiev, L.M. Rozenberg, N.A. Nechitailo, E.M. Terent’eva, Zhurnal Neorganiicheskoi Khimii (1956) 1, 1185-93. and also the same authors Doklady Akademii Nauk SSSR (1954,) 98, 223-6.  There is also an older article that touches on all the types of substances that can be treated this way, O. Redlich, C.M. Gable, A.K. Dunlop, R.W. Millar. Addition compounds of urea and organic substances. J. Am. Chem. Soc. (1950), 72, 4153-60. 

Of course, this option cannot be used, if the desired solute is a straight chain of more than 6 atoms with no significant branching.  The solute would also get trapped in the urea complexing.

Whatever method is used to remove the last bit of high boiling hydrocarbons, this solution in methanol will be called Solution M because it will be used as a starting point and a first step for other exchanges.

Transfer of a ‘somewhat polar solute' from DMSO to one of toluene, hexane, ethyl acetate, acetone or chloroform

Using Solution M as obtained above, somewhat polar solutes can be transferred to the subtitle solvents because every one of these five form an azeotrope with methanol.  What is important in doing this is to concentrate the methanol solution to the smallest practical volume and then add sufficient of the second solvent to move to the correct side of the azeotropic composition so that a vapour composition richer in methanol than in the second solvent distills causing the composition of the remaining liquid to become increasingly richer in the second solvent at the expense of methanol. 

 The acetone solution that can be obtained when a methanol/acetone mixture is concentrated will be called  'Solution A' because it is used further below.

Transferring ‘somewhat polar solutes’ from DMSO to Ethanol.

The solution in DMSO is converted to a slurry or solution of the solutes in mineral spirits by distillation under a vacuum as described earlier in this blog. Mineral spirits are like hexane and so will form a distinct two-phase mixture with either pure acetonitrile or acetonitrile into which a trace of water has been added. Any ‘somewhat polar solutes’ will shift to this predominantly acetonitrile layer.  Acetonitrile forms an azeotrope with ethanol and so by diluting with an appropriate volume of ethanol and distilling the azeotrope this sequence enables a transfer from DMSO to ethanol.

Transfer of ‘somewhat  polar solutes’ from DMSO to DMF or Toluene 

 The transfer from DMSO to Solution M  achieved above can lead to subsequent transfer into toluene or DMF by simply distilling away the methanol since there both of these have differences in bp of at least 30 C. 

Transfer of ‘somewhat polar solutes’ from DMSO to methylene chloride, THF, or IPA

Methylene chloride

Taking  Solution M as a starting point, methanol can easily be distilled out under reduced pressure replacing it with water.  If the ‘somewhat polar solutes’ are insoluble they will separate as an oil in water emulsion. When all the methanol has passed over, adding methylene chloride will take up the solutes. Cutting the phases and drying the methylene chloride by boiling out the azeotrope of methylene chloride and water will leave the solutes in methylene chloride alone. 

Transfer of ‘somewhat polar solutes’ from DMSO to THF

A transfer from DMSO to THF would seem to be possible starting with a transfer to Solution M which could then permit a transfer to Solution A.  Pentane could be added to a mixture of Solution A and THF. THF is not reported to form any azeotropes but pentane and acetone are reported to form an azeotrope of composition 21.0% acetone and 79.0% pentane which boils at just 32 C and this is well below the bp of THF.  This azeotrope boiling point therefore would be more than thirty degrees lower than the bp of THF so THF and this zeotrope should be easily separated. Once the azeotrope has been taken overhead, any excess pentane can be distilled away from the THF since THF and pentane themselves also still differ by about 30 C degrees.  Note that this scheme also although derived logically from available data, has not been tested in the lab as far as I know. 

The switch from DMSO to THF is the most complicated transfer we have so far considered. An alternative when the solutes are soluble in hexanes might be to displace DMSO with just enough high boiling glyme solvent (diglyme, triglyme, or tetraglyme) to maintain stirring in the reactor after the DMSO has been completely driven off. Then add hexanes to the glyme solution or slurry and add solid calcium bromide. Glyme forms an insoluble complex with excess calcium bromide in hydrocarbon (sometimes even in other non-complexing solvents). The glyme complex can be filtered and the hexane removed and replaced by the THF.

Transfer of ‘somewhat polar solutes’ from DMSO to IPA

The same methodology as was proposed above for transferring 'somewhat polar' solutes from DMSO to THF can also be used to make the transition from DMSO to isopropanol (IPA). 

This completes the examination of solvent switches from DMSO when the solutes are 'somewhat polar'.

Replacing DMSO when the Solute is Apolar

 Suppose the solute is non-polar.  If we blindly use our previous strategy which first codistills with mineral spirits, the apolar solutes will remain in the mineral spirits and not be extracted into either a methanol or an acetonitrile layer, so we would be 'snookered'.

In this situation, we must rather displace the DMSO with a  high boiling polar liquid.  I would be worried to use a protic solvent like glycerine or diethylene glycol because the hydrogen bonding with the DMSO may create a maximum boiling azeotrope, which has not been documented or at least could raise the boiling point by entrainment of the DMSO.  Triglyme or tetraglyme dimethyl ethers are liquids, which might be effective and not entail these risks. Like DMSO they are not proton donors and they are sufficiently high boiling to allow selective volatilization of DMSO.  Since they are miscible with water we can use the strategy of further decreasing the solubility in the glyme dimethyl ethers by diluting with water.  Then we can expect to extract the hydrophobic solute into a low boiling medium like pentane.  From pentane we can replace with any of the solvents from methylene chloride up to DMF (11).
If the solvent were are trying to use as our second solvent is higher boiling than methylene chloride we will have more flexibility and will choose something like hexane rather than pentane, which has too low a flash point for comfort in the plant.

An alternative to using a glyme methyl ether would be to use low molecular weight solid polyethyleneglycol. This material would chase the DMSO easily.  It is really not volatile itself and serves just as a heat transfer medium while remaining liquid and stirrable in the reactor.  When the DMSO has been driven off, addition of hexane or methyl t-butyl ether should precipitate the polymer and allow the solution of solute in the low boiler to be filtered away from the solid polymer.

This would depend upon the polymer not being soluble at all in the second solvents.  Diethyl ether is the usual solvent used to precipitate polyethylene glycol, but it is not welcome in the plant setting.

Solvent Replacements from DMF

The same strategies that we have applied with DMSO would be applicable to DMF and be easier to implement because DMF has a boiling point about 30 C degrees lower than DMSO but still very different from our other selected common solvents. Again, the intermediate solvent, which is used to chase the DMF can be either strongly hydrophobic or strongly hydrophilic to suit the solute.
With DMF another option that becomes more practical as the bp of the first solvent falls is steam distillation. Of course, this choice is not made if the solute is appreciably water-soluble.

An option sometimes is to hydrolyze the DMF with aqueous acid after the DMF solution has been concentrated. If the solute of interest is reactive to strong acid it can be protected by dissolution in another immiscible organic layer during the aqueous acid treatment. The products. dimethylamine and formic acid, are both very water-soluble and are unlikely to solubilize most solutes.

In many cases where large volumes are not a concern, either DMSO or DMF can be diluted with a large amount of water and the mixed aqueous phase extracted with an immiscible organic phase.  This of course cannot be done with very water-soluble solutes.  It is however the most common work-up procedure and runs into trouble only on scale where a high point of maximum volume limits the throughput.  This is important in the early steps of longish processes.

Replacements from Toluene to Solvents of Lower Boiling Point

Isopropanol

Isopropanol and toluene form an azeotrope bp 80.3 C containing 5.0% IPA and 42.0% toluene. The two solvents also form a ternary azeotrope with water bp 76.3 C which can be used to dry the IPA after the solvent replacement.

Ethanol

Ethanol also forms a useful azeotrope with toluene with bp 76.7C and composition 68% ethanol d 32% toluene. Again there is a ternary azeotrope with water bp 74.4C.

Ethyl Acetate

Ethanol can be replaced by ethyl acetate utilizing an ethanol/ethyl acetate azeotrope bp. 71.8; 31.0% ethanol and 69.0% ethyl acetate.

Methanol

Methanol also forms a useful azeotrope with toluene with bp 63.7 C; composition 72.4% methanol and 27.6% toluene.

Ethanol forms an azeotrope with hexane of bp 58.7C and composition 21.0% ethanol and 79.0% hexane.

Chloroform forms an azeotrope with methanol bp 53.5 C; composition 87% chloroform and 13% methanol.

To replace from toluene to methylene chloride use the water azeotrope with toluene to remove all the toluene and give a water slurry, then extract back into methylene chloride after saturating the water with salt to increase the extraction efficiency.

 Water immiscible solvent to a Second Water immiscible solvent


Transferring from any water-immiscible solvent with bp less than 120 C going to another water-immiscible solvent can be done by adding acetic anhydride as the chase solvent, removing the first solvent, then adding water and acid or base to hydrolyze the acetic anhydride followed by extracting the product into the new water-immiscible solvent. Functional groups that are acetylated by acetic anhydride can be used so long as the hydrolysis conditions return the unchanged solute. December 16/2011.

The same method can be used to take the solute into the water-miscible solvents THF and acetone. Once in water saturate the water with salt and extract. The saline will give two phases with either acetone or THF but this method is not clean and gives very wet solvents.

We have not achieved a good replacement between toluene and either acetone or THF.  If we could find a replacement to acetone we could use the acetone/pentane method to get into THF.

Toluene can be taken into methanol and methanol into acetone; then acetone pentane can be removed from solution with THF to replacement to THF.



Replacements from Isopropanol to Lower Boiling Solvents

An azeotrope exists between IPA and EtOAc with bp 74.8 C and composition 77% ethyl acetate and 23% IPA.

An azeotrope exists between isopropanol and hexane with bp 61 C abd composition 78% hexane and 22% IPA. Another azeotrope exists between Ethanol and Hexane with bp 58.7C and composition 21% ethanol nod 79% hexane. Using these two azeotropes in sequence one can do a replacement from IPA to Ethanol.

The azeotrope between IPA and Hexane can be used to make this replacement.

The replacement from IPA to THF
IPA to Hexane; Hexane to Methanol; methanol to acetone; mix acetone with pentane and THF and distill acetone/pentane azeotrope leaving THF.

IPA to hexane; hexane to chloroform

IPA to hexane; hexane to methanol; methanol to acetone

IPA to water; water extract with methylene chloride

Replacement from Ethanol to Ethyl Acetate

Ethanol to hexane; hexane to methanol; methanol ethyl acetate

Replacement Ethanol to Hexane by an azeotrope

Ethanol to THF

Ethanol to water using toluene in a ternary azeotrope;

Ethanol to Methyl cyclopentane

Once a solvent change has been made to give a solvent with a bp of 60-70C there is no further incentive to change solvents.  Solvents with a bp, of 50-70 do not leave difficult-to-remove residuals when crystalline solids are separated from them either at atmospheric or reduced pressures. The reason for solvent replacements among solvents in this boiling range is simply to find a solvent from which the solute recrystallizes in a pure form, a high recovery, and desirable crystal morphology.

An acetone solution can by azeotropes replacement into bromopropane, acetone carbon tetrachloride, 1-chloropropane, cyclohexane, diethylamine, iodoethane, isopropyl ether, methyl acetate,

From chloroform one can do a replacement to methyl ethyl ketone,

From ethanol one can move to the solvents acetonitrile, benzene, carbon disulfide, carbon tetrachloride, 1-chlorobutane, chloroform, cyclohexane, dibromomethane,1,2-dichloroethane, diethyl formal (diethoxymethane), ethyl acetate, hexane, heptane, isopropyl acetate, isopropyl ether, methyl ethyl ketone, nitromethane, tetrachloroethylene, toluene, trichloroethylene, triethylamine,

Ethyl acetate ca be exchanged for the following pure solvents: carbon disulfide, carbon tetrachloride, ethyl acetate,

Hexane can be used to exchange for pure solvents: 1-butanol, t-butanol, isopropyl ether, methyl ethyl ether, t-butanol, nitromethane, n-propanol,

Isopropanol can lead to other pure solvents: cyclohexane, diisopropylamine, ethylene dichloride, methyl ethyl ketone, tetrachloroethylene, trichloroethylene,

Methanol can lead to pure solution through azeotropes: acetonitrile, benzene, cyclohexane, 1,1-dichloroethane, dimethoxymethane, dimethylformal, ethylenedichloride, ethyl formate, heptane, hexane, isopropyl acetate, methyl acetate, methylal, nitromethane, octane, trichloroethylene, trimethyl borate,

Toluene can be used to provide pure solvents: acetic acid, t-amyl alcohol, 1-butanol, 1-chloro-2-propanol, epichlorohydrin, 2-ethoxyethanol, ethylenediamine, glycol, isobutyl alcohol, 2-methoxyethanol, nitroethane, nitromethane,1-propanol, pyridine.

Monday, 13 August 2018

The Increased Scale-Up Risk with Catalyzed Reactions



The probability of failure is increased for catalyzed reactions of which, for example, enantioselective reactions are a prominent contemporary class. The special additional risk is that catalytic system may be more easily shut down by small, even trace, impurities that are difficult to measure much less control. Put another way, a catalyzed reaction is susceptible to poisoning and this can lead to slowing or complete interruption in conversion with no easily identifiable c ause. Catalyzed reactions are inherently less rugged than the uncatalyzed because the catalytic substance, by definition, is used in lower than stoichiometric quantity and so would be disproportionately affected by a particular quantity of a catalyst poison. Impurities in the inputs to a catalyzed process can also accelerate reaction. When, as after a switch to a different source of an input, they are not added performance may deteriorate or fail completely. Neil G. Anderson wrote in Practical Process Research & Development, First Edition, pg. 194: “the importance of trace beneficial impurities may become evident only by failure of the reaction when using different lots of starting materials, reagents, or solvents.” Thus the recommendation to perform laboratory experiments with the same materials to be used in the plant goes double for catalyzed reactions and this includes chemicals used to wash and prep the reactor.
A catalyzed reaction can more easily be shut down without leaving forensic evidence. If it is a catastrophic failure it can poison our minds as much as our reactions. We may start to harbor conspiracy delusions. “Have we been harmed by some disgruntled or mentally disoriented employee? Have some operators made an error and covered it up? Are we now engaged in a long, expensive, and ultimately fruitless failure investigation?” It may seem far fetched, but I was embroiled in such a situation once. Human minds, in the absence of a clear causal connection for a phenomena, are programmed to find signs suggesting hypotheses even in random data.
When a procedure that has been running successfully at large scale  suddenly fails and if laboratory experiments with the identical raw materials run immediately afterwards succeed, these ideas come to mind and make the resulting further inquiry even more difficult to bear.
A suggestion that may be just too inconvenient and divisive to implement should at least be contemplated. When a clear most probable cause cannot be detected after a failure the next run performed at that scale, to be fair, should use a completely different group of operators or  should be run with special laboratory oversight. If the team is al completely different a second failure will at least rule out malevolent intervention by a team member. What must be avoided is  the situation where a second failure would throw what is likely unwarranted suspicion upon employees who would have participated in both failing runs.