GxP Compliance

Computer System Validation for Laboratory IT

Validation documentation being reviewed
In this article9 sections

Computer system validation, usually shortened to CSV, is the documented process of demonstrating that a computerised system does what it is intended to do, consistently and reproducibly, and will keep doing so. In a GxP laboratory it is how you establish that the LIMS calculating your results, the chromatography data system holding your raw data, and the server underneath them can be relied upon.

CSV has a reputation for producing enormous volumes of paperwork that nobody reads. That reputation is earned, but it is not inherent. The discipline is genuinely risk-based: the depth of documentation should be proportionate to what could go wrong and how badly. A laboratory that validates a configured LIMS and a file server to the same depth has misunderstood the method and wasted a great deal of money proving it.

This guide covers what needs validating and what needs only qualifying, how GAMP 5 categories set the effort, the documents involved, and how change control and periodic review keep a validated state from quietly expiring.

Key takeaways

  • Validation effort is set by risk and by how much the system has been configured or customised.
  • Infrastructure is generally qualified; applications are validated for their intended use.
  • Requirements come first — you cannot test against intentions that were never written down.
  • Supplier documentation can be leveraged after a supplier assessment, which saves substantial effort.
  • Validation is a state, not an event: change control and periodic review are what maintain it.

Validation versus qualification

The two words are used loosely and the distinction is worth holding onto, because it determines how much work you are signing up for.

Qualification establishes that something was installed correctly and operates as intended — typically infrastructure: servers, storage, networks, operating systems, virtualisation hosts. The evidence is largely factual: this is what we built, these are the versions, here are the settings, here is proof the backup restores and the failover works.

Validation establishes that a system does what it is needed for in its specific intended use, including the business process around it. It covers the application's configured behaviour: that the LIMS calculates the right result from the right inputs, enforces the right review workflow, and restricts the right people.

Qualified infrastructure is the platform on which validated applications sit. Getting this boundary right avoids the two classic errors: writing a full validation package for a file server, or treating a heavily configured LIMS as though installing it were sufficient. Our server and virtualisation work produces the qualification layer; the application validation sits on top.

GAMP 5 categories and effort

GAMP 5, published by ISPE and updated in a second edition in 2022, provides the risk-based framework most laboratories work to. Its software categories are the practical tool for setting effort.

CategoryDescriptionExamplesTypical effort
1Infrastructure softwareOperating systems, databases, hypervisorsQualify the infrastructure; record versions
3Non-configured products used as suppliedSimple instrument software, basic firmwareVerify fitness for intended use; light testing
4Configured productsLIMS, ELN, CDS, document managementValidate the configuration and intended use; the bulk of real lab CSV
5Custom applications and bespoke codeCustom interfaces, bespoke reporting, scriptsFull lifecycle including code review and design testing

The second edition sharpened the emphasis on critical thinking, on leveraging supplier activity rather than repeating it, and on not generating documentation that adds no assurance. It also brought software development practices, iterative delivery and automated testing properly into scope — relevant if anyone is writing custom interfaces between instruments and your LIMS.

Most laboratory pain sits in category 4. A configured LIMS can be set up a thousand ways, and it is the configuration — the workflows, calculations, specifications, user roles and report templates — that must be validated, not the vendor's source code.

Risk assessment sets the scope

Before writing any test script, assess risk. The questions that matter are whether the system affects product quality or patient safety, whether it holds GxP records or supports a predicate rule, whether it performs calculations that reach a reportable result, how a failure would be detected, and how severe an undetected failure would be.

From that, decide the depth of testing per function. A LIMS calculation that produces a release decision gets thorough challenge testing including boundary and negative cases. The same system's internal note field does not. Document the reasoning, because the assessment is what justifies not testing everything — and "we assessed it as low risk" with no record behind it is indistinguishable from not having bothered.

This is also where effort gets saved legitimately. A documented supplier assessment of an established vendor with a credible quality system lets you leverage their development and testing evidence instead of reproducing it. You still verify the system in your environment, for your intended use. You do not retest the vendor's core code.

The documents

A proportionate package for a configured laboratory system generally comprises the following. Not every system needs every document, and small, low-risk systems can combine several.

DocumentPurpose
Validation planScope, approach, roles, deliverables, acceptance criteria
User requirements specification (URS)What the system must do, in testable statements
Functional and configuration specificationHow the system is set up to meet the URS
Risk assessmentWhat could go wrong and how testing and controls address it
Supplier assessmentWhether vendor documentation can be leveraged
IQEvidence of correct installation: versions, settings, environment
OQEvidence functions operate correctly, including security and audit trail
PQ / UATEvidence the system performs in the real process with real users and data
Traceability matrixEach requirement mapped to the test that demonstrates it
Validation summary reportWhat was done, deviations raised, conclusion on fitness for use
SOPs and training recordsHow the system is used, administered and backed up

The URS is where projects are won or lost. Requirements must be specific and testable: not "the system shall be secure" but "the system shall require unique user credentials and shall lock an account after five failed attempts". Vague requirements produce vague tests that prove nothing, and they generate change requests for the rest of the project.

What OQ should cover for lab IT

