OpenSAFELY documentation
Initializing search
GitHub
OpenSAFELY documentation
GitHub
Introduction
About OpenSAFELY
About OpenSAFELY
Our philosophy
Security
Access policies
Technical architecture
Contributing
Getting Started guide
Using OpenSAFELY
Using OpenSAFELY
Analysis workflow
Federated analytics
GitHub repositories
Detailed installation guides
Detailed installation guides
Overview
GitHub and Git
Running OpenSAFELY in GitHub Codespaces
Python
Docker
OpenSAFELY CLI
macOS
Linux
Codelists
Codelists
Introduction to codelists
Building a codelist
Adding codelists to a project
Keeping codelists up to date
Actions
Actions
Overview
The project pipeline
Scripted actions
Reusable actions
Jobs site
Level 4 server
Safe Outputs and requesting release of files from the Level 4 server
Reports
Reports
Overview
Create a draft
Review process
Publishing a report
Project completion
Adding your pre-print/paper to OpenSAFELY.org
Information for system integrators
Legacy
Legacy
Study definitions
Study definitions
Overview
Working with dates
Working with codelists
Dummy data and expectations
Variable reference
Measures
Create inclusion/exclusion flowcharts
Programming tricks
OpenSAFELY best practice
OpenSAFELY best practice
Developing a protocol
Using Git effectively
Code reviews
Case-control studies
Writing performant code
ehrQL
ehrQL
Tutorial
Tutorial
Setting up
Working with tables
Writing a dataset definition
Generating a dummy dataset
Committing the dataset definition
Writing a more complex dataset definition
Pushing the commits to GitHub
Tidying up
How-to guides
How-to guides
Using ehrQL to answer specific questions
How to include and exclude patients from your study population
Resolving ehrQL errors
How to use dummy data in an ehrQL dataset definition
How to use dummy data in an ehrQL measures definition
How to assign multiple columns to a dataset programmatically
How to work with codelists
How to test your dataset definition
Reference
Reference
Language reference
Language features
Backends
Table schemas
Command line interface
Upgrading ehrQL from v0 to v1
Explanation
Explanation
ehrQL backend tables
ehrQL output formats
Using ehrQL in OpenSAFELY projects
Running ehrQL
Using the measures framework
Selecting populations for study
Data sources
Data sources
Overview
SystmOne primary care
EMIS primary care
Covid-19 test results
Covid-19 therapeutics
Emergency attendances
High Cost Drugs
Hospital admissions
In-hospital deaths (covid-19 only)
Intensive care admissions (covid-19 only)
International Severe Acute Respiratory and emerging Infection Consortium
Registered deaths
UK Renal Registry
Support
Support
How to get help
OpenSAFELY co-piloting service
Requesting new libraries
Plan S and OpenSAFELY
Updating the documentation
Bennett Institute Open Manifesto
Platform News
404 - Not found