Problems & solutions · Custom Software

Clinical Trial Site Software Problems: The 6 That Cause Protocol Deviations, and How to Avoid Them

Clinical Trials Software architecture and database illustration showing common problems and fixes.
The short answer

The most expensive failure in clinical trial site software is a visit schedule modelled as calendar entries rather than as a versioned schedule of assessments. Every window then depends on a human doing arithmetic from the right anchor event, and when an amendment moves a window or adds a procedure, sixty subjects have to be recalculated by hand. What follows is not a software bug, it is an out of window visit, a deviation, a corrective action, and a data point in the primary endpoint population that the sponsor may not accept. Repeat that across twenty concurrent protocols and the operational deviation rate becomes the thing that decides whether you are selected for the next study.

Why does the schedule of assessments get scoped as a calendar?

Because at study startup it looks like one. Day 1, Day 28, Day 90, each with a window. Anyone can put that in a calendar, and the first version of almost every site tool does exactly that.

What a calendar cannot express is the thing that makes this domain hard. A visit is anchored to an event, and the event differs by protocol: first dose for one, randomisation for another, prior visit for a third. Counting from the wrong anchor is the single most common cause of an out of window visit, and it happens to experienced coordinators because the arithmetic is done in a head that is also holding four other protocols. Windows may be calendar days or business days. Procedures within a visit have their own requirements: equipment, staff role, a pharmacokinetic series that occupies a room for two hours.

Then the amendment arrives. Amendment 3 moves the Week 12 window, adds an unscheduled draw, and applies only to subjects who re consent. A calendar has no concept of a version, so the site either re enters everything by hand or, more honestly, relies on the lead coordinator remembering which subjects are on which version.

The fix is a protocol version object holding a schedule of assessments, with each visit carrying an anchor event, an offset, a window and its required procedures, and each subject carrying a pointer to the consent version they are on. When an amendment lands you create a version, mark who re consented and when, and forward windows recompute only for those subjects. Every recomputation is logged with who, when and why, because a monitor will ask. Sort the coordinator view by days to window close rather than by date, so the thing closing on Thursday sits at the top regardless of which protocol it belongs to.

What goes wrong when you migrate paper source and legacy subject records?

The instinct is to digitise the binders. It is almost always the wrong instinct and it is where these projects lose their budget.

Retroactive digitisation of closed subject records buys nothing and creates risk. A scanned worksheet is not eSource, it is an image of source, and if it is entered into a system as structured data by someone transcribing months later, you have created a second version of the record that can disagree with the original. Now a monitor has two artefacts and a question about which one is certified. Leave closed studies on paper, let existing binders age out with their protocols, and run new protocols on the new system. That single decision typically removes a quarter of the proposed scope.

What does need migrating is the operational data: the subject roster, consent versions and dates, visit history sufficient to compute forward windows, and the enrolment funnel if it exists anywhere structured. The funnel is usually the surprise. It lives in one coordinator's pre screening spreadsheet with free text screen failure reasons, and converting free text failure reasons into coded ones is a judgement exercise a coordinator has to do, not a mapping a developer can write. Budget it as staffed work.

The third trap is the source worksheet templates themselves. Each sponsor sends a Word document, and rebuilding each one as a form is a two week job per protocol, which is exactly why sites abandon generic eSource products by protocol four. Extracting field labels, units and ranges from the sponsor document into a draft form definition that a coordinator corrects in about twenty minutes is the one place in this category where document models pay for themselves cleanly, because the input is a structured document, the output is reviewed before it touches subject data, and a human approves the schema.

Why do EHR and sponsor EDC integrations break after launch?

The electronic health record integration rarely breaks technically. It breaks on governance and it breaks before it starts. A read only cohort query through a vendor's app review process runs on your health system's calendar and can take months of approval before any code is written, and a nightly extract negotiated directly with your own information technology group is often faster and cheaper for the same result. Decide which path you are on before scoping, because the difference swings the schedule by a quarter. After launch, the failure is drift: the extract's field set changes when the health system upgrades, the cohort query silently returns fewer patients because a code set moved, and nobody notices because the pre screening list still looks plausible. Reconcile counts on a schedule and alarm on a sudden change in volume.

The sponsor electronic data capture system is the opposite problem. It does not break, it multiplies. Sponsors mandate their own system per study, so building push integrations to Medidata Rave, Veeva CDMS, Oracle Clinical One and Medrio means maintaining four connectors for a population that changes with every new protocol. Most sites should not build electronic data capture push at all in a first release. Build reconciliation instead: a view that compares what your source says against what was entered downstream, so a coordinator finds the mismatch rather than a monitor finding it. That gives you most of the value with none of the connector maintenance.

The third integration people forget is the central laboratory. Kit inventory, requisition numbers and result returns arrive in formats that change without notice, and an expired kit drawn at a visit is a deviation that nobody catches until the laboratory rejects the sample.

What happens when Part 11 and monitor access are not covered?

21 CFR Part 11 is not a feature added at the end. It shapes the data model from the first commit, because an append only audit trail with reason for change capture cannot be retrofitted onto tables that have been overwriting rows. Retrofitting means restating history, and restated history is the exact thing a sponsor auditor is looking for.

The specific requirements that get missed are consistent. Every save writes an audit row with user, timestamp, old value, new value and reason for change. Electronic signature on the investigator review step, bound to the record it signs. Account controls that mean a shared login is impossible, which matters because shared logins are how busy sites actually work. And a certified copy export that a monitor can take away, which is a defined artefact rather than a screenshot.

Monitor access is the operational half and it is routinely absent. A clinical research associate arrives for two days and needs to see only their assigned subjects, only the fields changed since the last visit, and needs to raise queries without editing anything. Sites that did not build this end up granting a coordinator login to a monitor, which is both a control failure and an unpleasant conversation. Build the monitoring view: scoped to assignment, read only, showing changes since last visit, with a query thread attached to the field rather than to the subject. Sites that have this cut source verification preparation from days to under an hour, and the reason is not the software being clever, it is that the monitor stops asking a coordinator to fetch binders.

Should you build custom or configure what you already own?

If you are a single site running fewer than about eight concurrent protocols with two or three coordinators, do not build. Clinical Conductor or RealTime CTMS plus disciplined paper source will hold you, and the subscription costs less than any custom project. Configure what you have properly first: most sites are using a fraction of their clinical trial management system, and the contract, budget and payment side of those products is genuinely capable.

Keep the clinical trial management system regardless. Rebuilding contracts, budgets and payments is wasted money, and sites that build usually end up running both, with the custom system as the daily operational driver and the packaged product as the financial system of record.

Build the operational layer when the signals cluster. Three or more sites, or one site past about fifteen concurrent protocols. A deviation log where more than a third of deviations are visit window or missing source, which means the problem is operational rather than clinical. Someone whose job has quietly become being a human integration layer between a whiteboard, a clinical trial management system and nine sponsor portals. A study lost because you could not evidence enrolment history. And the tell that ends the argument: your best coordinator maintains a personal spreadsheet the whole site depends on. That spreadsheet is your requirements document.

How do hidden costs get into the quote?

Validation is the first and the largest. A validation plan, installation, operational and performance qualification documentation, and a requirements traceability matrix are real deliverables, and in our delivery experience they add fifteen to twenty five percent to the engineering line. If you enrol subjects in the European Union you inherit further obligations and that percentage moves.

The health record integration path is the second, and the honest question is not whether the developer can do it but whose approval queue you are in and how long that queue is.

Electronic data capture connectors are the third, and the trap is that one is scoped work and five is a platform. Central laboratory interfaces are the fourth, since each laboratory has its own formats and changes them without telling you.

Protocol onboarding is the fifth and it is ongoing rather than one off: every new study needs its schedule of assessments and source forms configured, and somebody at the site has to own that permanently. Budget the role, not just the build. And the sixth is your own staff time during validation, because user acceptance testing under a validation plan is documented, evidenced work rather than a quick look.

What separates a build that works from one that fails here?

