Pharma and life sciences · Playbook 50

Regulatory document authoring

First drafts of submission documents built from approved source data in days, not weeks, with every statement traced to its source. Authors and regulatory leads review and sign off, and the AI never submits anything.

  • Retrieval (RAG)
  • Generative AI
  • Human in the loop
  • MHRA
  • ICH M4 (CTD)
  • GxP data integrity
  • GAMP 5
  • EMA AI reflection paper
  • UK GDPR

At a glance

The problem
Submission documents are assembled by hand from hundreds of source reports, then checked line by line against them
Typical volume
Around 250 regulatory documents a year: a few new applications, 150 variations, 40 responses to questions and 60 labelling updates
Who's involved
Regulatory affairs, medical writing, CMC, safety, quality assurance, computerised system validation, IT, data protection
Pilot
10–12 weeks on one document type, after a 3–4 week discovery
Platforms
AWS, Azure, or a sovereign or on-prem stack

An illustrative scenario. The numbers are typical examples, not a client case study. The cloud services and UK rules were checked on 9 November 2026.

The business problem

In a typical mid-sized UK pharma or biotech company, every submission document is built by hand. A medical writer or regulatory scientist opens the clinical study reports, stability reports, specifications, validation reports and safety summaries, copies the numbers across, writes the narrative around them, and checks every cross-reference. A single Module 2 summary can draw on hundreds of source documents, each with its own version history.

The work comes in peaks. A new application, a cluster of variations after a manufacturing site change, a set of questions from the MHRA with the clock running, a safety change that has to flow into every SmPC, leaflet and label. Under that pressure small errors creep in: a number transcribed wrongly, a superseded stability table, an SmPC statement that no longer matches the clinical summary. Each one costs a validation query, a request for information or a delay. Since July 2026, applicants using the MHRA's International Recognition Procedure get a single chance to respond to validation correction requests.

The documents are regulated records. The marketing authorisation holder is responsible for every word sent to the MHRA, whoever or whatever drafted it, and every statement has to trace back to approved data. A tool that drafts quickly but can't show where each statement came from just moves the effort from writing to checking. The aim here is the opposite: drafts that are quicker to check than to write.

What AI changes

  • Each section is drafted from the approved source documents in the document management system, never from the model's general knowledge. Every statement links to the source document, version and page.
  • Numbers and tables are copied by code from structured sources, not generated by the model, and checked automatically against the source before the author sees the draft.
  • Consistency checks run across the dossier: SmPC against the clinical and safety summaries, Module 3 against current specifications. Differences go to the document owner as findings.
  • Responses to MHRA questions start from a draft that pulls together the question, earlier correspondence, the relevant dossier sections and the source data, with references the author can follow.
  • When a safety or labelling change is approved, every affected SmPC, leaflet and label text is listed, with draft tracked changes for each.
  • People stay in control. Authors check and edit, the regulatory lead approves, QA reviews where the SOP requires, and the publishing team compiles and submits. The AI never signs, publishes or submits.

How success is measured

Agree these, and measure the baseline, before anything is built. Example targets are typical, not promises.

Time to first draft

From request to a draft ready for author review, by document type.

ExampleA typical variation package from 3 weeks to 3 days

Source traceability

Share of statements and numbers in a draft with a working link to an approved source.

ExampleEvery statement, checked on an audit sample

Unsupported statements at sign-off

Statements that reach approval without a source behind them. Found by QA's sample review, not self-reported.

ExampleNone

Author edit rate

How much authors change the drafts. Very high means it isn't helping; near zero can mean drafts are being approved unread.

ExampleStable, and reviewed monthly

Queries caused by document errors

Validation queries and requests for information traced to a transcription or consistency error.

ExampleFalling, measured against last year

Labelling consistency

Differences between SmPC, leaflet, labels and the dossier found after submission.

ExampleNone in the audit sample

UK regulation and controls

