EDC Database Build and UAT: How a Study Database Is Built and Tested
New to TriTiCon? Try a free sample of the teaching ↗

An EDC database is built from the approved CRF and edit check specifications. The build team configures the forms, visit structure, edit checks, user roles and transfers, and tests each element against the specification. Data management runs user acceptance testing (UAT) against the protocol, and no production data is collected until UAT is documented and the build is signed off.
The build is the last stage of set-up in the clinical data management process. It turns the specifications and the Data Management Plan into the system that sites will use for the rest of the trial. This guide follows the work in order, from the specification package to go-live and the changes that come after it.
What is an EDC database build?
An EDC database build is the configuration of the electronic data capture system for one study: the eCRF forms and visit schedule, fields and response lists, edit checks and dynamic behaviour, derivations, user roles, reports and the transfers to and from other systems. ICH E6(R3) expects both the standard system functionality and these protocol-specific configurations to be validated.
The EDC platform itself is validated by its vendor and qualified by the sponsor. The study build is the layer on top, and it is specified and tested for each trial. It follows a set of specifications rather than one document: eCRF screen specifications, the edit check or data validation plan, data transfer specifications, user role definitions and report specifications, approved before build and testing begin. Our guide to EDC validation requirements describes this package and the difference between vendor qualification and study validation.
Who does what in the build
The GCDMP chapter on EDC study implementation and start-up, published by the Society for Clinical Data Management, states that "the clinical data manager is usually responsible for the overall implementation of any study application". Around the data manager, the work divides like this:
- Database programmer or EDC builder: configures the forms, edit checks, roles and transfers, and runs the unit testing.
- Statistician: confirms that the data structure supports the planned analysis.
- Medical monitor: reviews the logic around safety data and eligibility.
- Clinical operations and site representatives: judge whether the forms work in the order and at the pace of a real site visit.
- Sponsor: approves the build. The GCDMP chapter says the sponsor "should retain signatory approval of the EDC build", and under ICH E6(R3) the sponsor stays responsible for validation when a CRO or vendor does the work.
Our guide to clinical data management roles and responsibilities describes these roles across the whole trial.
The build, step by step
- Approve the specifications. The CRF specification, edit check specification, transfer specifications and role definitions are signed off, so that every later test has something to trace back to.
- Build the forms and the visit structure. Each form, field and response list is configured, and forms are placed in the visit schedule, reusing library forms where they exist.
- Program the edit checks with the forms. The GCDMP chapter recommends that edit checks are "developed concurrently and iteratively as part of the eCRF", and that they are available when the system moves to production. Our guide to data validation in clinical data management covers how checks are specified.
- Configure roles, reports and transfers. Each role gets exactly the access it needs, and each import or export follows its transfer specification.
- Unit test. The developer confirms that each element matches its specification.
- Run UAT. Data management tests realistic scenarios against the protocol, with input from clinical, medical, statistical and site representatives.
- Fix, retest and release. Defects are corrected and retested, the sponsor signs off the build, users are trained and given access, and sites are activated.
Unit testing and UAT are two different tests
Unit testing checks that the build matches the specification. UAT checks that the build matches the protocol and works at a real site. The developer runs unit testing on every field, check and setting, while data management runs UAT on realistic patient scenarios and does not need to cover every element of the configuration.
Keeping the two apart closes gaps that each one leaves alone. If UAT is expected to find configuration errors, the element-by-element check never happens, and if UAT repeats the developer's checks, nobody tests the protocol scenarios. The documentation around both, including the traceability matrix and the validation summary report, is covered in our guide to EDC validation requirements.
How to run UAT
UAT is a gate, not a formality. The GCDMP chapter states that "studies should not collect production data until User Acceptance Testing (UAT) has been performed and documented", and that the extent of UAT "can and should be risk-based". ICH E6(R3) shows where the risk sits: requirements, specifications and testing matter "especially for critical functionality, such as randomisation, dosing and dose titrations and reductions".
- Build test cases around participants. Start from people, not from the list of forms: one who completes every visit, one who fails screening, one with a serious adverse event, one who withdraws early and one with a visit outside its window.
- Test every edit check from both sides. The GCDMP chapter recommends a test case at the boundary that makes the rule fire, and one that should not. A check that flags systolic blood pressure above 180 mmHg needs 181, which must fire, and 180, which must not.
- Test what should appear and what should stay hidden. Dynamic forms fail in both directions: a pregnancy form that never opens, or one that opens for every participant.
- Follow the data out of the system. Check that entered values reach the export and any downstream system in the structure and format the transfer specification describes.
- Record and retest. Each test records the expected result, the actual result, pass or fail and the tester. Every defect is tracked to resolution and retested, together with anything the fix could affect.
Test the integrations and data transfers
Few trials run on EDC alone. Central laboratory results, randomisation and drug supply in the IRT, eCOA diaries, medical coding and the safety database all exchange data with the study database. ICH E6(R3) is direct about it: "Interfaces between systems should also be defined and validated." In practice, each transfer gets a specification and a test with dummy files before go-live. Once the trial runs, the same data is reconciled between systems.
eCOA needs its own plan, because its timeline is longer than the build suggests. TriTiCon's free ePRO references show why: the ePRO build itself can take less than a week, but their typical Phase III example needs about 22 weeks from vendor contracted to go-live, because the critical path runs through translations and submissions rather than the build.
Go-live: what has to be in place
Go-live is the moment the study database moves to production and sites can enter real data. The GCDMP chapter says that starting enrolment "prior to a complete EDC study-build is strongly discouraged": the system, including its edit checks and dynamic behaviour, should be in production before the first patient is enrolled. Before that point, check that:
- UAT is performed and documented, and any unresolved issue is justified with its risks addressed, as ICH E6(R3) requires.
- The sponsor has signed off the build, and the documentation is filed in the Trial Master File.
- Users are trained before they receive access. The GCDMP chapter expects training to be tracked before access is granted, and ICH E6(R3) requires users of computerised systems to be appropriately trained. Our guide to EDC user training covers what that training should include.
- Transfers and integrations are live and tested.
- Each site is activated only "after all necessary approvals for the clinical trial relevant to that investigator site have been received", in the words of ICH E6(R3).
Changes after go-live
Protocol amendments change the database while data is already in it. ICH E6(R3) expects later changes to be validated based on risk, and the validation "should consider both previously collected and new data in line with change control procedures". The GCDMP chapter adds that EDC systems differ in how they handle new or changed edit checks once data exists, so the data manager has to decide how the existing data will be checked.
In practice an amendment runs as a small build of its own: change request, impact assessment, build, testing, approval and release. Where the CRF changes, existing participants may move to the new version, and you must be able to show which version of each page was used for each participant. Updates that result from an amendment go live only after the approvals they need.
Frequently asked questions
What is UAT in clinical trials?
User acceptance testing (UAT) is the test in which data management and other users confirm that the built study database matches the protocol and works in a realistic site setting. It uses scenario-based test cases, its scope is risk-based, and it must be documented before production data is collected.
What is the difference between unit testing and UAT?
Unit testing is done by the developer and confirms that each field, edit check, role and export matches its specification. UAT is managed by data management and confirms that the database as a whole matches the protocol and works at a site, using realistic patient scenarios rather than element-by-element checks.
Who performs UAT in an EDC study?
Data management usually manages UAT, with input or direct participation from clinical operations, the medical monitor, the statistician and site representatives. The developer who built the database runs the unit testing instead, so UAT brings in people who know the protocol and the sites rather than the configuration.
Can sites enter data before UAT is complete?
No. The GCDMP chapter on EDC study start-up states that studies should not collect production data until UAT has been performed and documented, and it strongly discourages starting enrolment before the study build is complete. Test data belongs in the test environment, never in production.
What is a UAT test script?
A UAT test script is a written test case: the scenario, the steps to perform, the data to enter and the expected result, with space to record the actual result, pass or fail, the tester and the date. Scripts are traced back to the specifications, so that every requirement is covered by at least one test.
What happens to the EDC database when the protocol is amended?
The amendment is handled as a controlled change: the specifications are updated, the impact is assessed, and the change is built, tested and approved before it goes live. Where the CRF changes, existing participants may move to the new version, and the database must show which version each participant used.
Learn study set-up with TriTiCon
TriTiCon's course The Clinical Data Management Set-up Process covers setting up the eCRF and other data collection tools, integrations and transfers, testing, release and user training, and the validation and release documentation that goes with them. If a CRO or vendor builds your study, Oversight in Clinical Development shows how to plan risk-based sponsor oversight of vendors and CROs under ICH E6(R3).
Put the knowledge to work.
Explore the subject in a course
Start with the free sample.
Explore selected lessons before choosing your course.