RTSM Software Problems: The 5 That Cost Real Money, and How to Avoid Them
The most expensive failure in randomisation and trial supply management is an assignment the physical inventory cannot satisfy. A subject is in the chair, eligibility is confirmed, the system allocates an arm, and the only kit on that site's shelf expires next week or belongs to a lot not released for that country. What it costs is not a shipment. It is the enrolment slot, a possible protocol deviation, an unblinded conversation that should never have happened, and a site coordinator who from then on phones the study team before using the system. On a trial where every enrolling week is funded, losing slots at your best recruiting sites is the failure that reaches the steering committee.
Why does the randomisation engine get scoped without the supply model?
Because randomisation is the part that sounds like software and supply sounds like logistics. A statistician can describe stratified permuted blocks in a meeting, a developer can implement an allocation sequence, and everybody leaves believing the hard part is done. Inventory then gets treated as a second phase, or worse as a spreadsheet the supply lead maintains alongside.
That split creates the exact failure the category exists to prevent. An assignment is only real if a specific kit, physically present at that site, in date, from a lot released for that market, can be dispensed against it. Split the two systems and the allocation happens first and the disappointment happens second, in front of a subject.
The model that works treats one transaction as atomic. Pick the arm honouring stratification, hold the blind so nobody in the room learns anything, select an actual kit from that site's shelf, verify its expiry or retest date and its country release status, decrement inventory, evaluate whether the dispense drops the site below its trigger, and if it does raise a shipment from a depot licensed to serve that country. All of it in a few seconds while a person waits. If any step fails, the coordinator sees the constraint before the assignment rather than after. Whether randomisation may proceed with dispensing deferred is a protocol question, and the system has to encode the protocol's answer rather than leave a coordinator improvising at the bedside.
What goes wrong when you migrate study configuration and kit inventory off a vendor system?
Sponsors moving off a vendor platform underestimate this consistently, because the data looks structured and is not.
Kit inventory is the first problem. What you hold is a position, and what you need is a history: which kits were where on which date, which were quarantined and released by whom, which were destroyed and against what accountability record. Vendors export current state readily and history reluctantly, and history is precisely what an inspector asks about, since the question is never what the stock is now but what it was when subject 214 was dispensed. Ask for the historical extract in writing before you commit to a migration date, and look at a real file rather than a data dictionary.
Study configuration is the second. It exists as a validated configuration document plus whatever the vendor's build team entered, and the two are not always identical. Reconstructing intent from a configuration export is guesswork, so plan on rebuilding configuration from the protocol and the statistical analysis plan, with the old system's behaviour used to check yourself rather than as the source. Third, allocation data. It should already sit with your unblinded statistical function rather than only inside the vendor system, and if it does not, that is a finding worth acting on independently of any build.
The practical sequence is to migrate no live study. Stand the new system up, run one new protocol on it end to end, and let existing studies finish where they are. Mid study migration of a randomisation system is a risk with almost no upside.
Why do the depot, EDC and safety system integrations break after launch?
Three integrations matter and each fails in its own way.
Depots and third party logistics providers are the noisiest. Every provider has its own file format, its own cadence and its own definition of a shipment status, and files arrive late, arrive twice, or carry a status your model does not have. Build for idempotent ingestion so a resent file cannot double count stock, hold a reconciliation queue for records that do not match, and alert when a feed has not arrived rather than reading silence as nothing shipped.
Electronic data capture is the second, and the failure is subtler. Visit dates and subject status drive resupply forecasting, so a mapping that drifts after a mid study amendment quietly degrades your projections without producing an error anywhere. Reconcile subject counts between systems on a schedule and treat a mismatch as an incident.
The safety system is the third. Emergency unblinding must notify the right people and record the event without leaking treatment information to blinded roles through a notification body, an email subject line or a case narrative field. Review every automated message for what it contains, not only where it goes.
What happens when validation and emergency unblinding are treated as features?
This is regulated computerised system territory. 21 CFR Part 11 and EU Annex 11 apply, with GAMP 5 as the practical framework: a validation plan, requirements traced to executed test scripts, installation, operational and performance qualification, documented change control and periodic review. Because the system carries patient safety consequences, qualification effort in our delivery experience lands at the higher end, roughly twenty to thirty percent on top of engineering, plus user acceptance testing for each protocol before it goes live. A quote that omits that line is not cheaper, it is incomplete, and you will find out in the week your quality group first reads it.
Emergency unblinding is where the same carelessness shows up operationally. An investigator needs the treatment assignment to manage a serious adverse event, at three in the morning, on a poor connection, possibly while your primary authentication service is unavailable. This has to work without a support ticket and without a phone tree, and it must record who broke the blind, when, for which subject and on what stated reason.
Design it as the least clever thing in the build. Independent of the main authorisation flow where practical, with a documented fallback procedure issued to sites before first patient in, and rehearsed rather than demonstrated. Anyone who shows you an elegant system and has not rehearsed the code break has shown you the easy half. Test leakage deliberately as well, through exports, error messages, log files and database backups, because those are the paths that get missed when everyone is looking at the screen.
Should you build custom or configure what you already own?
Licence if you are running one pivotal study, if time to first patient in is your binding constraint, or if you have no unblinded statistical function and no quality group willing to own validation of a safety critical system. Suvoda, Endpoint Clinical, 4G Clinical and Signant Health exist because that situation is common and legitimate, and they will get you live faster than any build. Almac IXRS is a sensible choice when you already use Almac for depot and packaging services, though that coupling is exactly what some sponsors are trying to reduce.
The honest test is not feature comparison. It is whether your supply strategy has become a repeatable asset that you keep paying to rebuild. If every protocol you run genuinely differs from the last, configuration fees are the correct price for genuinely bespoke work and you should keep paying them.
Build when two or more of these hold. Per study configuration fees have become a visible budget line. Your protocols share a design family, so the same resupply parameters keep reappearing under different study numbers. Vendor change order lead times have delayed an amendment more than once. You operate your own depot network whose data you want joined to the assignment layer. Or you run platform trials or master protocols where cohorts open and close continuously, which is a pace the per study configuration model was never designed for.
How do hidden costs get into the quote?
Validation is the first, and it is the line most often left out. Ask explicitly which deliverables the developer writes, which your quality group writes, and who executes qualification. Ask whether per protocol acceptance testing is included or billed later, because it recurs for the life of the system.
Second, the number of randomisation design families. Each additional scheme is real engineering and real test scripts, and a sponsor needing minimisation as well as permuted blocks has roughly doubled a significant part of the work. Third, depot integrations, since each provider is its own project and the count is rarely known at quoting time. Fourth, interactive voice access if any sites still require it. Fifth, validated multi language site interfaces, where translation is the small part and revalidating each language is the larger one.
Sixth, the depth of the supply simulation. Monte Carlo modelling over enrolment scenarios, dropout, titration behaviour and shipping lead times is genuinely valuable and it is a distinct piece of work. If you want it to drive manufacturing decisions rather than reassure a committee, scope it deliberately and pay for it. It is also the honest home of the advanced mathematics in this category. Anyone marketing artificial intelligence randomisation is offering a risk you will not be able to explain to a regulator.
What separates a build that works from one that fails here?
The programmes that succeed implement one design family properly and run two live studies on it before widening scope. That is slower than it sounds and it is the only sequence that produces a system your quality group will keep signing. The ones that fail try to parameterise every protocol shape the sponsor has ever run, and spend eighteen months in specification while studies continue on vendor platforms.
Second, architecture has to assume there is no maintenance window. Sites across time zones enrol continuously, so configuration changes are versioned and applied by effective date, deployments are zero downtime, and any change altering allocation behaviour is reviewed and signed before it takes effect. This is where owning the system genuinely beats a vendor relationship, because the constraint on a change order is usually release queue position rather than engineering hours.
Third, blind protection has to be architectural. Separation enforced at the query layer, row level access logging, allocation data sealed by an unblinded statistician outside the operational team, and a deliberate answer to what an unhandled exception is allowed to print. Hiding a column in the interface is not a design.
Finally, settle ownership before kickoff: the repository, the infrastructure accounts and the full validation package. At Digital Heroes the client owns all of it from the first commit. The qualification evidence matters as much as the code here, because it is what lets a future partner take over without starting the whole exercise again.
The evidence behind this guide
Independent findings on why this investment pays off. Every link goes to the primary source.
- Poor software quality cost the US economy an estimated $2.41 trillion in 2022, including roughly $1.52 trillion in accumulated technical debt, driven partly by unsuccessful development projects and low-quality legacy systems. Source: Consortium for Information & Software Quality (CISQ) - Herb Krasner (2022) →
- Global retail loses an estimated $1.73 trillion annually to inventory distortion (out-of-stocks and overstocks), equal to about 6.5% of global retail sales, despite $172 billion spent on improvements in the past year. Source: IHL Group (2025) →
- The performance gap between digital and AI leaders and laggards is widening: McKinsey reports leaders pull ahead on shareholder returns, and the average maturity spread between top and bottom performers jumped ~60% (from 10 points in 2016-19 to 16 points in 2020-22), reinforcing that the returns to transformation concentrate among top performers. Source: McKinsey & Company (2023) →
- Large companies globally have captured, on average, only 31% of the expected revenue lift and 25% of the expected cost savings from their digital and AI transformations - a significant gap between expected and realized value. Source: McKinsey & Company (2023) →
Anushka leads Android development at Digital Heroes, where the work spans a wide range of devices, OS versions and manufacturer quirks. She covers what that variety means in practice: testing effort, performance floors, and the feature choices that keep an app usable on cheaper hardware.
View profile · Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.
Frequently asked questions
What should the system do when the only kit on the shelf expires next week?
Surface the constraint before the assignment, not after. A properly built system will not allocate against inventory it cannot satisfy, so the coordinator sees the position while the subject is still being consented. Whether randomisation may proceed with dispensing deferred is a protocol decision, and the system should encode the protocol's answer rather than leave it to the site. In parallel it should raise an expedited shipment from a depot licensed for that country with product released for that market.
Can we migrate a study that is already enrolling onto a new system?
You can, and in almost every case you should not. Mid study migration of a randomisation and supply system carries meaningful risk with very little upside, since the existing studies will finish anyway. The pattern that works is to stand the new system up, run one new protocol on it end to end, and let live studies complete where they are. If a migration is unavoidable, insist on the historical inventory extract in writing first and look at a real file.
Which data do vendors actually give back when we leave?
Current state readily and history reluctantly, which is the wrong way round for this domain. What matters at inspection is not the stock position today but where every kit was on the date a given subject was dispensed, who quarantined it and who released it. Ask for a sample historical extract before you agree a migration date, and check whether quarantine, release and destruction events survive the export rather than trusting a data dictionary.
How do you keep the blind from leaking through logs and exports?
Enforce separation at the query layer rather than by hiding fields in the interface, log access at row level, and keep allocation data sealed by an unblinded statistician outside the operational team. Then test the paths people forget: what an unhandled exception prints, what a report export contains for an unblinded role, what a database backup exposes, and what an automated notification puts in a subject line. Those are where real leaks happen.
Does emergency unblinding have to work if the main system is unavailable?
Yes, and it should be the simplest component in the build. Independent of the main authorisation flow where practical, immediately available to the investigator without a support ticket, and recording who broke the blind, when, for which subject and on what stated reason. Issue a documented fallback procedure to sites before first patient in and rehearse it. A code break at three in the morning on a poor connection is the scenario that decides whether the design was serious.
How much validation effort should we budget for?
In our delivery experience qualification lands at roughly twenty to thirty percent on top of engineering for a system with patient safety exposure, plus user acceptance testing for each protocol before it goes live. That covers a validation plan, requirements traced to executed test scripts, installation, operational and performance qualification, change control and periodic review under GAMP 5. Ask any quote to itemise who writes each deliverable and who executes qualification.
Can the system be changed mid study without downtime?
It has to be, because sites in several time zones enrol continuously and there is no safe window. That means configuration changes are versioned and applied by effective date, deployments are zero downtime, and any change altering allocation behaviour is reviewed and signed before it takes effect. This is the clearest practical advantage of owning the system, since the constraint on a vendor change order is normally release queue position rather than engineering effort.
Where does advanced modelling genuinely help in trial supply?
In simulation rather than machine learning. Monte Carlo runs across enrolment scenarios, dropout, titration behaviour and shipping lead times tell you how much overage you actually need and where to hold it, which is a solved statistical problem worth building properly. A model has a narrow legitimate role in drafting a study configuration from protocol text for a human to correct and in flagging site dispensing patterns that do not fit the protocol. Randomisation itself should stay deterministic and explainable.
How much does custom supply chain software cost for a small business?
What questions should I ask a development agency on the first call?
What tech stack is best for custom supply chain software?
When is SAP actually a better choice than building custom supply chain software?
What are the biggest mistakes first-time software buyers make?
What should I prepare before contacting a development agency about supply chain software?
Who owns the code when an agency builds my software?
What does it cost to maintain custom supply chain software each year?
Who can build a custom supply chain software system?
Digital Heroes builds custom supply chain 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 supply chain 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.