Cross-sector rules are on the UK regulation map.

  • MHRAMarketing authorisations, variations and the International Recognition Procedure (Human Medicines Regulations 2012)

    The marketing authorisation holder is responsible for the accuracy of everything submitted. Submissions go in eCTD format through the MHRA's submissions portal, compiled and sent by the publishing team. The AI drafts content only: it never compiles a sequence for dispatch, submits, or replies to the MHRA. Deciding whether a change needs a variation, and of which type, stays with regulatory affairs.

  • ICHM4: the Common Technical Document

    Drafting follows the CTD structure, with a template and a source map for each section. Module 1 is UK-specific; Modules 2 to 5 are shared with other markets, so one approved source library can serve several submissions. The quality section is being revised (M4Q(R2)), so keep templates configurable.

  • MHRAGxP data integrity guidance (ALCOA+)

    Records must be attributable, legible, contemporaneous, original and accurate, and also complete, consistent, enduring and available. Every prompt, source passage, draft, edit and approval is kept with an audit trail. The signed document in the validated document management system stays the record; the AI's output is a draft until a person approves it.

  • ISPE (guidance)GAMP 5 second edition and the GAMP Guide: Artificial Intelligence (July 2025)

    Where drafts feed GxP records, treat the tool as a computerised system: a written intended use, a risk assessment, validation in proportion to that risk, and change control for the model, prompts, templates and source library. A model version change is a change, re-tested against a fixed set of past documents before it goes live.

  • EMAReflection paper on AI in the medicinal product lifecycle (September 2024) and the EMA–FDA good AI practice principles (January 2026)

    This matters for UK firms that also submit in the EU. The applicant stays responsible for AI used in preparing its submissions, and AI-drafted product information needs a quality review that checks it is factually and grammatically correct. The EU AI Act doesn't list regulatory drafting as a high-risk use.

  • ICOUK GDPR and the Data Protection Act 2018

    Clinical study reports and safety narratives can contain pseudonymised patient data, and documents name investigators and staff. That means a DPIA before the pilot, processing in UK regions, a contract that stops providers training their models on your data, and keeping patient-level listings out of the retrieval index unless a document genuinely needs them.

The solution

Showing AWSAzuresovereign / on-prem services. Switch with the toggle; every diagram and table on this page follows it.

Regulatory document authoring: reference architecture
  1. 01Sources

    • Approved source reports and data
    • Questions and letters from the MHRA
    • Approved labelling and safety changes
  2. 02Intake

    • Amazon TextractContent Understanding (Document Intelligence)Docling plus an open-weight vision modelRead source documents
    • API GatewayAPI ManagementKong, or your existing API gatewayDocument events
    • Amazon S3Blob StorageCeph, or IONOS S3 Object StorageDraft and evidence store
  3. 03Intelligence

    • Bedrock Knowledge BasesFoundry IQ (Azure AI Search)OpenSearch, or PostgreSQL with pgvectorSource and dossier index
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on Kubernetes, with open-weight models via vLLMDrafting assistant
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on KubernetesConsistency checker
  4. 04Orchestration

    • Step FunctionsLogic Apps / Durable FunctionsTemporalAuthoring workflow
    • EventBridge + SQSEvent Grid + Service BusApache Kafka or RabbitMQEvents and queues
  5. 05Systems of record

    • Document management system
    • Regulatory information management (RIM)
    • eCTD publishing tool
  6. 06People

    • Person
      Author: checks and edits
    • Person
      Regulatory lead: approves
    • Person
      QA and publishing team
  • Cloud or platform service (AWSAzuresovereign / on-prem)
  • AI agent
  • A person decides
  • Your existing systems
  • Outside your organisation

Components, side by side

