Deviation in Pharmaceutical Industry: Meaning, Types, Investigation, CAPA and Examples in Nepal

Aanand Singh
0
Deviation is a common and important topic in the pharmaceutical industry. During manufacturing, quality control testing, packaging, storage, cleaning, maintenance, and other activities, everything is expected to be performed according to approved procedures and instructions.

However, unexpected situations can happen. A manufacturing step may take longer than specified, an instrument may malfunction, a temperature may go outside the approved range, or an employee may accidentally miss a step in an SOP.

Such events need to be properly documented and evaluated. This is where deviation management becomes important.

In simple words, deviation management helps a pharmaceutical company understand what went wrong, why it happened, whether product quality was affected, and what should be done to prevent the same problem from happening again.

This article explains deviation in the pharmaceutical industry, its types, investigation procedure, root cause analysis, CAPA, and practical examples relevant to pharmaceutical companies in Nepal.

This article explains deviation in the pharmaceutical industry, its types, investigation procedure, root cause analysis, CAPA, and practical examples relevant to pharmaceutical companies in Nepal.

What is Deviation in the Pharmaceutical Industry?

A deviation is an unplanned departure from an approved procedure, instruction, specification, process, established standard, or expected condition.

Simply: Deviation means something did not happen according to the approved or expected way.

For example, an SOP may require a manufacturing process to be performed for 20 minutes. If the actual process continues for 25 minutes, the difference between the approved and actual process may need to be handled as a deviation according to the company's SOP.

Deviation can occur in almost every department of a pharmaceutical company, including:

  • Production
  • Quality Control
  • Quality Assurance
  • Warehouse
  • Engineering
  • Packaging
  • Microbiology
  • Validation
  • Maintenance

The purpose of deviation management is not simply to find someone to blame. It is to understand the event using facts and determine whether corrective action is required.

Why is Deviation Important in Pharmaceuticals?

Medicines are directly related to patient health. Therefore, pharmaceutical companies need effective systems for identifying and controlling unexpected events.

Deviation management helps companies:

  • Document unexpected events
  • Investigate the cause
  • Evaluate product impact
  • Identify recurring problems
  • Implement corrective actions
  • Prevent recurrence
  • Maintain GMP compliance
  • Improve processes
  • Support regulatory inspections

In Nepal, pharmaceutical companies operate under the regulatory framework of the Department of Drug Administration (DDA). Understanding the role of DDA is useful for anyone working in the Nepalese pharmaceutical industry. You can also read this guide on the Department of Drug Administration Nepal and its functions.

Types of Deviation in Pharmaceutical Industry

Deviation can occur in many different areas of pharmaceutical operations. The classification system may vary from one company to another, so employees should always follow their organization's approved SOP.

1. Manufacturing Deviation

Manufacturing deviations occur when an approved manufacturing process is not followed as specified.

Examples include:

  • Mixing time is different from the approved BMR
  • Granulation temperature goes outside the specified range
  • Compression speed exceeds the approved range
  • Coating takes longer than specified
  • An incorrect equipment setting is used
  • A manufacturing step is performed in the wrong sequence
  • A batch is held longer than the approved processing time

For example, if the approved blending time is 15 minutes but the blender operates for 25 minutes, the event should be documented and assessed rather than simply ignored.

The investigation should determine why the difference occurred and whether the additional mixing time could affect the product.

2. Quality Control Laboratory Deviation

Deviation can also occur during laboratory testing.

Common examples include:

  • Incorrect sample preparation
  • Wrong dilution
  • Incorrect analytical procedure
  • Instrument malfunction
  • Testing performed outside the required time
  • Incorrect glassware used
  • Standard solution preparation error
  • Failure to follow an analytical SOP

For example, if an analyst accidentally prepares a sample using an incorrect dilution, the event may require investigation.

Sometimes a laboratory deviation can be associated with an Out of Specification (OOS) result. However, deviation and OOS are not the same thing. OOS specifically concerns a test result that does not meet an approved specification.

For a detailed explanation of this topic, see my article on OOS Investigation in the Pharmaceutical Industry, which explains OOS investigation, root cause analysis and CAPA in simple language.

3. Documentation Deviation

Good documentation is one of the foundations of pharmaceutical GMP.

Examples include:

  • Missing signature
  • Missing date
  • Incomplete batch record
  • Incorrect entry
  • Late recording
  • Use of an uncontrolled document
  • Missing supporting records
  • Incorrect document revision

Documentation deviations should be taken seriously because pharmaceutical records must accurately represent what actually happened.

This is closely related to data integrity.

For example, if an activity was performed on Monday but the record was completed on Tuesday without appropriate justification, the situation may require investigation.

