Skip to main content

Output your results

Find out how to export your analysis results and code out of the Secure Data Environment (SDE).

Important information

The Output your results service has removed the 1,000 row or 30 column limit on output requests. We will be monitoring the impact of this change on the service team over this quarter and will publish updates in the next quarter.

This service allows you to output your analysis and code from the SDE for research or sharing purposes. All outputs are required to go through this process.

This output process ensures that data confidentiality is always maintained, and data protection best practice is followed in relation to any code or results taken out of the environment.  

This guide provides information on:

  • how to export and prepare your file by following the Disclosure Control Rules
  • how to submit your output request with contextual information
  • how to access your approved outputs
  • how to update a pending output request

Disclosure Control Rules

Before you submit an output request, you must first export your results and ensure that they comply with the SDE Disclosure Control Rules. These rules ensure that output requests can be processed as quickly as possible. If your output request does not comply with the Disclosure Control Rules, it will be rejected.

Requested results must
  • be aggregated, summary results
  • follow number rounding and suppression rules
  • suppress all counts under 10 (for example where a result of 7 is recorded, this should be shown as either “0” or “*”). Exceptions include high-level aggregations that are explained or justified in the contextual information provided and present no risk of deriving low counts
  • round all counts greater than 10 to the nearest multiple of 5
  • contain only data that would be appropriate to make available in the public domain (for example in a research paper or report)
Requested data outputs must not
  • contain raw data or a subset of raw patient data
  • contain any data that could lead to the identity of an individual or of their associated confidential information being revealed
  • contain personally sensitive or commercially confidential data
Requested code outputs must not
  • include any personal or confidential information within the code or embedded comments
  • include any commercially sensitive data (explicitly or implicitly) within the code or embedded comments

Allowed file formats

The following export file formats are supported within the SDE:

CSV, JPEG, JPG, JSON, MD, PDF, PNG, PY, R, TEX, TXT


Exporting results

Once your file has been prepared in line with the Disclosure Control Rules, you will need to export it to your desktop by selecting download to desktop.

For more information on outputting your results from Databricks, see Using Databricks in the SDE.

For more information on outputting your results from RStudio, see using RStudio in the SDE.


View your output requests

You can submit and manage your output requests through the Manage output and import requests service.  To do this:

1. Log onto the SDE portal.

2. Locate the Outputs and Imports shortcut icon on your desktop.

From the landing page, you will find information about the service.  You will also be able to access your output requests:

Landing page

Select Continue.

Dashboard

The dashboard shows your output requests under the Output requests heading. The most recently submitted requests appear first.

Use the Filter requests option to filter the list.


Submitting an output request

Use the Output your results service to submit an output request in the NHS England Secure Data Environment (SDE). Follow these steps to upload your file, provide information about your results and submit your request. 

1. From the Output requests screen, select ‘New output request’.   Upload your file.  Make sure its contents follow the Disclosure Control Rules and you meet the criteria for file type and size.  Select ‘Continue’. 

Create a new request screen

2. Enter in additional information providing a summary of what data the output request contains and how it supports your research.  It must include: 

  • a clear description of the work undertaken - for example, ‘a table showing rounded and suppressed counts of people with a certain condition split by trust code…’ 
  • the source of the data, for example, Hospital Episode Statistics (HES), or HES linked to another data set
  • labels and descriptions of the data, fields or variables in a format readable to humans
  • where counts have been used in any statistical analysis, provide the underlying numbers so that the potential for deriving small numbers can be assessed - these underlying numbers must not be included in the output itself
Example contextual information

Hospital Episode Statistics for 2022-2023. Table has values from our full patient cohort combined, and the second breaks down patients into sections for three vaccination status groups - fully vaccinated, partly vaccinated, and unvaccinated. 

The ordering of columns overall (or within each section for the second table) is: 

  • a count of patients in the condition group - rounded to the nearest 5
  • IRRs for hospitalisations, then their 95% confidence limits
  • IRRs for HDU/ICU admissions, then their 95% confidence limits

All columns ending in _s are counts and have been suppressed and rounded.

Additional information screen

3. Read the Output conditions and select the check box to confirm that the output request meets the purposes described in your DSA.   

You can access NHS England's Data Uses Registers where you can look up your DSA by applicant, data controller or download the excel file to search across fields. 

Output conditions screen

4. Check your request.  Once you are ready to submit, select ‘Confirm and send’.

Check your request screen

5. Select ‘View all output requests’ to return to the main Output request dashboard. 

Confirmation page


How we check the file

After you submit your output request, the file will show as Pending while it is checked to make sure it follows the Disclosure Control Rules.

If it does not, your request will be rejected and you receive an email informing you of the reason why.

If you want to resubmit a rejected request, you will need to make any required changes and submit it as a new request from the dashboard screen.

How long it will take

Output requests are reviewed within 3 working days.


Accessing your approved outputs

You will receive an email once your request has been approved. You will be able to download your results directly from this email.


Contact us

For output support, including preparing your files and context emails, contact the SDE output checker team at [email protected].

For technical issues, such as account access, contact the National Service Desk on [email protected] or by phoning 0300 303 5035.


Drop-in sessions

SDE users are invited to attend drop-in sessions run by our data specialist team. These regular meetings are for questions relating to the SDE environment and how to output results.

Drop-in sessions occur every Monday, Wednesday and Friday from 10am to 11am GMT (excluding public holidays) via Microsoft Teams. Invites are sent with your SDE account activation email. Alternatively, contact [email protected] for more information.

Last edited: 24 November 2026 10:28 am