OpenSAFELY ehrQL documentation
Tutorials
Initializing search
    GitHub
    GitHub
    • ehrQL
    • Tutorials
      • Introduction to ehrQL
        • Setting up
        • Working with data with ehrQL
        • Simple transformations
        • More complex transformations
        • Building a dataset
        • Using ehrQL as part of a study
        • Quiz
      • Using dummy data in ehrQL
        • Setting up
        • What is dummy data?
        • Generate a dummy dataset
        • Provide dummy tables
        • Limitations of native ehrQL dummy data
        • Provide a dummy dataset
    • 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
      • How to reuse your ehrQL with custom parameters
    • Reference
      • Language reference
      • Language features
      • Backends
      • Table schemas
      • Command line interface
      • Cheatsheet
      • Upgrading ehrQL from v0 to v1
    • Explanations
      • ehrQL backend tables
      • ehrQL output formats
      • Using ehrQL in OpenSAFELY projects
      • Running ehrQL
      • Using the measures framework
      • Selecting populations for study
      • The OpenSAFELY VS Code extension
      • How ehrQL generates dummy data

    Tutorials

    Step by step tutorials for learning about ehrQL.

    • Introduction to ehrQL
    • Using dummy data in ehrQL
    Previous
    ehrQL
    Next
    Introduction to ehrQL
    Made with Material for MkDocs