Understanding ALCOA and ALCOA+ principles can help pharmaceutical professionals understand why records need to be attributable, legible, contemporaneous, original, accurate and complete. I have explained these principles in detail in What is ALCOA and ALCOA+ in Pharmaceutical Data Integrity?.

4. Equipment-Related Deviation

Equipment problems are another common source of deviation.

Examples include:

  • Equipment breakdown
  • Calibration overdue
  • Preventive maintenance not completed
  • Instrument malfunction
  • Unexpected alarm
  • Temperature sensor failure
  • Balance malfunction
  • HPLC failure during analysis

For example, suppose an analytical balance is found to have a calibration problem during an investigation. The company may need to identify which materials or samples were tested using that balance and assess whether previous results could have been affected.

The investigation should be based on actual records and technical evidence rather than assumptions.

5. Environmental and HVAC Deviation

Environmental conditions are important in pharmaceutical manufacturing.

Possible deviations include:

  • Temperature excursion
  • Relative humidity outside the specified limit
  • Differential pressure failure
  • HVAC breakdown
  • HEPA filter-related problems
  • Power failure
  • Environmental monitoring excursion
  • Airflow problems

For example, if the temperature in a controlled manufacturing area goes outside the approved range, the company should assess the duration of the excursion, the affected area and the stage of manufacturing.

The potential impact on the product should then be scientifically evaluated.

6. Warehouse and Storage Deviation

Deviation can also occur in warehouses.

Examples include:

  • Storage temperature excursion
  • Improper material segregation
  • Incorrect storage location
  • Expired material found in usable stock
  • Material stored without proper status identification
  • Damaged packaging
  • Temperature monitoring failure

A temperature excursion does not automatically mean that every affected material must be rejected.

The company should assess the material's storage requirements, exposure duration, actual temperature and available stability information before making a quality decision.

Major and Minor Deviation

Companies commonly classify deviations according to their potential impact.

The exact classification should always follow the company's approved SOP.

Minor Deviation

A minor deviation generally has a low potential impact on product quality, patient safety or GMP compliance.

Major Deviation

A major deviation may have a significant impact on a process, product quality or GMP compliance.

Critical Deviation

A critical deviation may have a serious potential impact on product quality, patient safety or regulatory compliance.

For example, a critical contamination-control failure could potentially be much more serious than a minor documentation error.

However, deviation classification should be based on risk and evidence, not simply on how serious the event initially appears.

Deviation Investigation Procedure

A proper deviation investigation normally follows several steps.

Step 1: Identify the Deviation

The first step is to recognize that an approved procedure, specification, instruction or expected condition has not been followed.

Employees should report the event instead of hiding it or correcting records without proper documentation.

Step 2: Inform the Responsible Department

The concerned department and QA should be informed according to the company's deviation procedure.

Serious events may require immediate escalation.

Step 3: Document the Deviation

The event should be recorded as soon as reasonably possible.

The deviation record may contain:

  • Date and time
  • Department
  • Product or material
  • Batch number
  • Equipment
  • Description of the event
  • Person who identified the event
  • Immediate action
  • Potential impact
  • Supporting evidence

The description should be factual.

For example:

"The operator was careless."

Better:

"The blending operation continued for 25 minutes instead of the approved 20 minutes."

The second statement describes the actual event without making an unsupported judgment about the employee.

Step 4: Immediate Correction or Containment

Depending on the event, immediate action may be required.

This could include:

  • Stopping the process
  • Placing the batch on hold
  • Quarantining material
  • Stopping use of equipment
  • Informing QA
  • Preserving samples
  • Securing relevant records

Containment controls the immediate situation while the investigation continues.

Step 5: Conduct the Investigation

The investigation should answer questions such as:

  • What happened?
  • When did it happen?
  • Where did it happen?
  • Who was involved?
  • Why did it happen?
  • Could product quality have been affected?
  • Has the same problem happened before?

Investigators may review:

  • Batch manufacturing records
  • SOPs
  • Equipment logs
  • Calibration records
  • Training records
  • Laboratory raw data
  • Environmental monitoring records
  • Maintenance records
  • Previous deviations
  • Electronic records

The investigation should rely on evidence rather than assumptions.

Step 6: Identify the Root Cause

Finding the immediate cause is not always enough.

The investigation should try to identify the root cause.

Two commonly used tools are 5 Why Analysis and the Fishbone Diagram.

For example:

Problem: Blender operated longer than the approved time.

Why?
The operator did not stop the blender at the required time.

Why?
The timer was not functioning correctly.

Why?
The timer was not identified during preventive maintenance.

In this example, simply retraining the operator may not completely solve the problem. The equipment maintenance system may also need improvement.

