Skip to content

Job request: 7020

Organisation:
Bennett Institute
Workspace:
hypertension-sro
ID:
mrxan4daggenxfqt

This page shows the technical details of what happened when the authorised researcher Milan Wiedemann 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'

expectations:
  population_size: 10000

actions:

  # Study populations
  # Extract latests ethnicity record for cohort
  generate_study_population_ethnicity:
    run: > 
      cohortextractor:latest generate_cohort 
      --study-definition study_definition_ethnicity 
      --output-dir=output/indicators 
      --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/indicators/input_ethnicity.feather

  # Extract cohort for indicator HYP001 by month 
  generate_study_population_hyp001:
    run: > 
      cohortextractor:latest generate_cohort 
      --study-definition study_definition_hyp001 
      --index-date-range "2019-01-01 to 2022-01-01 by month" 
      --output-dir=output/indicators
      --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/indicators/input_hyp001_*.feather

  # Extract cohort for indicator HYP003 by month 
  # generate_study_population_hyp003:
  #   run: > 
  #     cohortextractor:latest generate_cohort 
  #     --study-definition study_definition_hyp003 
  #     --index-date-range "2019-01-01 to 2022-01-01 by month" 
  #     --output-dir=output/indicators  
  #     --output-format=feather
  #   outputs:
  #     highly_sensitive:
  #       cohort: output/indicators/input_hyp003_*.feather
  
  # Extract cohort for indicator HYP007 by month 
  # generate_study_population_hyp007:
  #   run: > 
  #     cohortextractor:latest generate_cohort 
  #     --study-definition study_definition_hyp007 
  #     --index-date-range "2019-01-01 to 2022-01-01 by month" 
  #     --output-dir=output/indicators  
  #     --output-format=feather
  #   outputs:
  #     highly_sensitive:
  #       cohort: output/indicators/input_hyp007_*.feather

  join_ethnicity:
    run: >
      cohort-joiner:v0.0.12 
        --lhs output/indicators/input_hyp*.feather
        --rhs output/indicators/input_ethnicity.feather
        --output-dir output/indicators/joined
    needs: [generate_study_population_ethnicity, generate_study_population_hyp001]
    outputs:
      highly_sensitive:
        cohort: output/indicators/joined/input_hyp*.feather

  # Measures
  # Generate measures for indicator HYP001 by month
  generate_measures_hyp001:
     run: >
       cohortextractor:latest generate_measures 
       --study-definition study_definition_hyp001 
       --output-dir=output/indicators/joined
     needs: [join_ethnicity]
     outputs:
       moderately_sensitive:
         measure_csv: output/indicators/joined/measure_hyp001_*_rate.csv

 # Generate measures for indicator HYP003 by month
  # generate_measures_hyp003:
  #    run: >
  #      cohortextractor:latest generate_measures 
  #      --study-definition study_definition_hyp003 
  #      --output-dir=output/indicators/joined
  #    needs: [join_ethnicity]
  #    outputs:
  #      moderately_sensitive:
  #        measure_csv: output/indicators/joined/measure_hyp003_*_rate.csv

  # Generate measures for indicator HYP007 by month
  # generate_measures_hyp007:
  #    run: >
  #      cohortextractor:latest generate_measures 
  #      --study-definition study_definition_hyp007 
  #      --output-dir=output/indicators/joined
  #    needs: [join_ethnicity]
  #    outputs:
  #      moderately_sensitive:
  #        measure_csv: output/indicators/joined/measure_hyp007_*_rate.csv

  generate_deciles_charts:
    run: >
      deciles-charts:v0.0.1
      --input_dir output/indicators/joined
      --output_dir output/indicators/joined
    needs: [generate_measures_hyp001]
    outputs:
      moderately_sensitive:
        cohort: output/indicators/joined/deciles_chart_*.png
  
  # Join all measure files for each indicator
  join_measures:
    run: r:latest analysis/join_measures.R
    needs: [generate_measures_hyp001]
    outputs:
      moderately_sensitive:
        measure_csv: output/measures/measures_hyp001.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:24:34

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

Job request

Status
Succeeded
Backend
TPP
Workspace
hypertension-sro
Requested by
Milan Wiedemann
Branch
main
Force run dependencies
No
Git commit hash
ebe9ca2
Requested actions
  • generate_measures_hyp001
  • join_measures

Code comparison

Compare the code used in this job request