SOP: Risk-Based Validation Approach (GAMP® 5)
Computerized System Validation — Pharmaceutical Quality

Status: Approved

Expert advice: Adopt a proportionate, documented approach — focus effort on patient-safety, product quality and data integrity. Document assumptions, rationales and the traceability between risks and validation activities.

1. Purpose

To provide a consistent, risk-based methodology for validating computerized systems in pharmaceutical operations following GAMP® 5 principles. This SOP describes roles, risk assessment, validation planning, testing scope, deliverables and exit criteria.

2. Scope

Applies to all new, upgraded or patched computerized systems (including COTS, configurable and custom systems) that impact GMP processes, data used for product quality, and regulatory submissions.

3. Responsibilities

RoleResponsibility
System OwnerDefine system purpose, business requirements, and ensure operational readiness.
Quality Assurance (QA)Approve validation strategy, review risk assessments, and final acceptance.
Validation LeadPrepare validation plan, coordinate testing, manage documentation and approvals.
ITImplement technical controls, manage infrastructure and change control activities.
VendorsProvide design evidence, configuration guides, and support testing where applicable.
Tip: Retain pragmatic evidence — over-testing low-risk features wastes resources and delays deployment.

Overview: Use a documented risk assessment to categorize system functions by impact (e.g., High / Medium / Low) considering patient safety, product quality, regulatory impact and data integrity. Update during design and after changes.

StepActivity
1Identify system functions and data flows (process mapping).
2Assess impact (Severity) and likelihood (Probability) for each function.
3Calculate Risk = Severity × Probability and classify (High/Med/Low).
4Define control measures and required validation testing per risk class.

Risk Matrix (sample)

SeverityProbabilityRisk LevelTypical Action
HighHighCriticalComprehensive validation & continuous monitoring
HighLow/MediumHighTargeted testing & strong controls
LowLowLowBasic verification / use vendor evidence

Risk Assessment Template (copyable)

FunctionDescriptionSeverity (1–5)Probability (1–5)ScoreRisk ClassControl / Mitigation
e.g. Batch ReleaseFinal approval of batch5315HighControlled access, audit trail, UAT

Follow a lifecycle: Planning → Specification → Risk Assessment → Build/Configure → Testing → Acceptance → Operational Support → Change Control.

PhaseKey Deliverables
Validation PlanValidation Strategy, Scope, Roles, Acceptance Criteria
RequirementsURS, Functional & Nonfunctional Requirements
Design/ConfigSystem Design Spec (SDS) / Configuration Baseline
TestingTest Scripts (IQ/OQ/FQ or FAT/SAT/UAT), Test Records
AcceptanceValidation Summary Report, Approval
OperationalSOPs, Training Records, Backup/Restore Procedures
Expert advice: Map each high/medium risk requirement to at least one positive and one negative test case. Include boundary and error-handling tests where applicable.

Sample Traceability Table

Requirement IDRisk ClassTest Case IDResultComments
REQ-001HighTC-001, TC-002PassValidated critical workflow
Flow: Plan → Define Requirements → Assess Risks → Configure → Test → Accept

Validation Plan (summary template)

ItemDetails
System[System name / ID]
Owner[Dept / Person]
Scope[In scope modules / interfaces]
Risk Strategy[Summary of risk approach and acceptance]
DeliverablesURS, SDS, Test Scripts, VSR, SOPs, Training
Acceptance Criteria[Define pass/fail rules]
Schedule[Milestones]

Test Case (IQ/OQ/PQ) template

Test IDRequirement RefPurposeStepsExpected ResultActual ResultStatusExecuted By
TC-001REQ-001Verify login security1. Open URL 2. Enter credentials 3. LoginUser logs in, audit recordedPass/Fail

Validation Summary Report (outline)

Define explicit acceptance criteria mapped to high/medium risks. Example rules:

All changes must be risk-assessed. Periodic review frequency depends on risk class (e.g., high risk: annual review; medium: biennial; low: tri-annual).

