Skip to main content

Platform news

  1. New way to run RStudio in OpenSAFELY

    We have added a new way of working with R code in OpenSAFELY, with the addition of the opensafely launch rstudio command. This will start up an instance of RStudio using our official OpenSAFELY R image, and automatically open a web browser window on your computer pointing at the RStudio…

  2. Exposing more columns for HES data

    We have exposed two more columns on the admitted patient care table from the HES data: discharge_destination and discharge_method. These are examples of data that are held in the backend database, but that had not been exposed via ehrQL. We’re always happy to add existing data to ehrQL, but typically we wait…

  3. Exposing the Decision Support Values table in ehrQL

    We have made the TPP DecisionSupportValues table available in ehrQL.

  4. OpenSAFELY codelists add command

    We have improved the way in which codelists can be added to an OpenSAFELY project. Previously, to add a codelist to a project, one had to manually add a codelist and version identifier to the codelists.txt file, then run the opensafely codelists update command to download it. This method is still supported.

  5. Updated NHS Digital Primary Care Refsets

    Many OpenSAFELY studies have made use of the NHS Digital Primary Care Domain Reference Sets [archived here]. These are republished on opencodelists.org under the NHSD Primary Care Domain Refsets organisation to make integration of these reference sets into your study easy. Based on user feedback, we…

  6. Improved autocomplete for ehrQL

    We have made significant improvements to the autocomplete behaviour when writing ehrQL in VSCode, both locally and in online codespace environments.

  7. New VS Code extension to help with writing and testing ehrQL

    We have released a new extension for VS Code and Codespaces to help users test their ehrQL queries against tables of dummy data. You can read more in the documentation, or try it out by following the updated ehrQL tutorial.

  8. Updates to ehrQL tutorial

    We have recently published a significant update to the ehrQL tutorial. The tutorial now walks you through using ehrQL to identify patients who should be on the QOF register for diabetes, and to categorise patients on the register according to various QOF business rules. You can work through…

  9. Improved handling of all_diagnoses and all_procedures fields

    We have added better handling for the all_diagnoses and all_procedures fields in the apcs table. These fields contain every diagnosis (ICD10 codes), and each procedure undertaken (OPCS4 codes), during a hospital spell. The field is a list of clinical codes, joined together with ,s and ||s (see the above links for more details on…

  10. OpenSAFELY publication approval process update

    Dear OpenSAFELY users, If you have submitted work for publication approval, we appreciate your patience with our delay in providing a response. We look forward to sending you a response as soon as this is possible. A rapid review of the publication approval process was recently prompted…

Subscribe to Platform News updates

Receive an email alert when the OpenSAFELY platform is updated.

What type of news do you want to receive?

You can unsubscribe at any time by clicking the link in the footer of our emails.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing.

Learn more about Mailchimp's privacy practices here.