Skip to content
Build guide

How to build a clinical trial management system

The parts of a clinical trial system, from site setup and visits to eConsent and safety reporting, the GCP and Part 11 rules behind them, and an order to build it in.

Overview

What a clinical trial management system does

A clinical trial management system (CTMS) runs the operations of a trial: sites, staff, participants, visits, milestones, payments to sites and the documents that prove it was done right. Around it sit recruitment, eConsent and safety reporting.

Everything it holds may be inspected. Records must show who did what and when, signatures must meet the rules for electronic signatures, and the trial master file must be complete.

Modules

The modules you need

Most teams need all of these in the end. The phased plan below sets the order.

Study and site setup

Protocol, arms, visit schedule, sites, staff and their training records.

Recruitment and screening

Candidates screened against eligibility criteria, with reasons recorded for each decision.

eConsent

Consent with versioned documents, signatures and re-consent when the protocol or information changes.

Visits and milestones

Planned and actual visits, deviations and study milestones tracked per site.

Monitoring

Monitoring visits, findings and follow-up actions.

Safety reporting

Adverse events captured and routed with the regulator's reporting clocks shown.

Trial master file

Essential documents filed to a standard structure, with completeness checks.

Site payments

Payments to sites based on completed visits and milestones.

Architecture

How the parts fit together

  • 01

    Audit trail in the data model

    Every change to a regulated record keeps old value, new value, user, time and reason.

  • 02

    Electronic signatures

    Signing steps that re-authenticate, record the meaning and bind to the record version.

  • 03

    Protocol as configuration

    Visit schedules, eligibility and forms defined per study, so a new study is setup, not code.

  • 04

    Document management

    Versioned documents with review and approval workflows.

  • 05

    Validation pipeline

    Requirements, tests and evidence produced with every release.

Data model sketch

  • 01

    Study, arm and visit schedule

    The protocol structure and its versions.

  • 02

    Site and staff

    Sites, investigators, staff roles and training.

  • 03

    Participant

    Pseudonymised participant, consent history and status.

  • 04

    Visit and deviation

    Each visit done or missed, and each protocol deviation.

  • 05

    Adverse event

    Event details, seriousness, causality and reporting status.

  • 06

    Document

    Trial master file documents with version, status and signatures.

Integrations

Systems it has to talk to

  • 01

    Electronic data capture

    Visit and participant status shared with the EDC system.

  • 02

    Safety database

    Serious adverse events sent for case processing and regulator reporting.

  • 03

    Regulator and ethics portals

    Submissions and notifications where the portal allows it.

  • 04

    Identity and signatures

    Identity checks for staff and participants, and signature services where needed.

Compliance

Rules to design for

Which rules apply depends on your market and product.

  • 01

    Good clinical practice

    ICH GCP and national trial laws, such as the EU Clinical Trials Regulation, set how trials are run and recorded.

  • 02

    Electronic records and signatures

    21 CFR Part 11 for FDA-regulated trials and EU Annex 11 principles for computerised systems.

  • 03

    Safety reporting

    Regulators set deadlines for reporting serious and unexpected adverse events.

  • 04

    Participant data

    Trial data is health data under the GDPR and similar laws, and is pseudonymised.

Plan

From prototype to production

Build in this order so something real is in users' hands early.

  1. 01

    Clickable prototype

    Site, visit and document screens, tried by study coordinators and monitors.

  2. 02

    First study live

    Study setup, visits, deviations, audit trail and signatures, with validation evidence.

  3. 03

    Consent and safety

    eConsent and adverse event capture with reporting clocks.

  4. 04

    Scale

    More studies and sites, the trial master file, site payments and reporting.

Cost

What drives the cost

These decide most of the budget. For a number based on your own scope, use the cost tool. OceanLab bills $30-50/hr or per milestone.

  • 01

    Validation

    Validation evidence for each release is part of the build, not extra paperwork.

  • 02

    Countries and regulators

    Each country adds rules, languages and submissions.

  • 03

    eConsent

    Versioned consent, signatures and re-consent across languages.

  • 04

    Integrations

    EDC, safety database and portal integrations.

  • 05

    Number of studies

    How much study setup must be self-service.

Proof

Product builds that match this guide

Work with us

Two ways to work with OceanLab

Project build

We design and build the system as one project. It starts with a clickable prototype your team tries before any production code is written. Pay per milestone (outcome-based) or hourly at $30-50/hr, depending on role and seniority.

Embedded engineers

Our engineers join your team on a flexible monthly retainer. Part-time is fine and it runs month to month, with hours that overlap the US, UK and Europe, the Middle East, and Australia and Asia. Outcome-based or $30-50/hr.

FAQ

Questions

Can a CTMS be validated if you build it?

Yes. We produce validation evidence with each release, and your quality team validates the system for its intended use. The controls Part 11 and GCP need are built into the data model.

Do we need eConsent from the start?

Not always. Many sponsors start with paper consent tracked in the system, then add eConsent once the core operations are live.

Should safety reporting live in the CTMS?

Capture can, but case processing usually lives in a safety database. We connect the two so serious events move without retyping.

Related

Related guides

START YOUR CONVERSATION

Your Next Mission-Critical
System Starts Here

Speak with a senior engineer about your requirements. No sales process, just a direct technical conversation about what you need to build.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab