SystemManufacturing & Quality

Learn · ALCOA on a real number

Data integrity in the pharmaceutical industry: one number, end to end

Data integrity is usually taught as five letters and audited as a document review. It is far more testable on a single value. This guide follows one viability figure from the cytometer to a signed finding, applying ALCOA at every stop, and shows what Manufacturing Batch Analytics has to carry for an analytics answer to pass the same test.

Updated · 14 min read

See one case, screen by screen →
Watch with transcript →

Data integrity in the pharmaceutical industry means that the data behind a quality decision is complete, consistent and accurate, and that it can be shown to be attributable, legible, contemporaneously recorded, original or a true copy, and accurate. That is the regulators' own wording, and it is often taught as an acronym and audited as a review of procedures. It is much more useful applied to one number. Take a single viability figure, 68.9% at harvest on one batch, and put the five questions to it in order — who generated it, can it still be read, was it recorded at the time, is this the original or a true copy, and is it right — then add the one the regulators make explicit: a value without its metadata means nothing. Botminds' Manufacturing Batch Analytics is built so an answer survives that test: every data answer carries the query and the tables it read, every procedure answer carries its section and page, and a named person confirms the answer before it goes anywhere.

The worked number on this page comes from sample data on a fictional cell-therapy line — Corventa on Line C2 at Plant 3 in Leiden — with fictional suppliers, hospitals and people. The rules quoted are the current published ones from the FDA, the MHRA and the European Commission.

"A data value is by itself meaningless without additional information about the data … For example, the number “23” is meaningless without metadata, such as an indication of the unit “mg.”"

FDA, Data Integrity and Compliance With Drug CGMP: Questions and Answers, December 2018

What is data integrity in the pharmaceutical industry?

The FDA's guidance is unusually direct about it: "For the purposes of this guidance, data integrity refers to the completeness, consistency, and accuracy of data. Complete, consistent, and accurate data should be attributable, legible, contemporaneously recorded, original or a true copy, and accurate (ALCOA)" (FDA, Data Integrity and Compliance With Drug CGMP). Three properties, then five tests that evidence them.

The MHRA frames the same idea as a question of lifecycle rather than of documents, and its definition of that lifecycle is the sentence most worth memorising: "All phases in the life of the data from generation and recording through processing (including analysis, transformation or migration), use, data retention, archive/retrieval and destruction" (MHRA, GXP Data Integrity Guidance and Definitions). Note where analysis sits. Processing — including analysis and transformation — is inside the lifecycle, which means a chart, a trend and a query result are not downstream of data integrity. They are part of it.

The EU guide then decides which data all of this applies to, and it does so by consequence rather than by system: "For electronic records regulated users should define which data are to be used as raw data. At least, all data on which quality decisions are based should be defined as raw data" (EU GMP Part I, Chapter 4). If a trend chart is what convinces a quality unit to hold a lot, the data behind that chart is raw data, and so is the definition of the metric it used.

What does ALCOA stand for in data integrity, and what does the plus add?

ALCOA is attributable, legible, contemporaneous, original and accurate. The plus is not a second standard; it is the set of properties data governance has to deliver across that whole lifecycle. The MHRA puts them in one line of its guidance: governance should also make sure data stays complete, consistent, enduring and available for as long as it lives (MHRA, GXP Data Integrity Guidance, section 6.1). Complete, consistent, enduring, available — four words that are easy to pass on a single instrument result and easy to fail on an analytics answer, because an answer is assembled from several sources and is usually not kept at all.

ALCOA and the plus, put to one viability figure: what satisfies each in the laboratory system, and what satisfies it on a chart

The testThe question it asks of the numberIn the laboratory systemOn an analytics answer
AttributableWho generated it, and on what?Analyst and reviewer identities, instrument and method identifiers on the result.Which specialist answered, which systems it read, and who asked the question.
LegibleCan it still be read and understood?A permanent result with its units and its method, not a hand-written margin note.A stated metric definition, so "viability" is one thing and not four.
ContemporaneousWas it recorded when the work happened?Acquisition time from the instrument, not the time somebody typed it in.The time the question was asked and the data was read, recorded with the answer.
Original or true copyIs this the record, or a picture of it?The acquisition file retained, with printouts treated as copies of it.A query that can be re-run against the same tables, rather than a pasted figure.
AccurateIs it right, and was it checked?A second check on critical data entered by hand, by a person or by validated means.A person confirming the answer before it is saved or shared, with corrections fed back.
CompleteIs anything missing, including what was excluded?Every result for the test, including the ones that failed or were repeated.The filters and the row count: 20 batches between two dates, nothing dropped silently.
ConsistentDoes it agree with itself across systems?One result, one batch identifier, one method, no competing versions.One approved definition per metric, used by every answer that names it.
EnduringWill it still be there, and readable, later?Retention for the required period in a form that can still be opened.The question, the query, the answer and the confirmation kept together, not in a chat log.
AvailableCan it be produced when asked?Retrievable on request, including by an inspector, within a sensible time.Retrievable as a set: this answer, this query, this version of the definition.
The five ALCOA tests are the FDA's; complete, consistent, enduring and available are the MHRA's data governance words. The two right-hand columns are our reading, applied to one figure: viability at harvest of 68.9% on the fictional batch CRV-26-0431.Source: FDA Data Integrity Q&A, 2018; MHRA GXP Data Integrity Guidance, 2018

What is metadata in a GMP record? One batch number, explained

Metadata is the context that makes a value mean something. The FDA defines it as "the contextual information required to understand data … often described as data about data", and illustrates it with the sentence quoted above: the number 23 is meaningless without the unit mg. For a batch figure the list is longer than a unit. A viability result of 68.9% needs the test method, because 7-AAD flow cytometry and a trypan blue count do not measure the same thing; the timepoint, because viability at harvest and in-process viability on day 6 are different columns; the batch identifier; the instrument; the analyst; the acquisition time; and the specification in force when the result was generated.

Strip any one of those and the number stops being evidence. Strip the timepoint and 68.9% might be a healthy day-6 reading or a failed harvest. Strip the specification version and nobody can say whether it passed. This is the practical reason an analytics answer has to carry its query: the query is where the metadata of the answer lives — which column, which filter, which population, which definition.

The same figure, with its context and without it

68.9% — on its own68.9% — with its metadata
What it says

68.9% — on its own: A number. Possibly good, possibly a failure.

68.9% — with its metadata: Viability at harvest, batch CRV-26-0431, test VIAB-HARV by 7-AAD flow.

Against what

68.9% — on its own: Unknown — the reader supplies a limit from memory.

68.9% — with its metadata: A 70% release limit and a 75% action limit, as in force on the harvest date.

Who stands behind it

68.9% — on its own: Whoever sent the message.

68.9% — with its metadata: Analyst and reviewer in the laboratory system; the specialist that read it; the person who confirmed the answer.

Can it be reproduced

68.9% — on its own: No. It can only be re-asked, and may come back different.

68.9% — with its metadata: Yes — the query, the tables and the row count are kept with it.

What an inspector can do with it

68.9% — on its own: Ask where it came from, and wait.

68.9% — with its metadata: Follow it to the acquisition file in one direction and to the signed finding in the other.

What a quality unit can do with it

68.9% — on its own: Nothing defensible.

68.9% — with its metadata: Decide: hold, investigate, or release, and record why.

Our comparison, on the fictional batch CRV-26-0431. The figures, batch and test names are sample data.

One number, end to end: instrument, laboratory system, query, chart, signature

Follow the figure stop by stop and the abstraction disappears. At each stop something is added to the number, and at each stop something can be lost. The losses are the interesting part, because every one of them is a finding an inspector could write.

Seven stops between a stained sample and a signed finding

  1. Instrument

    Flow cytometer, 7-AAD stain

    AddsThe value itself, 68.9%, with the acquisition file, method, instrument identifier, operator and time of acquisition.

    Lost if skippedA percentage read off a screen and written on a worksheet: the value survives, the acquisition file does not.

  2. Laboratory system

    Test VIAB-HARV against batch CRV-26-0431

    AddsThe result bound to a batch, a method and a specification, with the analyst, the reviewer and an audit trail of any change.

    Lost if skippedManual transcription between instrument and system, which the EU rules say needs a second check when the data is critical.

  3. Definition

    Which of 312 columns is "viability at harvest"

    AddsAn agreed metric definition: this test, this timepoint, this unit — not in-process viability on day 6.

    Lost if skippedFour systems carrying four columns that all look like viability, and an answer that silently uses the wrong one.

  4. Query

    SELECT over the batch columns, read-only

    AddsThe population: which batches, which dates, which filters, which joins, and what was excluded.

    Lost if skippedAn answer with no query beside it, which cannot be reproduced and therefore cannot be checked.

  5. Chart

    20 batches with control and release limits

    AddsContext: the mean, the limits in force, and the two batches that fall below them.

    Lost if skippedA chart is interactive — limits, baselines and axes can be changed after the fact unless the view is fixed and kept.

  6. Finding

    One sentence with its citation

    AddsThe conclusion, each statement carrying the section and page or the query behind it.

    Lost if skippedA conclusion that reads well and cites nothing, which an inspector will test first.

  7. Signature

    Who signed, when, and what it meant

    AddsA named person, a time, and the recorded meaning of the signature — here, confirming the facts are correct.

    Lost if skippedAn approval with no recorded meaning: nobody can say later what was actually being attested.

The journey of one viability figure on the fictional Line C2. The right-hand column is the failure mode at that stop, not something observed in the product; the product's own behaviour is described below.

Stop two is the one the rules single out. Annex 11 asks for an extra accuracy check on any critical data entered by hand, made either by a second operator or by validated electronic means (EU GMP Annex 11, §6), which is a way of saying that a human retyping a critical result is a control problem with a known fix. What that fix leaves behind is the subject of joining manufacturing, laboratory and material systems: an interface moves the number safely and does nothing about stop three, the definition.

The transformations nobody records: joins, filters, units and rounding

Between the laboratory system and the chart, a number can be transformed several times, and these transformations are often the least documented part of the lifecycle — even though the MHRA's definition puts analysis and transformation squarely inside it.

The joins come first. A viability figure means one thing joined to the batch it came from, and another joined to the medium lot that fed it; a join on the wrong key, or a one-to-many join silently resolved, changes the population without changing any single value. Then the filters: twenty batches "since July" is not a population until somebody says whether that is harvest date or release date, and whether the batch that was scrapped on day 9 is in or out. Then units and conversions. Then rounding, which is where a 69.5% becomes a 70% and a failure becomes a pass.

None of this is caught by validating the laboratory system, because none of it happens there. It happens in the step between the systems and the decision — historically a spreadsheet, now often a query. The control is the same in both cases: keep the transformation with the answer, so the next person can see what was joined, filtered, converted and rounded. In the product this is why the query and the tables are shown with the answer rather than offered on request, and why a data answer is read-only by construction: a SELECT-only query with a row limit cannot change the number it is reading.

The query and the tables shown with the answer

A query view beside an answer: the read-only walk it performed, the links it followed, the read time, and the systems it drew on — genealogy, shipments, laboratory results and supplier certificates — each named with the number of links read.
Manufacturing Batch Analytics on its sample plant data: the read behind the answer, shown with it. On the sample recall this walk read 31 links in 0.6 seconds, and it is marked read-only.

Is a chart a GMP record?

If a quality decision rests on it, treat it as one. The EU guide's instruction to define as raw data "all data on which quality decisions are based" does not carve out visualisations, and the FDA's distinction between static and dynamic records explains why a chart deserves more care than a printout, not less: "static is used to indicate a fixed-data record such as a paper record or an electronic image, and dynamic means that the record format allows interaction between the user and the record content". The agency's example is a chromatogram whose baseline can be changed so that "the resulting peaks may appear smaller or larger".

A trend chart is dynamic in exactly that sense. Change the date range, the control limits, the included batches or the metric definition and the same underlying results tell a different story — with no edit to any result and no entry in any laboratory audit trail. A screenshot pasted into an investigation is a static image of a dynamic thing, and it carries none of the choices that produced it.

So the question to ask of a chart is not whether it is a record but whether the choices behind it are kept with it. That is the only version of a chart that can be relied on twice, and it is what makes a trend usable as evidence in continued process verification rather than as illustration.

A chart that arrives with its question, its rule and its query

A viability at harvest chart for the last twenty batches with the mean, the lower control limit and the release limit drawn, two batches marked as outliers below the limits, and beside the chart the plain-language question, the outlier rule used and the read-only query with the tables it read.
Manufacturing Batch Analytics on its sample plant data: the outlier rule is stated with the chart — below the mean less three standard deviations of the batches before 21 July — so the reader can see the choice and not only the result.

Audit trails: what they must capture, and who reads them

The definition is precise, and the requirement predates many data integrity programmes. An audit trail is "a secure, computer-generated, time-stamped electronic record that allows for reconstruction of the course of events relating to the creation, modification, or deletion of an electronic record". US rules for closed systems require exactly that, and add the sentence that rules out overwriting: "Use of secure, computer-generated, time-stamped audit trails to independently record the date and time of operator entries and actions that create, modify, or delete electronic records. Record changes shall not obscure previously recorded information" (21 CFR 11.10).

Who reads them is the part that gets skipped. The FDA's answer is that audit trail review is not a separate activity performed by a specialist team: "Audit trail review is similar to assessing cross-outs on paper when reviewing data. Personnel responsible for record review under CGMP should review the audit trails that capture changes to data associated with the record as they review the rest of the record." On frequency, the guidance is equally plain: where the regulations set a review frequency for the data, the same frequency applies to the audit trail — after each significant step in manufacture, and before batch release.

For an analytics layer the implication is uncomfortable but clear. If an answer informs a decision, the trail of that answer — who asked, what was read, what came back, what was corrected, who confirmed it — is part of what a reviewer should be able to see while reviewing the decision. In the product that trail is kept for every question, query, walk, answer, correction, signature and decision, with who and when, including which specialist answered and what it read.

Where a person stands in the chain, and what never happens without one

  1. Agent

    Plant orchestrator

    Takes the question, asks one clarifying question if the batch or time range is unclear, and routes it to the right specialist.

    Never: writes to a plant system

  2. Agent

    Batch data specialist

    Finds the metric by its approved definition among 312 columns, runs one read-only query and shows it with the answer.

    Never: anything but SELECT, with a 10,000-row limit, patient identity masked

  3. Agent

    Procedure specialist

    Quotes the limits as written, with a section and page for every sentence, from effective versions only.

    Never: cites a draft in review, or answers when no procedure covers the question

  4. A person decides

    The scientist confirms the answer

    Checks the answer against its query and signs the facts, with the meaning of the signature recorded.

    Never: skipped: an unconfirmed answer is not saved or shared

  5. A person decides

    The quality unit decides

    Decides the deviation class, the hold, the disposition and any notification.

    Never: delegated to a specialist, which drafts proposals only

Manufacturing Batch Analytics as configured on the fictional Line C2. The limits in each row are the product's own settings, not claims about compliance; nothing in it writes to a manufacturing, laboratory or quality system.

Original record or true copy: which one is on your screen

The fourth ALCOA test is the one analytics can fail without anyone noticing. A dashboard is rarely the original record; it is a derived view, and whether it counts as a true copy depends on whether it preserves content and meaning. A figure that has been joined, filtered, converted and rounded on its way to a tile has not preserved meaning unless those operations are recorded with it.

That is a reason to prefer reading in place over copying. If an answer is produced by a query that runs against the system of record each time, the original stays where it is and the answer is a reproducible read of it. If the answer is produced from a nightly extract, the extract is a copy, and somebody has to show that the copy is true — that nothing was altered in value or meaning when it moved.

Both architectures are legitimate; they just carry different homework. The product takes the first route for data answers and the second for lot links, which are built nightly from material movements, and it says so rather than blurring the two.

What to ask of any answer before you act on it

The eight questions below are the practical form of everything above. They work on an answer from a person, a spreadsheet or a system, and an answer that cannot survive them should not reach a quality decision.

Eight questions to put to an answer before it leaves the screen

  1. Which metric, defined by whom?

    Name the test, the timepoint and the unit. "Viability" is not a metric; viability at harvest by test VIAB-HARV is.

  2. Which population, and what was excluded?

    How many batches, between which dates, on which date field, and what was filtered out. Ask for the row count.

  3. Show me the read.

    The query and the tables for a data answer; the links walked for a trace; the section and page for a procedure answer.

  4. Is this the original, or a copy of it?

    Does the answer read the system of record now, or an extract from last night? If an extract, who shows it is unaltered in value and meaning?

  5. What was transformed on the way?

    Joins, unit conversions and rounding. A pass that depends on rounding is not a pass.

  6. Which specification version applied?

    The limits in force on the date of the result, not today's limits. Procedure answers should cite effective versions only.

  7. Who has checked it, and what did they attest?

    A named person, a time, and the recorded meaning of the signature. "Approved" without a meaning is not attribution.

  8. Can I get all of that again in six months?

    The enduring and available test. If the answer lives in a message and the query lives nowhere, the answer is not evidence.

Our checklist, written from the FDA, MHRA and EU sources cited on this page.

None of this makes an analytics answer a regulatory decision. It makes it reliable enough for a person to decide from — which is the only job it has. To see the query, the citation and the signature on one line, start from Manufacturing Batch Analytics.

The signature, with its meaning recorded

A signed impact assessment: the author's name, the time, and the recorded meaning of the signature confirming the facts are correct, with the two cryomedium lots now marked for quarantine and the stored doses marked hold requested, and the assessment sent to the Qualified Person for decision.
Manufacturing Batch Analytics on its sample plant data: an answer becomes a record when a named person signs it, with the meaning of the signature kept beside the name.

Questions people ask

What do the five letters of ALCOA test?

Attributable, legible, contemporaneously recorded, original or a true copy, and accurate. The FDA uses the acronym to describe the evidence that data is complete, consistent and accurate — so ALCOA is the test, and completeness, consistency and accuracy are what passing it demonstrates.

What does the plus in ALCOA+ add?

The plus adds four properties that data governance has to deliver across the whole data lifecycle: complete, consistent, enduring and available. They are not a different standard but a harder one to pass on derived data, because an analytics answer is assembled from several sources and is often not kept at all after it has been read.

What does an audit trail have to capture?

Enough to reconstruct the course of events around the creation, modification or deletion of an electronic record: the date and time, the identity behind the entry or action, and what changed — recorded by the system, not by the operator, and in a way that does not obscure what was previously recorded.

Who should review audit trails, and how often?

The people who already review the record. The FDA compares it to assessing cross-outs on paper: audit trails that capture changes to data associated with a record should be reviewed as part of reviewing that record. Where the regulations set a frequency for reviewing the data — after each significant step, and before batch release — the same frequency applies to the trail.

Is a chart a GMP record?

If a quality decision rests on it, treat it as one: the EU guide asks that all data on which quality decisions are based be defined as raw data. A chart is also a dynamic format, so the date range, limits, included batches and metric definition behind it can change the story without changing a single result. Keep those choices with the chart.

How do you know an analytics answer is right?

By reproducing it. Ask for the metric definition, the population and the query, re-run it, and compare. In the product every data answer comes from a read-only query shown with the answer, procedure answers cite the section and page for each sentence, and a person confirms an answer before it is saved or shared, with corrections fed back as examples.

Manufacturing Batch Analytics.
See it on your own files.

An agentic solution from Botminds. Ask about a lot, a batch or a result in plain words. The answer is a genealogy graph, from raw material lots to finished batches and markets, with yields and deviations on each point. Book a demo, or explore how it works.