Operational qualification for a laboratory system should deliberately include the controls that auditors examine, because testing them once during OQ produces the evidence you will be asked for later:

  • User account creation, unique credentials, password policy enforcement.
  • Role-based permissions: that each role can do what it should and cannot do what it should not. Negative testing matters here.
  • Audit trail: that it records creation, modification and deletion with original values, and cannot be disabled by data-generating roles.
  • Electronic signature behaviour, including the displayed name, date, time and meaning.
  • Time synchronisation and that users cannot alter the clock.
  • Backup and, crucially, a documented successful restore.
  • Data export of a complete record including metadata and audit trail.
  • Alerting and failover where redundancy has been specified.

Screenshots with dates, initials and a clear pass or fail are the standard evidence. Capture them as you go; reconstructing OQ evidence from a running production system weeks later is slow and visibly retrospective.

The sequence that works

  1. Plan. Define scope, roles and what "done" looks like.
  2. Specify requirements. URS agreed by the people who will use the system, not only by IT.
  3. Assess risk and supplier. Set testing depth; decide what to leverage.
  4. Design and configure. Record the configuration as a specification, not as tribal knowledge.
  5. Qualify infrastructure. Server, storage, network, virtualisation — before application testing.
  6. IQ. Verify and evidence the installation.
  7. OQ. Test functions against the specification, including the controls above.
  8. PQ or UAT. Real users, real process, real data, in the live environment.
  9. Resolve deviations. Document each, assess impact, fix or justify.
  10. Traceability and report. Close the loop and state the conclusion.
  11. Release. Approved, with SOPs and training in place.
  12. Maintain. Change control, periodic review, backup monitoring.

Keeping the validated state

The most expensive mistake in CSV is treating the summary report as the finish line. A validated system drifts out of its validated state through ordinary operation, and two processes prevent that.

Change control. Every change — operating system patches, application upgrades, configuration edits, new interfaces, hardware replacement — is raised, assessed for validation impact, approved, implemented and evidenced. The assessment determines whether regression testing is needed and how much. This is the process that makes patching a validated system possible rather than forbidden: the answer to "can we patch?" is yes, under assessment, with a snapshot and a rollback path. Where there is no change control, labs stop patching entirely and accumulate vulnerabilities instead.

Periodic review. At a defined interval, confirm the system is still operating as validated: documentation current, user list accurate with leavers removed, privileges still appropriate, audit trail still enabled and reviewed, changes all under control, deviations closed, backup still running with a recent restore test, and the platform still supported. Periodic review is where labs discover the uncomfortable facts — eleven active accounts for people who left, a backup job that has failed for five months — and it is far better to discover them yourself.

Both processes need documented procedures, which is what IT SOP and documentation work delivers, and someone whose job it actually is, which is often where a managed service earns its place.

How much is enough

Proportionality is the hardest judgement in CSV, and both errors are costly. Over-validating consumes months of QA and IT time, generates documents nobody reads, and makes teams so reluctant to raise a change that systems go unpatched for years. Under-validating leaves you unable to demonstrate that a system producing release decisions works.

A reasonable test: for each system, could you explain to an inspector what the system does, what could go wrong, why you tested what you tested, and why you did not test the rest? If the answer is yes and the evidence exists, the package is probably right-sized regardless of its thickness.

Frequently asked questions

Does infrastructure need to be validated?

Infrastructure is normally qualified rather than validated — documented evidence that servers, storage and networks were installed as designed and operate as intended, proportionate to risk. The applications running on that infrastructure are validated for their intended use.

Can we use the vendor's validation documentation?

You can leverage it after a documented supplier assessment, which is explicitly encouraged by GAMP 5 and saves significant effort. You still need to verify the system as installed and configured in your environment for your intended use — the vendor cannot validate your configuration or your process.

How often should validated systems be reviewed?

At an interval set by risk and stated in your procedures — commonly annually for high-risk systems and less frequently for low-risk ones. The review confirms the system is still in its validated state, with documentation, user lists, privileges, changes, deviations and backup all current.

Can a validated system be patched?

Yes, and it should be. Patches go through change control with an assessment of validation impact, are applied to a test or snapshotted system first, and get regression testing proportionate to the assessment. Never patching is a security position, not a compliance one, and it is increasingly difficult to defend.

Who signs off validation?

Quality assurance approves, with input from system owners, users and IT. An external partner can author documentation, execute testing and produce evidence, but the approval and the conclusion on fitness for intended use sit with the laboratory's own quality function.

Need validation documentation that is proportionate rather than enormous? Our CSV support covers requirements, risk assessment, IQ and OQ execution, traceability and periodic review, within a wider lab compliance frameworks approach. Tell us which system you are validating and we will propose a scope.

Free expert advice

Want an expert to look at your lab IT?

Tell us how your laboratory is set up. A senior lab IT consultant will reply within one working day with honest, practical advice. No obligation and no sales script.

  • Reply within one working day
  • Advice even if we are not the right fit
  • We sign an NDA before any detail is shared

We use your details only to reply to you. See our privacy policy.

About the author
Pracoda Team

The Pracoda Technologies engineering team builds Magento 2 and Adobe Commerce stores, custom software, mobile apps and integrations from Lucknow, India. The team has worked with Magento and PHP for more than ten years. Here it writes about technical SEO, performance, hosting and development practice, drawing on the same techniques it uses on client projects every day.

Need a consultation?

Tell us what you are building.

Share the problem, the platform and the deadline. We will come back with an approach, a team and an estimate.