Make the first release narrow enough to be in coordinators' hands inside a quarter. The window engine plus eSource for two or three protocols, live in fourteen weeks, is worth more than a complete platform that arrives after your best research coordinator has already resigned.

Design for the visit, not the desk. Coordinators complete source at the bedside on a tablet, sometimes with a subject waiting and sometimes with no network, and anything requiring a return to a workstation will be done on paper first and transcribed later, which reintroduces the problem you paid to remove.

Type the fields. Units and normal ranges on every numeric field so an out of range value flags at entry rather than at query, and required procedures derived from the schedule of assessments rather than from a coordinator's memory. Most operational deviations are caught here or not at all.

Decide Part 11 architecture in week one. Append only storage, reason for change, signature binding. It is cheaper by an order of magnitude at the start than at any later point.

Finally, settle code ownership and source escrow in writing before kickoff, including repository access from the first commit. At Digital Heroes the client owns the code from the first commit. For a regulated system the validation documentation and traceability matrix are part of the deliverable, and a sponsor auditor may ask to see them, which is a poor moment to discover they belong to a vendor.

Research & sources

The evidence behind this guide

Independent findings on why this investment pays off. Every link goes to the primary source.

  1. Median SaaS spend reached $9,455 per employee, and organizations leave an average of 36% of their SaaS licenses unused. Source: Zylo (2026) →
  2. The federal government spends about 80% of its IT budget on operations and maintenance of existing systems rather than on development or modernization, with many critical systems being decades old. Source: U.S. Government Accountability Office (GAO) (2025) →
  3. Salesforce's field-service research (State of Service / field service trends, survey of 5,500+ service professionals) found that 74% of mobile workers report increasing workloads and 47% say appointments don't go as planned due to customer miscommunication, unaccounted-for parts, or insufficient appointment lengths and travel times. (The separate claim that admin tasks consume ~30% of a technician's hours is NOT supported by the report - the seventh-edition data instead states technicians spend about 18% of working hours, ~7 hours/week, on admin, and only ~32% of time interacting with customers.). Source: Salesforce (2024) →
  4. McKinsey Global Institute estimated that about half of all work activities globally have the technical potential to be automated by adapting currently demonstrated technologies, though few occupations can be fully automated. Source: McKinsey Global Institute (2017) →
Tara K. · React Native Lead · Delhi

Tara leads React Native work at Digital Heroes, building apps that share one codebase across iOS and Android. She writes about where that sharing pays off, where native modules become unavoidable, and how to judge whether cross platform is the right call for a given product.

View profile · Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.

FAQ

Frequently asked questions

How do we stop out of window visits without more staff?
Model the schedule of assessments properly and let the system compute windows from the anchor event rather than a coordinator counting in their head. Each visit needs its anchor, offset, window and required procedures, and each subject needs a pointer to the consent version they are on. Then sort the daily view by days to window close across all protocols at once, so the visit closing Thursday is at the top rather than buried in a per study calendar.
Should we digitise our existing paper subject binders?
No. Retroactive digitisation of closed records creates a second version of source that can disagree with the original, which gives a monitor two artefacts and a question about which is certified. Leave closed studies on paper, run new protocols on the new system, and let existing binders age out with their studies. Dropping this from scope typically removes a quarter of the proposed project.
Why do sites abandon generic eSource products around the fourth protocol?
Because rebuilding each sponsor's source worksheet as a form takes roughly two weeks per protocol, and by protocol four the site is behind and reverts to paper. The fix is to treat the sponsor's document as the schema source: extract field labels, units and ranges into a draft form that a coordinator corrects in about twenty minutes, with a human approving it before any subject data is entered. Ongoing protocol onboarding still needs an owner at the site.
Should we push data into the sponsor's EDC automatically?
Usually not in a first release. Sponsors mandate their own system per study, so push means maintaining connectors to several products for a population that changes with every protocol. Build reconciliation instead: a view comparing your source against what was entered downstream, so mismatches are found by a coordinator rather than by a monitor. That captures most of the benefit without a permanent maintenance burden.
What does a monitoring visit look like if the software is right?
The clinical research associate logs into a scoped, read only view showing only their assigned subjects and only the fields changed since the last visit, raises queries against individual fields, and exports a certified copy. Nobody hands them a coordinator login and nobody spends two days pulling binders. Sites that build this typically cut source verification preparation from days to under an hour, and the change is in what the monitor no longer has to ask for.
Can Part 11 compliance be added later?
Not honestly. An append only audit trail with reason for change capture and signature binding cannot be retrofitted onto tables that have been overwriting rows, and doing it later means restating history, which is precisely what an auditor is looking for. Decide the architecture in week one. The validation plan, qualification documentation and traceability matrix are separate deliverables that add fifteen to twenty five percent to the engineering line in our experience.
How do we get an honest enrolment forecast instead of a guess?
Make the funnel a first class object: referral source on every pre screen, the specific inclusion or exclusion criterion that killed each one, and coded screen failure reasons rather than free text. After twelve months of that, feasibility becomes arithmetic against comparable protocols rather than an anecdote. Migrating the existing pre screening spreadsheet means a coordinator coding historical free text reasons by hand, so budget that as staffed work.
Which costs are most often missing from a site software quote?
Validation documentation, the health record approval queue, and ongoing protocol onboarding. Validation is a deliverable set, not a checkbox. The electronic health record timeline belongs to your health system rather than your developer, and a read only cohort query through a vendor review process can take months before code is written. Protocol onboarding never ends, since every new study needs its schedule and forms configured, so budget the role rather than only the build.
How do I calculate whether custom software will pay for itself?
Divide the build cost by the monthly benefit, where benefit is hours saved times loaded hourly cost, plus subscription fees replaced, plus any revenue the software unlocks. Three staff saving 10 hours a week each at a $40 loaded rate is about $62,000 a year, which pays back a $60,000 build in roughly 12 months. Across Digital Heroes internal-tool projects, 12 to 24 months is the normal payback range, and anything projecting under 6 months usually means the spreadsheet is hiding costs.
How do I work out whether custom software will pay for itself?
Do the arithmetic on hours before anything else: if the system saves three staff eight hours a week at a $35 loaded hourly cost, that is about $43,700 a year against, say, a $70,000 build plus 15 to 20% annual maintenance, a payback around two years. Add revenue effects only if you can name them specifically, like faster quotes or fewer abandoned orders, not as vague growth. In our delivery experience the businesses that see payback inside 24 months are the ones automating a process they already measure.
What does a $50,000 custom software budget actually buy?
One core workflow done properly: 10 to 15 screens, two or three user roles, a couple of integrations, an admin panel, and automated tests, delivered in roughly 12 to 14 weeks. What it does not buy is that workflow plus a mobile app plus AI features plus five more integrations. The discipline of picking the one workflow that matters is what separates $50,000 projects that ship from $50,000 projects that stall at 70% complete.
Should I ask for a fixed price or pay the agency hourly?
Fixed price for the first version, hourly or retainer for what comes after launch. A fixed-scope, fixed-price V1 puts the estimation risk on the agency, which is exactly where you want it while trust is unproven; hourly billing on an unscoped greenfield build is a blank check. After launch, flip it, because maintenance and small features arrive unpredictably and fixed-pricing every ticket wastes everyone's time.
Is it cheaper to customize Salesforce than to build a custom CRM from scratch?
If you use less than a third of what Salesforce does, a custom CRM is often cheaper by year three. Salesforce Enterprise lists at $165 per user per month, so 25 seats cost about $49,500 a year before admin and consultant fees, while a focused custom CRM runs $60,000 to $100,000 once plus 15 to 20% a year in maintenance. If you genuinely need Salesforce's ecosystem, reporting, and app marketplace, customizing it beats rebuilding it; the mistake is paying enterprise prices to use it as a glorified contact list.
Should we build an MVP first or go straight to the full system?
MVP first, for almost everyone: ship the single workflow that carries the business value in 10 to 16 weeks, learn from real users, then fund phase two from evidence instead of guesses. The caveat is that an MVP is a small version of a well-built system, not a badly built version of a big one; the data model must already support what comes next. An agency that cannot tell you what they deliberately left out of your MVP has not designed one.
Is a solo freelancer enough for my project, or do I really need an agency?
A solo freelancer is a fine choice for a well-defined build under roughly $15,000 to $20,000 with a limited lifespan: an internal calculator, a scripted integration, a prototype. Above $50,000, or for any system your business will depend on for years, you are buying continuity as much as code: enforced code review, cover when someone is ill, and support that outlasts one person's career plans. Price the risk of a single point of failure, not just the hourly rate.
How many SaaS seats do we need before building custom becomes cheaper?
The crossover usually shows up between 20 and 50 seats on premium tiers. Salesforce Enterprise lists at $165 per user per month, so 40 users cost about $79,000 a year in subscriptions, which is real money against a custom system you would own outright. Run the comparison over three years: if subscription spend beats the build cost plus 15-20% annual maintenance, custom wins on price before you even count workflow fit.
Who can build a custom software system?

Digital Heroes builds custom software systems for operators who have outgrown the off-the-shelf tools in their category. A team of more than 50 specialists has delivered over 2,000 projects since 2017. Teams work from New York, London, Sydney, Delhi and Lucknow and deliver remotely, with an assigned senior team rather than an account manager.

Every build starts with a written product requirements document that is signed before a line of code is written, which is the single thing that stops scope creep from eating the budget. Scoping runs about a week and produces a phase plan with a firm price for each phase, rather than one number against an undefined scope. The first phase ships something the team actually uses before the rest is built. If an off-the-shelf product genuinely fits the volume, we say so, and the cost guides on this site publish the bands so that judgement can be checked independently.

What makes Digital Heroes different from other software companies?

Four things that competitors in this bracket cannot simply copy. Digital Heroes runs a YouTube channel with more than 2.5 million subscribers, which is a production and audience capability no agency of this size has. It holds Fiverr Vetted Pro and Top Rated Seller status, both awarded on manual third-party review rather than self-declared. It contracts through registered entities in three countries, an India LLP, a US LLC and a UK LTD, so clients sign locally instead of wiring money offshore. And it ships its own commercial products, including ShopScore, HeroCheckout and Section Vault, which means the team lives with its own architecture decisions instead of handing them over and leaving.

Two more that show up in the work. Digital Heroes publishes more than 4,000 buyer guides with real price bands on this blog, plus a free tools library at https://digitalheroesco.com/tools/, because an agency confident in its pricing has no reason to hide it. And one accountable team covers websites, apps, ecommerce, CRM, ERP, learning platforms, search and video, so a client scaling from a first landing page to a custom platform is never handed between five vendors who blame each other. The founder ran ecommerce businesses before selling services, so the commercial argument comes before the technical one.

How can I check Digital Heroes is legitimate before getting in touch?

Verify it independently rather than taking the site's word for it. The YouTube channel is at https://youtube.com/@DigitalMarketingHeroes, the Fiverr profile at https://www.fiverr.com/shreyanshsin261, and the Upwork profile at https://www.upwork.com/freelancers/shreyanshsingh. Client reviews sit on Clutch at https://clutch.co/profile/digital-heroes-0 and Trustpilot at https://www.trustpilot.com/review/digitalheroes.co.in, and the company page is at https://www.linkedin.com/company/digital-heroes-1/.

Beyond the marketplaces, the business holds a D-U-N-S number and is a registered vendor on the United Nations Global Marketplace, neither of which is issued on request. Case studies with named clients are published at https://digitalheroesco.com/case-studies/. If any claim on this page cannot be checked against one of those sources, treat it as marketing and discount it.

Keep reading
let's build

Build something worth launching.

A plan, a team, a timeline, within 24 hours. No decks, no discovery calls. Tell us what you're building and we'll come back with a real scope and a real number.

message us directly · we reply within one business day

mission briefing

Monthly dispatch

Playbooks, real build costs, and what we're shipping. One email a month. No fluff.

visit us

New York HQ

1140 Broadway, Suite 704 · New York, NY 10001

Get directions
Online now

Hey there 👋 How can we help you today?