Note: Reassess risk after any significant change (patches, integrations, process changes, regulatory updates).
☐ Validation plan prepared & approved
☐ URS recorded and approved
☐ Risk assessment completed, classified & signed
☐ IQ executed: environment & infrastructure verified
☐ OQ executed: functional tests for high/critical items
☐ PQ / UAT executed with realistic data
☐ Traceability matrix: requirements → tests
☐ Validation summary report approved by QA
☐ SOPs updated and training complete
☐ Change control & monitoring plan defined

All validation artifacts (plans, test scripts/results, risk assessments, VSR, approvals, training) must be retained per site record retention policy and available for regulatory inspection.

VersionDateChangePrepared By
0114-Nov-2025Initial issue — GAMP 5 risk-based CSV SOPQA / Validation
Closing Expert Advice: Keep the documentation clear and concise. Use risk assessment to justify scope and sampling. Ensure the traceability matrix is easy to read — it's the strongest evidence during inspections.

Practical application & learning guide

Template status: site-specific review and controlled approval required before use.

Why this procedure matters: A useful SOP makes the approved task repeatable, clarifies who may perform and review it, and leaves enough reliable evidence to reconstruct what happened and support a sound quality decision. Read the task-specific scope, prerequisites, steps, and acceptance criteria in the SOP above; this guide explains how to apply them in a controlled way.

Practical workflow

  1. Prepare: confirm the current approved document and training; verify authorization, materials, equipment and status, environmental/safety prerequisites, applicable specification or method, and required forms. Resolve missing or conflicting prerequisites before starting.
  2. Perform: follow the approved sequence without undocumented shortcuts. Record actual observations and results as the work occurs, using required units, identifiers, date/time, initials/signatures, and controlled record references. Explain entries so a trained independent reviewer can understand the work without relying on memory.
  3. Evaluate: compare actual results with the approved acceptance criteria and defined decision rules. Verify calculations, transcriptions, checks, and required second-person reviews. If data conflict, criteria are unclear, or the result is unexpected, pause the affected decision and seek QA/owner direction.
  4. Close: reconcile all pages, attachments, labels, samples/materials, electronic records, calculations, and handoffs. Complete required review and disposition, file evidence in the approved repository, and record open actions with an owner and due date.

Task-specific learning points

For computerized-system work, first confirm the system boundary, intended use, GxP impact, approved change or lifecycle record, and the correct environment. Link each requirement/risk to objective test or review evidence; record expected and actual results, tester, date, system/version/configuration, anomalies, and independent review. A system category is not a risk rating. Keep unresolved critical defects, data-integrity concerns, or unapproved changes out of release decisions; QA/system owner documents acceptance, restrictions, or remediation.

Decision, exception & escalation

If a prerequisite is not met, a result is outside the approved criteria, an error or unexpected condition occurs, a record is incomplete, or product/sample/data may be affected, contain or stop the affected work when safe; protect materials, records, and evidence; promptly inform the responsible supervisor and QA; and use the linked deviation, OOS/OOT, incident, safety, change-control, or investigation procedure. Assess impact and document the facts, immediate controls, affected scope, decision authority, disposition, and closure evidence. Resume only when the authorized decision-maker has documented that conditions for restart are met. Do not silently repeat, overwrite, discard, backdate, or average results.

Records and evidence to confirm locally

Identify the controlled form/logbook or electronic record, source data and attachments, required independent review, linked deviation/change/training records, repository, retention period, and retrieval method. The exact record set and retention period must come from approved site procedures and applicable requirements.

Site adoption fields

Document ID: [site ID]   Version: [approved version]   Effective date: [date]   Process owner: [role]   QA approver: [role]   Forms/specifications: [controlled IDs]   Training: [assignment]   Related procedures: [IDs]. Replace placeholders, resolve conflicts, obtain controlled approval, and train affected personnel before implementation.

Template boundary: This guide supplements the task-specific method; it does not establish a test limit, processing parameter, frequency, sample size, retention period, or regulatory applicability. Use approved specifications, validated methods, product commitments, safety controls, and local requirements. QA and a qualified subject matter expert must approve technical changes.