A data integrity risk assessment template (DIRA) is the document through which a pharmaceutical company identifies, evaluates and controls the risks that threaten the integrity of GxP data across the entire data life cycle. In EMA, FDA and PIC/S inspections it has become a recurring request: inspectors want to see not only that controls exist, but that they derive from a documented risk analysis proportionate to data criticality. A missing, generic or never-updated DIRA is among the most frequent causes of data integrity observations. This guide covers what the regulations require, how to build the assessment in six steps and how to structure the template, with the typical pitfalls to avoid.
What a data integrity risk assessment is based on
Data integrity is defined as the degree to which data are complete, consistent, accurate, trustworthy and reliable, and to which these characteristics are maintained throughout the data life cycle. The DIRA applies quality risk management principles (ICH Q9) to this definition: for every process or system generating GxP data, two dimensions are assessed, which PIC/S PI 041-1 explicitly distinguishes:
- Data criticality — how much the data influences quality decisions and patient safety: data supporting batch release or QC results carry higher criticality than, say, cleaning records of an unclassified area;
- Data risk — how vulnerable the data is to alteration, deletion, loss or unauthorized recreation, depending on how it is generated, processed, reviewed and archived.
The intersection of criticality and vulnerability sets the priority of controls: this is the core of the risk-based approach authorities expect to find documented.
What the reference regulations require
- PIC/S PI 041-1 — "Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments", in force since 1 July 2021: it requires a risk management approach to data governance and dedicates specific sections to data criticality and data risk. It is the reference inspectorates use to plan risk-based data integrity inspections.
- WHO TRS 1033, Annex 4 — the "Guideline on data integrity" (2021), replacing the previous guidance in TRS 996 (2016): it includes a chapter on quality risk management and requires data risks to be assessed, mitigated and reviewed as part of data governance.
- MHRA 'GXP' Data Integrity Guidance and Definitions (March 2018) — the source of the data integrity definition adopted by PIC/S, with the expectation that control effort be commensurate with risk.
- EU GMP Annex 11 — the 2011 version, still in force, requires controls proportionate to the criticality of computerised systems; the draft revision published on 7 July 2025 (consultation closed 7 October 2025, final text pending) further strengthens the risk-based approach on audit trail review, access management and suppliers.
The common message is clear: no authority prescribes a single DIRA model, but all expect the assessment to exist, be documented, cover the entire data life cycle and genuinely drive the controls.
Between drafts being finalised, guidances and inspection expectations, data integrity is one of the fastest-moving topics in GMP. To stay current without chasing ten different sources, subscribe to The Pragmatic GMP, our free weekly newsletter: the practical update on GMP and data integrity, in a five-minute read.
How to build a DIRA in 6 steps
- Inventory of systems and processes. Start from the list of GxP computerised systems (LIMS, CDS, MES, ERP, critical spreadsheets) and the paper or hybrid processes generating regulated data. An incomplete inventory invalidates everything else.
- Data flow mapping. For each process, trace where the data originates, how it is processed, who reviews it, where it is archived and when it is deleted. It is the classic inspector question: "show me where this data is created".
- Criticality assessment. Classify data by impact on quality decisions and on the patient: batch release, analytical results, validation data, production records, supporting data.
- Vulnerability assessment. For each life cycle phase, identify failure modes against the ALCOA+ attributes: non-attributable data (shared accounts), non-contemporaneous (delayed recording), non-original (transcriptions), modifiable without trace (disabled audit trail), unavailable (untested backups).
- Controls and residual risk. Link each risk to technical controls (audit trail, individual accounts, verified backup) and organisational controls (SOPs, segregation of duties, review); where residual risk remains high, open CAPAs with owners and due dates.
- Periodic review. Set a review frequency and update the DIRA at every relevant change (new system, upgrade, new guidance). A DIRA untouched for three years is, in the inspector's eyes, a non-existent DIRA.
The structure of the DIRA template
The most common format is a matrix with one row per risk, with these minimum fields:
| Template field | What to record | Example |
|---|---|---|
| System / process | The system or process generating the data | QC laboratory CDS |
| Data life cycle phase | Generation, processing, review, archiving, deletion | Result processing |
| Failure mode | How the data can lose integrity | Untracked reprocessing |
| ALCOA+ attribute affected | The attribute compromised by the failure mode | Original / Accurate |
| Criticality and likelihood | Scores with defined, justified criteria | High × Medium |
| Existing controls | Technical and organisational controls in place | Active, reviewed audit trail |
| Residual risk and actions | Final rating, CAPA, owner, due date | CAPA-2026-045, QA, 31 Mar |
Two measures make the template defensible: numeric scoring criteria defined upfront (never an unjustified "medium") and verifiable references to real systems, not abstract descriptions.
Typical findings raised in audits
- Generic DIRA copied from a template, with no link to the site's real data flows;
- ALCOA+ attributes only partially analysed (Attributable and Original are the most neglected);
- critical Excel calculations excluded from the assessment scope;
- mitigations declared but never implemented, with no CAPA or evidence;
- no connection to audit trail review, periodic system review and management review;
- document never updated after system changes or new guidance.
GuideGxP recommendation
Treat the DIRA as a living document of your quality system, not a one-off exercise: have QA approve it, link it to real CAPAs, bring its outcomes into management review and update it at every relevant change. In audits, be ready to show the evidence that supports it alongside the DIRA itself: data flow maps, audit trail review logs, backup & restore tests and CAPA status. If you want a ready-made framework for governing the computerised systems the DIRA relies on — inventory, risk assessment, protocols and maintenance of the validated state — our Operational Guide to Computer System Validation (CSV) in GxP includes ready-to-use Excel and Word templates, already aligned with the new Annex 11 draft.
Official sources
- PIC/S PI 041-1 – Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments
- WHO TRS 1033, Annex 4 – Guideline on Data Integrity
- MHRA – 'GXP' Data Integrity Guidance and Definitions (2018)
- European Commission – Stakeholders' consultation on EudraLex Vol. 4: Chapter 4, Annex 11 and Annex 22