The file route at a glance
- The registry calls it "an HTTP upload of an Extensible Markup Language (XML) file", and the file is "subject to the same validation process" as a record entered on screen.
- A full upload "will replace all previously saved results information"; a partial upload replaces only the subsets the file includes.
- The schema warns that failing to mark an incomplete upload as partial "will result in a permanent loss of all missing (omitted) data subsets".
- The registry describes the capability as for organizations with "significant technical expertise", and notes that most will not need it.
- The published schema holds results only. It has no element for the protocol or statistical analysis plan, which are uploaded as PDF/A documents.
What the registry says about uploading
Two registry pages describe the route. The frequently asked questions give the short answer, and the user guide gives the working detail.
Yes. This option is available in PRS as an HTTP upload of an Extensible Markup Language (XML) file. After obtaining a PRS account, login to PRS and review the User's Guide for information on XML upload.
ClinicalTrials.gov frequently asked questions on the ruleThe XML file transfer (upload) capability facilitates the transfer of data into ClinicalTrials.gov from your computer system. This capability is available for those organizations that already have a database containing the necessary information and the significant technical expertise required to structure the data according to the PRS XML schemas. XML files may contain protocol information, results information, or both. They are subject to the same validation process as records created using the PRS web interface.
Protocol Registration and Results System user guide, Section 9, Record Upload/DownloadThe same section begins by saying that "most organizations will not need either of these capabilities", and that some may find it convenient "to avoid rekeying" when they have large quantities of information to enter. The how-to-submit page says the same of results: they "can also be submitted by uploading XML files to the PRS", with the results schema as the format reference.
Who can upload, and what else they need
Uploading is done from inside the system. The user guide tells the user to select Upload Record (XML) from the Records section of the main menu and follow the instructions, so the person uploading needs a login to the sponsor organization's account and access to the record. Users work on their own records unless the record owner or an administrator authorizes access, and users on a record's access list can update and edit it.
Outside staff are covered too. The guide says a contract or clinical research organization "should not have its own organization account" when it is not the responsible party, and that each of its staff needs a user account under the sponsoring organization's account.
An upload does not release anything. The how-to-submit page says the record is not processed unless it is released, and that only the responsible party or an account administrator can release it. The same guide section describes a batch upload for administrators and an application programming interface for one record at a time, and recommends becoming proficient with interactive upload before using the interface.
The published results schema
The format is defined by the registry's schema file, titled "XML Schema for the results portion of clinical trial data to be uploaded into the Protocol Registration System". The saved copy carries the line Schema Version: 2023.03.30 and the warning "This schema is subject to change without notice". The root element is result, in the namespace http://clinicaltrials.gov/rrs.
| Root element in the file | Subset |
|---|---|
| baseline | Baseline characteristics |
| certainAgreement | Certain agreement |
| limitationsAndCaveats | Limitations and caveats |
| outcomeMeasures | Outcome measures, with their statistical analyses |
| participantFlow | Participant flow |
| pointOfContact | Results point of contact |
| reportedEvents | Adverse events and all-cause mortality |
Three details from the schema's own notes matter before building a file. Most elements are typed as strings although business rules require many to be numbers. Groups are linked by reference: each identifier must be unique in the document, and "Each IDREF value must match some ID value in the same document". And allowed values for lists come from the Results Pick-list Normalization report, reached from the Upload Record page. The schema suggests creating a record on screen and downloading its XML to see the format.
Fields inside each subset follow the data element definitions; for the module most often rebuilt, see outcome measures and statistical analyses.
Full upload and partial upload
One attribute on the root element decides what the file does to saved results: partialUpload, which defaults to false.
| Full upload | Partial upload | |
|---|---|---|
| Attribute | partialUpload="false", or the attribute missing | partialUpload="true" |
| Saved results information | Replaced with the data from the file | Only the subsets included in the file are replaced |
| Subsets left out of the file | Lost: "permanent loss of all missing (omitted) data subsets" | Kept intact |
| A subset counts as included | Not applicable | If its root element is in the file |
Subsets are replaced or retained as a unit. Sending the outcomeMeasures element replaces every saved outcome measure with the ones in the file.
Illustration
Suppose a file holds only the outcomeMeasures element. Without the partial attribute, the other six subsets are deleted from the saved results. With partialUpload="true", only the outcome measures change and the other six remain. The schema also says a file without baseline, certain agreement, participant flow or point of contact is acceptable, but that data "will have to be entered" before the record is released.
Validation and review still apply
An uploaded file meets the same validation as screen entry. The user guide sorts the system's messages into errors, warnings and notes: errors must be addressed before the record is released for review, while warnings and notes "may lead to identification of issues during the PRS Review process" if left.
A file that loads is not a record that passes review. Staff review results for apparent errors, deficiencies and inconsistencies, and the review of a record with results "may take up to 30 days". The quality control criteria say the review "does not assess the appropriateness of the scientific design and analytic approach". Under 42 CFR 11.64(b)(1), issues in the notification must be corrected or addressed within 25 calendar days for results. For what returned records need, see returned ClinicalTrials.gov results.
The protocol and statistical analysis plan
For a trial with a primary completion date on or after 18 January 2017, the results definitions say the full study protocol and statistical analysis plan "must be uploaded as part of results information submission", as Portable Document Format Archival (PDF/A) files, each with a cover page showing the official title, the NCT number if available and the document date.
Nothing in the XML upload section of the user guide says these documents travel inside the XML file, and the results schema has no element for a document. We treat them as a separate step from the file, and the sources do not say how they are attached; the account holder follows the registry's own instructions on screen.
What to check before the file is uploaded
- Back up the current record. The user guide lets a user download a record's XML, including available results, from the Download XML link on the Record Summary page, and save a draft receipt as a PDF or rich text file with validation messages if wanted. Do this first, because a full upload replaces what is saved, and without a copy there is nothing to restore from.
- Decide full or partial, and mark it. If the file is not the complete results information, it must say
partialUpload="true"; a partial file sent without it permanently loses the subsets it leaves out. A subset is replaced as a unit, so a file holding one of ten outcome measures leaves one. - Check every reference. Each group reference in a measure or analysis must match a group defined in the same file; the schema requires every reference to match an identifier in the document.
- Check list values and limits. Values come from the pick-list report and the data element definitions.
- Bring the registered record up to date first. The registry's steps ask for the Protocol Section to be current before results are started.
- Check the numbers against each other. The review criteria ask that analyzed counts agree with participant flow, and adverse events agree with other modules.
- Confirm who uploads and who releases. The uploader needs access to the record; the responsible party or an administrator approves and releases.
- Plan the documents separately. The protocol and statistical analysis plan do not travel in the file, as the section above explains.
How we use it
For each record we prepare four things: the upload file, a readable copy laid out in the order of the registry's entry screens, a check report, and an upload note. The sponsor's own account holder uploads the file, then approves and releases the record (a loaded file is not an accepted record: review comes after release), so no outside login is added to the sponsor's account by default. How we prepare a record sets out the steps, and you can ask about a record directly.
Our file builder has rebuilt 500 of 500 accepted records from the public registry into files that pass the registry's own format file. The format check does not catch a reference to a group that is not defined, so the builder checks references itself. Passing the format file is not passing review: in 115 of those 500 posted records, the builder's own checks found entries that break the registry's definitions, a reminder that results can be posted before the review has finished. Partial files from the builder always carry every outcome measure, because it is not known whether an empty list clears the saved ones. Each file is uploaded in the sponsor's own account, and the registry validates it on upload, before anything is released. For records past their deadline, see overdue ClinicalTrials.gov results.
Sources
- ClinicalTrials.gov, Protocol Registration and Results System user guide (Section 9, Record Upload/Download), read 4 December 2026
- ClinicalTrials.gov, results upload schema (RRSUploadSchema.xsd, version 2023.03.30), read 4 December 2026
- ClinicalTrials.gov, frequently asked questions on the rule, read 4 December 2026
- ClinicalTrials.gov, how to submit results, read 4 December 2026
- ClinicalTrials.gov, results data element definitions (Document Upload Information), read 4 December 2026
- ClinicalTrials.gov, results quality control review criteria, read 4 December 2026
- 42 CFR 11.64, updates (eCFR), read 4 December 2026