Step 7: Perform Impact Assessment

Impact assessment is one of the most important parts of deviation investigation.

The investigation should consider:

  • Was the product exposed to the deviation?
  • At what manufacturing stage did it occur?
  • How long did the event continue?
  • Was the affected material used?
  • Could another batch be affected?
  • Was the product already released?
  • Could product quality be affected?
  • Is additional testing required?

The conclusion should be supported by scientific and documented evidence.

Step 8: Implement CAPA

When the investigation identifies a root cause that requires corrective or preventive action, CAPA may be initiated.

For example:

Problem: Analysts repeatedly forget to complete an instrument usage log.

Corrective action: Correct the documentation according to the approved procedure and investigate the specific event.

Preventive action: Retrain relevant personnel and introduce an additional review of instrument logs.

If you want to understand how corrective and preventive actions work in pharmaceutical quality systems, see CAPA in the Pharmaceutical Industry.

Deviation, root cause analysis and CAPA are closely connected, but they are not exactly the same thing.

Step 9: Effectiveness Check and Closure

After CAPA is implemented, the company may need to verify whether the action was effective.

For example, if repeated documentation errors were the problem, simply conducting training may not be enough. The company may need to monitor subsequent records to determine whether the problem has actually stopped.

The deviation can then be closed after the required investigation, impact assessment, actions and approvals have been completed.

Example of Deviation in Pharmaceutical Manufacturing

Suppose an approved manufacturing process requires a product to be blended for 20 minutes.

During manufacturing, the operator accidentally allows the blender to run for 30 minutes.

The operator reports the event.

QA and the concerned department investigate the deviation.

They review:

  • Batch manufacturing record
  • Actual blending time
  • Equipment records
  • Operator training
  • Previous batches
  • Process validation information
  • Product characteristics

The investigation then determines whether the additional blending time could affect product quality.

If the investigation identifies a technical problem with the blender timer, corrective and preventive actions should address the equipment problem.

This demonstrates an important principle of deviation investigation:

Do not stop at "who made the mistake?" Ask "why did the system allow the mistake to happen?"

Difference Between Deviation and OOS

Deviation and OOS are frequently confused by students and new pharmaceutical professionals.

Deviation OOS
Departure from an approved procedure or requirement Test result outside approved specification
Can occur in production, QC, warehouse, engineering, etc. Usually associated with laboratory testing
Does not necessarily involve a failed test result Specifically involves an out-of-specification result
Requires appropriate investigation Requires an OOS investigation
May or may not affect product quality Potential product impact must be assessed

A deviation can sometimes contribute to an OOS result.

For example, an incorrect sample preparation procedure may result in an unexpected assay value. In such a case, the company should follow its approved procedures to determine the relationship between the deviation and the OOS investigation.

Difference Between Deviation and CAPA

These terms are closely related but have different purposes.

Deviation: Documents an unexpected event or departure.

Investigation: Determines what happened and why.

Root Cause Analysis: Identifies the underlying cause.

CAPA: Addresses the cause and helps prevent recurrence.

A simple way to remember the process is:

Deviation → Investigation → Root Cause → Impact Assessment → CAPA → Effectiveness Check → Closure

Not every deviation automatically requires a separate CAPA. The need for CAPA should be determined based on the investigation, risk and company procedure.

Deviation and Data Integrity

Deviation investigations often depend heavily on pharmaceutical records.

Investigators may need to review:

  • HPLC chromatograms
  • Instrument raw data
  • Balance printouts
  • Batch records
  • Environmental monitoring data
  • Equipment logs
  • Electronic records
  • Training records

These records must be reliable.

Changing, hiding, deleting or backdating information can create a serious data-integrity concern and may make the investigation unreliable.

This is why proper documentation and ALCOA+ principles are so important in pharmaceutical quality systems.

Deviation Management in Nepal's Pharmaceutical Industry

Deviation management is highly relevant to pharmaceutical companies operating in Nepal.

The Department of Drug Administration (DDA), Nepal is responsible for regulating medicines and pharmaceutical activities in the country. Nepal also has a National GMP framework that pharmaceutical manufacturers need to understand and follow.

For professionals working in Nepal's pharmaceutical industry, knowledge of deviation management is useful in departments such as:

  • QA
  • QC
  • Production
  • Warehouse
  • Engineering
  • Validation
  • Microbiology
  • Packaging
  • Regulatory Affairs

Companies should maintain their own approved SOPs for deviation handling, including requirements for classification, investigation, documentation, approval and closure.

The company's SOP should always be followed when handling an actual deviation.

Common Causes of Deviation

Deviations can have many different causes.