Regulatory document authoring: components on AWS, Azure and a sovereign or on-prem stack
LayerAWSAzureSovereign / on-prem
Intake: events and filesApproved documents arrive as events from the document management system, not as uploads by hand.API Gateway, S3API Management, Blob StorageKong or your existing API gateway; Ceph or IONOS S3 Object Storage
Reading source documentsBedrock Data Automation processes London requests in London (checked 9 November 2026; re-check at build time). Textract plus an in-region model is the alternative. Test on scanned legacy reports and complex tables, not just born-digital PDFs.Amazon Textract, or Bedrock Data AutomationAzure Content Understanding (includes Document Intelligence)Open-source parsing (e.g. Docling) plus an open-weight vision model
Drafting and reasoningBoth clouds offer a choice of models, including Claude. Check which run in-region in London or UK South, and pin the model version: validation depends on it.Amazon BedrockMicrosoft FoundryOpen-weight models served with vLLM on your own GPUs, or IONOS AI Model Hub
Source knowledge (retrieval)Only approved, effective versions, with document ID, version and status in the metadata. Superseded documents are removed from the index, not just ranked lower.Bedrock Knowledge BasesFoundry IQ, built on Azure AI SearchOpenSearch, or PostgreSQL with pgvector
Numbers and tablesNumbers are copied by code and checked against the source. The model writes the words around them, never the figures.AWS Lambda reading structured sourcesAzure Functions reading structured sourcesPython services on Kubernetes
Agent runtimeThe original Bedrock Agents closed to new customers on 30 July 2026; new builds use AgentCore.Amazon Bedrock AgentCoreFoundry Agent ServiceAn open-source agent framework (e.g. LangGraph) on Kubernetes
WorkflowAWS Step FunctionsLogic Apps or Durable FunctionsTemporal, or n8n
Middleware and eventsAmazon EventBridge, SQSEvent Grid, Service BusApache Kafka or RabbitMQ
Link to document management and RIMAgree in discovery what the suppliers allow: read access to approved documents and writing drafts back as new draft versions.Through the supplier's published API, plus your existing integration platform if you have oneThrough the supplier's published API, plus your existing integration platform if you have oneThrough the supplier's published API, plus your existing integration platform if you have one
Human reviewAuthors and approvers work where they already do. Electronic signatures stay in the validated system.In your existing document management system's review and approval workflowIn your existing document management system's review and approval workflowIn your existing document management system's review and approval workflow
GuardrailsBlocks drafts that contain statements with no source link, and flags claims beyond what the approved data supports.Bedrock GuardrailsFoundry guardrails (Azure AI Content Safety)Open-source guardrails (e.g. NeMo Guardrails, Llama Guard)
Identity, keys, data protectionThe assistant sees only the products and documents the requesting author is allowed to see.IAM Identity Center, KMS, MacieEntra ID, Key Vault, PurviewKeycloak or your existing Active Directory; OpenBao or HashiCorp Vault; an HSM
Monitoring and auditLog every prompt, source passage, draft, edit and approval, with model and document versions. This is your validation and inspection evidence.CloudWatch, CloudTrailAzure Monitor, Log AnalyticsPrometheus, Grafana, OpenTelemetry
UK data residencyIONOS AI Model Hub runs in German data centres: EU, not UK, residency. Unpublished dossier data is commercially sensitive, so many firms will want UK-only processing.eu-west-2 (London)UK South / UK WestYour own UK data centre, or a UK or EU provider

On a phone, the table shows the platform you pick. Sovereign / on-prem means open, portable components you can run in your own data centre or with a UK or European provider; IONOS is shown as one example, and others exist. What sovereign cloud means →

Hybrid and on-prem

Many organisations keep core systems and sensitive data on their own servers. This is how the same design works across both.

Stays on-prem

The validated document management system, the RIM system, the publishing tool and the source data systems stay where they are, whether that is your own servers or a validated hosted service. Nothing in this design moves them or re-validates them.

Uses cloud AI

Document reading, the source index, drafting and consistency checks run in a UK cloud region, or on your own GPUs with open-weight models if unpublished dossier data must not leave your estate.

How they connect

A private link (AWS Direct Connect or Azure ExpressRoute) and the API layer. The AI reads approved documents only, and writes drafts back as new draft versions through the supplier's API. It has no route to the publishing tool or the MHRA portal.

If the link drops

Authors write and review exactly as they did before. Nothing in the document management system changes, and queued drafting requests run when the link returns.

The agents

What each agent may do through its tools, what it may not, and where a person signs off. The limits are enforced by the platform, not the prompt.

Drafting assistant

May do

  • Search approved source documents and the current dossier
  • Draft a section from the approved template, with a source link for every statement
  • Insert numbers and tables pulled by code from approved sources
  • Draft a response to an MHRA question for the author, with references
  • Save drafts as new draft versions in the document management system

May not do

  • Use draft, unapproved or superseded sources
  • Write benefit–risk conclusions or commitments to the regulator
  • Approve, sign or change the status of a document
  • Compile, publish or submit an eCTD sequence
  • Contact the MHRA or any other regulator

Where a person signs offThe author checks every statement against its source and edits the draft. The regulatory lead approves, and QA reviews where the SOP requires, with electronic signatures in the validated document management system. The agent's permissions are enforced by the platform's identity and policy controls, not by instructions in a prompt.

Consistency checker

May do

  • Compare SmPC, leaflet and label text with the dossier and the company core data sheet
  • Compare Module 3 text with current specifications and stability data
  • List every document affected by an approved labelling or safety change
  • Raise findings to the document owner

May not do

  • Edit a document
  • Close a finding or decide that a difference doesn't matter
  • Decide whether a change needs a variation, or which type

Where a person signs offThe document owner decides on every finding and records why. Variation classification stays with regulatory affairs.

Middleware and integration

