Clarix
Quality

Deviations

How to create, investigate, and close deviations in Clarix — covering severity classification, sources, lifecycle states, and automatic deviation rules for 503B compounding.

A deviation is any event in your facility that does not go according to plan — a departure from an approved procedure, a measurement outside its acceptable range, an environmental excursion, or an equipment failure. In 503B compounding, deviations are not signs of a failing system; they are a natural part of pharmaceutical manufacturing. What matters is that every deviation is captured promptly, investigated thoroughly, and resolved with evidence. The Clarix deviation module provides the framework to do all three.

Deviations list

Role required: Viewing deviations requires the QA Technician role or higher. Creating a deviation requires QA Officer. Closing or escalating a deviation requires QA Manager or PIC.

What triggers a deviation?

Deviations can arise from many areas of your operation. Clarix organizes them by source to make trending and investigation easier:

SourceCommon examples
Batch ProductionYield below threshold, ingredient weight out of tolerance, process time exceeded, wrong lot number used
EnvironmentalEM action limit exceeded, temperature excursion in ISO room, pressure differential out of range
EquipmentAutoclave failure, balance calibration failure, HVAC alarm, equipment used past PM due date
Vendor / MaterialRaw material out of spec, supplier CoA missing, incorrect concentration received
PersonnelTraining gap, gowning deficiency, unauthorized substitution, SOP deviation
LabInstrument malfunction during testing, sample handling error
ProcessSOP not followed, step performed out of sequence, undocumented substitution

Deviation severity

Every deviation must be assigned a severity level when it is created. If you are unsure, select the higher severity and downgrade after investigation if warranted — you cannot under-report a Critical event.

SeverityDefinitionResponse time
CriticalActual or potential patient safety impact — sterility failure, wrong drug, critical EM excursion in fill areaCAPA within 24 hours; PIC notification required
MajorSignificant product quality or regulatory impact — yield below 75%, major EM excursion, GMP documentation failureCAPA within 5 business days
MinorProcedural or administrative — late entry, minor weight within spec, label correctionCAPA within 30 days if needed

Creating a deviation

New deviation form

  1. In the sidebar, navigate to Quality → Deviations.
  2. Click New Deviation in the top-right corner.
  3. Fill in the required fields:
    • Severity — Critical, Major, or Minor
    • Source — select the category that best describes where the event originated
    • Title — a short, descriptive summary (e.g., "Batch B-2026-0112 yield 68% below 75% threshold")
    • Description — a full narrative of what happened, including the date and time of the event, who observed it, what product or batch was involved, and what immediate containment steps were taken
    • Linked batch — if the deviation is related to a specific batch record, type the batch number (e.g., B-2026-0112) to link it
    • Assigned investigator — the QA officer or pharmacist responsible for leading the investigation
  4. Click Create Deviation.

Clarix assigns the deviation a unique number in the format DEV-YYYY-NNNN — for example, DEV-2026-0001 is the first deviation created in 2026. This number is permanent and cannot be reused.

Deviation lifecycle

A deviation moves through four states from discovery to resolution:

StateMeaning
OpenThe deviation has been recorded. It has not yet been assigned or investigation has not started.
Under InvestigationAn investigator has been assigned and work is actively in progress. A linked RCI may be in progress.
ResolvedThe root cause has been confirmed and corrective actions have been taken or a CAPA has been opened.
ClosedA QA Manager or PIC has reviewed the resolution, confirmed effectiveness, and formally closed the record.

Actions on an open deviation

From the deviation detail page, the following actions are available depending on your role and the current state:

  • Assign — Assign or reassign the investigator responsible for the deviation. The assigned person receives a notification.
  • Link to RCI — Opens a new Root Cause Investigation (RCI) record pre-populated with this deviation's details, and creates a permanent link between the two records. This is the recommended way to start a formal investigation.
  • Add comment — Add a timestamped note to the deviation record. Comments are permanent and appear in the audit trail. Use this to document interim findings, containment actions, or communication with the batch record owner.
  • Resolve — Mark the deviation as Resolved once corrective actions are complete. You must provide a resolution summary and confirm that a CAPA has been opened (if required by severity).
  • Close — Available to QA Manager or PIC only. Closes the deviation after reviewing the resolution and confirming the CAPA is on track.

Automatic deviation creation

Two business rules in Clarix automatically open deviations without requiring manual entry:

Yield below 75%: When a batch's actual yield, as calculated by the formula calc engine at step completion, falls below 75% of the theoretical yield, Clarix automatically creates a Major deviation linked to that batch. The deviation title will read "Auto: Yield below threshold — [Batch Number]". You will find it in the deviations list with status Open and assigned to no investigator. A QA officer must review and assign it.

EM excursion (rule-enabled): When your organization has the EM excursion deviation rule turned on (under Settings → Rules), any environmental monitoring sample that exceeds its action limit will automatically generate a deviation. The deviation is linked to the EM record and the room or surface where the excursion occurred.

Automatic deviations use the same numbering, lifecycle, and investigation requirements as manually created ones. They cannot be dismissed or deleted — only resolved through the standard workflow.

Finding and filtering deviations

The deviations list supports several filters to help you manage your quality workload:

  • Status — Open, Under Investigation, Resolved, Closed
  • Severity — Critical, Major, Minor
  • Source — Batch Production, Environmental, Equipment, etc.
  • Assigned to — Filter to your own deviations or a specific team member
  • Date range — Filter by event date or creation date
  • Search — By deviation number (DEV-2026-0001) or title keyword

Deviations are sorted by creation date descending by default. Red rows indicate Critical deviations; amber rows indicate Major deviations open beyond their response deadline.

On this page