Human Factors

  • Inadequate training
  • Misunderstanding of SOP
  • Poor communication
  • Workload
  • Fatigue
  • Lack of supervision

Equipment Factors

  • Equipment breakdown
  • Calibration problems
  • Instrument malfunction
  • Preventive maintenance failure

Procedure Factors

  • Unclear SOP
  • Outdated procedure
  • Incomplete instructions
  • Poorly designed process

Material Factors

  • Incorrect material
  • Material mix-up
  • Improper storage
  • Material quality problems

Environmental Factors

  • Temperature excursion
  • Humidity problem
  • HVAC failure
  • Power interruption

System Factors

  • Weak review system
  • Inadequate training system
  • Poor change control
  • Repeated unresolved deviations

A good investigation should consider reasonable contributing factors instead of automatically blaming an individual.

How to Reduce Deviations in Pharmaceutical Industry

It may not be realistic to expect a pharmaceutical company to have absolutely zero deviations.

However, companies can reduce recurring and preventable deviations by improving their quality systems.

Some useful measures include:

  • Provide effective employee training.
  • Keep SOPs clear and practical.
  • Review procedures periodically.
  • Maintain and calibrate equipment properly.
  • Follow preventive maintenance schedules.
  • Strengthen documentation practices.
  • Improve line clearance.
  • Improve communication between departments.
  • Perform risk assessments for critical processes.
  • Monitor recurring deviations.
  • Perform proper root cause analysis.
  • Implement appropriate CAPA.
  • Check CAPA effectiveness.
  • Encourage employees to report problems honestly.
  • Avoid a culture where employees hide mistakes.

A good pharmaceutical quality culture should encourage people to report problems early rather than hide them.

Frequently Asked Questions

What is deviation in pharma?

Deviation is an unplanned departure from an approved procedure, process, specification, instruction or expected condition in pharmaceutical operations.

What are the types of deviation in pharma?

Common types include manufacturing deviation, QC laboratory deviation, documentation deviation, equipment deviation, environmental deviation, warehouse deviation and cleaning-related deviation.

Is deviation the same as OOS?

No. OOS refers specifically to a test result outside an approved specification. Deviation is a broader concept involving departure from an approved procedure or requirement.

Does every deviation require CAPA?

No. CAPA should be considered based on the investigation, root cause, risk and company procedure.

Who investigates a deviation?

The investigation generally involves the concerned department and QA, with technical departments participating when required.

Can deviation affect batch release?

Yes. Depending on its nature and potential impact, a deviation can affect the decision to release a batch. The batch may remain on hold until the investigation and quality assessment are completed.

Conclusion

Deviation management is an important part of a pharmaceutical company's quality system.

A deviation does not automatically mean that a product is defective. It means that something did not occur according to the approved or expected process and therefore needs to be properly evaluated.

A good deviation system follows a logical approach:

Identify → Document → Contain → Investigate → Find Root Cause → Assess Impact → Implement CAPA → Check Effectiveness → Close

For pharmaceutical professionals in Nepal, understanding deviation management is particularly useful for people working in QA, QC, Production, Warehouse, Engineering, Validation and regulatory functions.

The real purpose of deviation management is not to punish employees. It is to identify weaknesses, protect product quality, improve processes and prevent the same problem from happening again.

A well-investigated deviation can therefore become a valuable learning opportunity for continuous improvement in the pharmaceutical industry.

References

  1. World Health Organization (WHO). WHO Good Manufacturing Practices for Pharmaceutical Products: Main Principles. WHO Technical Report Series No. 986, Annex 2.
    WHO – Good Manufacturing Practices for Pharmaceutical Products

  2. World Health Organization (WHO). Quality Assurance of Pharmaceuticals: A Compendium of Guidelines and Related Materials, Volume 2: Good Manufacturing Practices and Inspection, 10th Edition. 2024.
    WHO – Quality Assurance of Pharmaceuticals, Volume 2

  3. World Health Organization (WHO). WHO Guidelines on Quality Risk Management. WHO Technical Report Series No. 981, Annex 2.
    WHO – Quality Risk Management Guidelines

  4. World Health Organization (WHO). Good Manufacturing Practices (GMP). WHO Health Products Policy and Standards.
    WHO – Good Manufacturing Practices

  5. Department of Drug Administration (DDA), Nepal. National GMP Code 2072 (2016).
    DDA Nepal – National GMP Code

  6. World Health Organization (WHO). Medicines: Good Manufacturing Practices. This resource explains the importance of GMP in ensuring medicines are consistently produced and controlled according to appropriate quality standards.
    WHO – Medicines: Good Manufacturing Practices

Post a Comment

0Comments

Post a Comment (0)