The document management system stays the record. The AI reaches it only through the supplier's published API and an API layer, never directly. It reads documents whose status is approved and effective, and writes drafts back as new draft versions with the AI's involvement recorded in the document history.

Events keep the index current. When a source document is approved, it is read and indexed. When it is superseded or withdrawn, it is removed straight away. Every event carries an ID, so a retry never indexes a document twice, and the index can be rebuilt from the document management system at any time.

Publishing stays separate. The AI produces content, not eCTD sequences. The publishing team compiles, validates and submits through the MHRA's portal exactly as now. If the AI is switched off, authors carry on with the same templates and the same process.

Process and people

  • An SOP for AI-assisted authoring: which document types may be drafted, which sections people always write, and how AI use is recorded.
  • A named owner for every template, prompt, source library and model, with change control like any other validated system.
  • Benefit–risk conclusions, clinical overview conclusions and commitments to the regulator are written by people. The AI may summarise; it doesn't conclude.
  • A QA sample review of drafts each month, checking statements against sources, including documents where authors made few edits.
  • Authors trained before go-live, including what the AI can't see: data that isn't in the approved library.
  • Periodic review of the validated state, so model, prompt and index changes are tracked like any other change.

Delivery plan

  1. 3–4 weeks

    Discovery

    Pick the first document type (CMC variations or SmPC updates are good starts), inventory its sources, write the intended use and risk assessment, and confirm API access to the document management system.

  2. Gate · must be true to passBaseline measured, intended use and risk assessment agreed by QA, DPIA started, supplier access confirmed.

  3. 10–12 weeks

    Pilot

    One document type in shadow mode: the AI drafts past and live documents, authors work as normal, and the two are compared. Validation testing runs alongside.

  4. Gate · must be true to passTraceability and accuracy within agreed limits, no unsupported statements in QA's sample, validation report approved.

  5. 4–6 weeks

    Production

    Validated release for the first document type, with monitoring, support and a rollback plan.

  6. Gate · must be true to passSOP effective, authors trained, monitoring and periodic review in place.

  7. Ongoing

    Scale

    Add document types one at a time: responses to questions, labelling updates, then Module 2 summaries.

  8. Gate · must be true to passEach new document type passes the same pilot and validation gate.

Roles and RACI

Who is responsible, accountable, consulted and informed, by activity
ActivityHead of regulatory affairsProduct ownerSolutions architectI can fill thisTechnical PMI can fill thisEngineersI can fill thisQA & validationDPOSecurityI can fill this
Business case and benefitsAccountableResponsibleConsultedConsultedInformedConsultedInformedInformed
Intended use and risk assessmentAccountableResponsibleConsultedInformedConsultedResponsibleConsultedConsulted
Target architecture and supplier integrationInformedConsultedAccountable and ResponsibleConsultedConsultedConsultedConsultedConsulted
Validation plan and reportConsultedConsultedConsultedResponsibleResponsibleAccountableInformedConsulted
Build and integrationInformedConsultedAccountableResponsibleResponsibleConsultedInformedConsulted
Accuracy testing on real documentsConsultedAccountableResponsibleConsultedResponsibleResponsibleInformedInformed
Go-live decisionAccountableResponsibleConsultedResponsibleInformedResponsibleConsultedConsulted
Run, monitor and improveInformedAccountableConsultedConsultedResponsibleConsultedConsultedConsulted

Business case and benefits

Head of regulatory affairs
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
I · Informed
QA & validation
C · Consulted
DPO
I · Informed
Security
I · Informed

Intended use and risk assessment

Head of regulatory affairs
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
I · Informed
Engineers
C · Consulted
QA & validation
R · Responsible
DPO
C · Consulted
Security
C · Consulted

Target architecture and supplier integration

Head of regulatory affairs
I · Informed
Product owner
C · Consulted
Solutions architect
A/R · Accountable and Responsible
Technical PM
C · Consulted
Engineers
C · Consulted
QA & validation
C · Consulted
DPO
C · Consulted
Security
C · Consulted

Validation plan and report

Head of regulatory affairs
C · Consulted
Product owner
C · Consulted
Solutions architect
C · Consulted
Technical PM
R · Responsible
Engineers
R · Responsible
QA & validation
A · Accountable
DPO
I · Informed
Security
C · Consulted

Build and integration

Head of regulatory affairs
I · Informed
Product owner
C · Consulted
Solutions architect
A · Accountable
Technical PM
R · Responsible
Engineers
R · Responsible
QA & validation
C · Consulted
DPO
I · Informed
Security
C · Consulted

