Skip to content

Job request: 21418

Organisation:
NHS England
Workspace:
vte-diagnoses-and-deaths
ID:
kliug6gyctqh2z32

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

By cross-referencing the indicated Requested Actions with the Pipeline section below, you can infer what security level various outputs were written to. Outputs marked as highly_sensitive can never be viewed directly by a researcher; they can only request that code runs against them. Outputs marked as moderately_sensitive can be viewed by an approved researcher by logging into a highly secure environment. Only outputs marked as moderately_sensitive can be requested for release to the public, via a controlled output review service.

Jobs

Pipeline

Show project.yaml
version: '3.0'

expectations:
  population_size: 1000

actions:

  generate_dataset:
    run: ehrql:v0 generate-dataset analysis/dataset_definition.py --output output/dataset.csv.gz
    outputs:
      highly_sensitive:
        cohort: output/dataset.csv.gz

  generate_pivoted_dataset:
    run: ehrql:v0 generate-dataset analysis/dataset_definition_pivoted.py --output output/dataset_pivoted.csv.gz
    outputs:
      highly_sensitive:
        cohort: output/dataset_pivoted.csv.gz

  initial_analysis:
    run: r:latest analysis/analysis.R
    needs: [generate_dataset]
    outputs:
      moderately_sensitive:
        histogram_primary: output/df_primary_midpoint_rounded.png
        histogram_secondary: output/df_secondary_midpoint_rounded.png
        histogram_secondary_mb: output/df_secondary_mb_midpoint_rounded.png
        histogram_primary_precursor: output/vte_primary_diagnosis_frequency_distribution.csv
        histogram_secondary_precursor: output/vte_secondary_admission_frequency_distribution.csv
        histogram_secondary_mb_precursor: output/vte_secondary_mb_admission_frequency_distribution.csv
        crosstab_secondary: output/crosstab_secondary_codelists_midpoint_rounded.csv
        crosstab_primary_secondary: output/crosstab_primary_secondary_midpoint_rounded.csv

  aggregate_pivots:
    run: python:latest analysis/aggregate_pivots.py
    needs: [generate_pivoted_dataset]
    outputs:
      moderately_sensitive:
        code_counts: output/vte_primary_events*.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:18:09

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

Job information

Status
Succeeded
Backend
TPP
Requested by
Joshua Mutio
Branch
main
Force run dependencies
No
Git commit hash
9657ba0
Requested actions
  • generate_dataset
  • initial_analysis

Code comparison

Compare the code used in this Job Request