NATARAJA LABS

Pharmaceuticals & Life Sciences · Enterprise AI workflow

Deviation investigation and CAPA

What caused this deviation, has it happened before, and what stops it recurring?

Owner: Deviation owner · Who uses it: Site QA, production, engineering and QC · See it on the Pharmaceuticals & Life Sciences page

Illustration: Incoming records and items for review.

The problem

“Operator error, retrain”, and the same deviation next quarter.

Failure to investigate discrepancies is one of the observations FDA cites most often. In FY2024 investigators cited 21 CFR 211.192 116 times. A written investigation must reach a conclusion and say what follows.

DEV-26-0731: weight-variation alarms on tablet press 4 for 52 minutes during batch LT-2611, and 36,000 tablets rejected. 7 similar events had happened on the same press in 24 months.

Investigations default to operator error because finding similar past events across years of reports, press logs and tooling records is slow. The pattern sits in the records nobody has time to read together.

Source: RAPS, top GMP observations cited in FY2024; 21 CFR 211.192, production record review. Other figures belong to the fictional Sample Pharma Group.

How it is done today

  1. Step 1The deviation owner writes the event in the QMS.
  2. Step 2Past events are found by memory or keyword search.
  3. Step 3Equipment and tooling logs are read separately, if at all.
  4. Step 4The root cause is often “human error” and the CAPA is retraining.

Why did press 4 drift on batch LT-2611, and what stops it recurring?

Site QA · Unit 1 compression

Today
“Operator error, retrain”, and the same deviation next quarter.
With Enterprise AI
7 similar events found, 5 near the tooling-life limit; punch wear has the strongest evidence; QA concludes.

In plain wordsDeviation a departure from an approved procedure or instructionCAPA corrective and preventive actionRoot cause the underlying reason something went wrong, concluded by the investigatorTooling life the number of compressions a punch set is allowed before inspection or replacement

Quality managementDEV-26-0731 · tablet press 4
Illustrative records

01 / Event

DEV-26-0731: weight-variation alarms on press 4 for 52 minutes during LT-2611.

36,000 tablets were segregated and rejected. The deviation owner opens the investigation in the QMS.

02 / History

7 similar events on press 4 in the previous 24 months.

Found across closed deviations, press logs and maintenance records, including two filed under a different category.

03 / Tooling

5 of them happened with the punch set within 10% of its tooling-life limit.

The tooling log shows 1.94 million compressions on the set used for LT-2611, against a 2 million limit.

04 / Causes

Three candidate causes, each with its evidence; punch wear has the strongest.

Granule flow is weaker: blend moisture was within limits. Feeder speed is weakest: no change was recorded. The investigator concludes the root cause.

05 / CAPA

A draft report and CAPA-26-0412: inspect tooling at 1.5 million compressions and revise PRD-SOP-112.

QA approved the report and closed the deviation on 21 Oct 2026. The CAPA is due 15 Dec 2026.

Weightvariation Tooling: Punch wearMaterial: Granule flowMachine: Feeder speedMethod: Set-up procedure
Nov 2024May 2025Nov 2025May 2026Oct 2026 Tooling-life limit 2 million 90% of limit DEV-26-0731
Evidence for each cause4 causes checked
  • Punch wearPunch set at 1.94 million compressions against a 2.0 million limit; 5 of 7 past events near the limit
  • Granule flowBlend moisture within limits; flow index at the low end of its range
  • Feeder speedNo change recorded in the press log or the batch record
  • Set-up procedureSet-up followed PRD-SOP-112 v5; signed
Investigation report · draftDeviation owner

Root cause for QA to conclude: punch wear near the tooling-life limit, supported by 5 of 7 past events. Proposed CAPA-26-0412: inspect tooling at 1.5 million compressions and revise PRD-SOP-112.

Awaiting QA approval Not sent

Fictional deviation, press and records. The investigator concludes the root cause and QA approves the report.

Read the walkthrough
  1. DEV-26-0731: weight-variation alarms on press 4 for 52 minutes during LT-2611. 36,000 tablets were segregated and rejected. The deviation owner opens the investigation in the QMS.
  2. 7 similar events on press 4 in the previous 24 months. Found across closed deviations, press logs and maintenance records, including two filed under a different category.
  3. 5 of them happened with the punch set within 10% of its tooling-life limit. The tooling log shows 1.94 million compressions on the set used for LT-2611, against a 2 million limit.
  4. Three candidate causes, each with its evidence; punch wear has the strongest. Granule flow is weaker: blend moisture was within limits. Feeder speed is weakest: no change was recorded. The investigator concludes the root cause.
  5. A draft report and CAPA-26-0412: inspect tooling at 1.5 million compressions and revise PRD-SOP-112. QA approved the report and closed the deviation on 21 Oct 2026. The CAPA is due 15 Dec 2026.

How it works

Records it reads from your systems

  • The deviation and the batch record
  • Earlier deviations and CAPAs
  • Equipment, tooling and maintenance logs
  • In-process results and environmental data

Our data

None. This workflow runs on your own records.

Rules and clauses it applies

  • Similar events are searched across categories, sites and years
  • Each candidate cause shows the evidence for and against it
  • Tooling counts and equipment events are set against each past event
  • A CAPA proposal links to the evidence it addresses

Where the AI stops and a person decides

  • The investigator concludes the root cause; the AI shows candidates and evidence
  • QA approves the report and the CAPA
  • The AI never closes a deviation

What to measure in a pilot

  • Investigations closed on time
  • Recurrence of the same deviation type
  • Share of investigations citing similar past events
  • CAPA effectiveness checks passed

How a pilot starts

What to bring
Ten closed deviations from one area and their CAPAs.
How long
About 4 weeks: one to connect read-only, 2 to replay past cases, one live with approvals.
Who is involved
A deviation owner, a site QA lead and our engineers.

In your market

  • United States21 CFR 211.192 requires a thorough, written investigation of unexplained discrepancies, with conclusions and follow-up recorded. Drafts show the evidence for each candidate cause; the quality unit decides root cause and CAPA.
  • United KingdomUK GMP expects deviations to be investigated, root cause found and CAPA recorded, and MHRA inspectors read these records. Drafts show the evidence for each candidate cause; the quality team decides.
  • UAE & Saudi ArabiaRegulators such as EDE and SFDA, a PIC/S member, and marketing partners expect documented investigations and CAPA from exporting sites. Drafts show evidence for each candidate cause; quality staff decide root cause.
  • IndiaRevised Schedule M requires deviation handling and CAPA with effectiveness checks. CDSCO and state regulators have inspected more than 1,040 premises under risk-based inspections since December 2022, with over 950 regulatory actions.

Questions

Does it decide the root cause?

No. It lays out the candidates with their evidence. The investigator decides.

Can it read paper logs?

Yes, from scans, with the page shown beside each fact.

Does it score operators?

No. Investigations look at equipment, materials, methods and procedures, never at individual performance.

Try it on your own records

Bring last quarter’s deviations. We will show what this workflow would have caught.

Discuss this workflow
Source record / sample data