Accuracy testing on real documents

Head of regulatory affairs
C · Consulted
Product owner
A · Accountable
Solutions architect
R · Responsible
Technical PM
C · Consulted
Engineers
R · Responsible
QA & validation
R · Responsible
DPO
I · Informed
Security
I · Informed

Go-live decision

Head of regulatory affairs
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
R · Responsible
Engineers
I · Informed
QA & validation
R · Responsible
DPO
C · Consulted
Security
C · Consulted

Run, monitor and improve

Head of regulatory affairs
I · Informed
Product owner
A · Accountable
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
R · Responsible
QA & validation
C · Consulted
DPO
C · Consulted
Security
C · Consulted

R ResponsibleA AccountableC ConsultedI Informed· not involved

Where I'd fit

Option A

Lead the architecture

If there's no architect on the programme, I'd own the design end to end: the source library and retrieval, the integration with your document management and RIM systems, the audit trail and the gates, working with your QA and validation team so the evidence is built as we go. I'd report to your programme board and your head of regulatory affairs.

Option B

Support your architect

If your partner or your own team already has an architect, I'd take on the retrieval, drafting and consistency checks and the document management integration under their lead, and give them a second senior opinion on security, data residency and the validation approach.

Where this goes wrong

  1. Goes wrong

    The demo used a clean, public dossier. Real sources are scanned legacy reports with complex tables.

    How the design avoids it

    Pilot on your own documents for one product, including the awkward ones.

  2. Goes wrong

    Drafts quote a superseded stability table or specification.

    How the design avoids it

    Index only approved, effective versions, and remove superseded ones on the event, not overnight.

  3. Goes wrong

    The model rounds or invents a number.

    How the design avoids it

    Numbers copied by code and checked against the source; the model never writes figures.

  4. Goes wrong

    The provider updates the model and the validated state quietly lapses.

    How the design avoids it

    Pin model versions, treat any change as a change, and re-run the fixed test set before it goes live.

  5. Goes wrong

    Authors approve drafts without checking, so checking moves from people to nobody.

    How the design avoids it

    Source links on every statement, an edit-rate measure, and QA's monthly sample review.

  6. Goes wrong

    QA and validation see it a month before go-live.

    How the design avoids it

    Intended use and risk assessment agreed with QA at the discovery gate.

On the horizon

Changes already announced or under way that affect this design. More in the UK horizon scan.

  1. By June 2027 (planned)
    ICH M4Q(R2), a revised structure for the CTD quality sections, is planned for adoption in June 2027. The consultation closed in March 2026 with over 2,500 comments.

    Keep templates and source maps configurable per section, so Module 2.3 and Module 3 can change without a rebuild.

  2. 2027
    The MHRA's Strategy 2030 (14 October 2026) promises an AI Medicines Development Action Plan in 2027, alongside routine use of AI in the MHRA's own assessment work.

    Record now where AI was used in each document and how it was checked, so you can answer whatever the plan asks.

  3. 2027 (expected)
    The EMA plans to make eCTD v4.0 mandatory for centralised procedure submissions, most reports say during 2027. The MHRA has not yet set a v4.0 date.

    Keep authored content separate from the publishing format, so the switch is a publishing change, not an authoring one.

  4. Late 2026 to 2027 (expected)
    A revised EU GMP Annex 11 and a new Annex 22 on AI, for firms supplying the EU or following PIC/S. The 2025 draft of Annex 22 keeps large language models out of critical GMP uses.

    Keep generative drafting away from GMP decisions, with a person approving every document.

  5. By 2030
    The MHRA aims for all product information to be available as structured digital content.

    Author SmPC and leaflet text as structured, reusable content now, so a labelling change flows to every format.

Questions to ask your partner or vendor

Good answers are specific. Vague answers to any of these are worth following up.

Copy them into your next supplier meeting

  1. Which sources can the AI draft from, and how is a superseded document removed?
  2. How are numbers put into drafts, and what stops the model writing one?
  3. What is the intended use, and what does validation cover when the model changes?
  4. What can the AI write back into our document management system, and with what status?
  5. Where is unpublished dossier data processed, and is it used to train anyone's model?
  6. What does it cost to run per document, at our volume?

Planning something like this?

Whether you need someone to lead the design or to support the architect you already have, let's talk it through.

Sam Naseem
Sam NaseemBirmingham, UK · UK & Europe
Available now