Skip to content

Job request: 24476

Organisation:
NHS England
Workspace:
adhd-pre-and-post-covid
ID:
i7kwqto2u6ym5de4

This page shows the technical details of what happened when the authorised researcher Kin Quan requested one or more actions to be run against real patient data within a secure environment.

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level the outputs were written to.

The output security levels are:

  • highly_sensitive
    • Researchers can never directly view these outputs
    • Researchers can only request code is run against them
  • moderately_sensitive
    • Can be viewed by an approved researcher by logging into a highly secure environment
    • These are the only outputs that can be requested for public release via a controlled output review service.

Jobs

Pipeline

Show project.yaml
version: '3.0'

# Ignore this`expectation` block. It is required but not used, and will be removed in future versions.
expectations:
  population_size: 5000

actions:
  generate_dataset:
    run: > 
      ehrql:v1 generate-dataset analysis/dataset_definition_dx_to_med_time.py
      --output output/adhd_dataset.csv.gz
    outputs:
      highly_sensitive:
        adhd_dataset: output/adhd_dataset.csv.gz

  generate_output_table:
    run: python:v2 python analysis/calculate_time_diff_from_dx_to_med.py
    needs: [generate_dataset]
    outputs:
      moderately_sensitive:
        table1: output/adhd_dia_med_gap_weeks.csv
  
  generate_adhd_prevalence:
    run: > 
      ehrql:v1 generate-measures analysis/measures_definition.py 
      --output output/adhd_prevalence.csv
    outputs:
      moderately_sensitive:
        measure: output/adhd_prevalence.csv

  generate_adhd_medication_prevalence:
    run: > 
      ehrql:v1 generate-measures analysis/measures_medication.py 
      --output output/adhd_medication_measures.csv 
    outputs:
      moderately_sensitive:
        measure: output/adhd_medication_measures.csv

  thin_slice_medication:
    run: > 
      ehrql:v1 generate-measures analysis/medication_thin_slice_measures.py
      --output output/thin_slice_medication_measures.csv 
    outputs:
      moderately_sensitive:
        measure: output/thin_slice_medication_measures.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:47:38

These timestamps are generated and stored using the UTC timezone on the TPP backend.

Job request

Status
Succeeded
Backend
TPP
Requested by
Kin Quan
Branch
main
Force run dependencies
Yes
Git commit hash
5bfbf55
Requested actions
  • thin_slice_medication

Code comparison

Compare the code used in this job request