Skip to content

Job request: 12696

Organisation:
Bennett Institute
Workspace:
unknown-codes-investigation
ID:
kxjavkvltzns6two

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 in the project, within a secure environment.

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level various outputs were written to. Researchers can never directly view outputs marked as highly_sensitive ; 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: 1

actions:
  # query_APCS_Der_Diagnosis_All:
  #   run: >
  #     sqlrunner:latest
  #       queries/APCS.Der_Diagnosis_All.sql
  #       --output output/APCS.Der_Diagnosis_All.csv
  #   outputs:
  #     highly_sensitive:
  #       output: output/APCS.Der_Diagnosis_All.csv

  query_APCS_Der_Spell_Primary_Diagnosis:
    run: >
      sqlrunner:latest
        queries/APCS_Der.Spell_Primary_Diagnosis.sql
        --output output/APCS_Der.Spell_Primary_Diagnosis-icd10.csv
    outputs:
      highly_sensitive:
        output: output/APCS_Der.Spell_Primary_Diagnosis-icd10.csv

  query_CodedEvent_CTV3Code:
    run: >
      sqlrunner:latest
        queries/CodedEvent.CTV3Code.sql
        --output output/CodedEvent.CTV3Code-ctv3.csv
    outputs:
      highly_sensitive:
        output: output/CodedEvent.CTV3Code-ctv3.csv

  query_CodedEvent_SNOMED_ConceptID:
    run: >
      sqlrunner:latest
        queries/CodedEvent_SNOMED.ConceptID.sql
        --output output/CodedEvent_SNOMED.ConceptID-snomedct.csv
    outputs:
      highly_sensitive:
        output: output/CodedEvent_SNOMED.ConceptID-snomedct.csv

  # query_EC_Diagnosis_EC_Diagnosis_XX:
  #   run: >
  #     sqlrunner:latest
  #       queries/EC_Diagnosis.EC_Diagnosis_XX.sql
  #       --output output/EC_Diagnosis.EC_Diagnosis_XX.csv
  #   outputs:
  #     highly_sensitive:
  #       output: output/EC_Diagnosis.EC_Diagnosis_XX.csv

  # query_EC_Diagnosis_Discharge_Destination_SNOMED_CT:
  #   run: >
  #     sqlrunner:latest
  #       queries/EC_Diagnosis.Discharge_Destination_SNOMED_CT.sql
  #       --output output/EC_Diagnosis.Discharge_Destination_SNOMED_CT.csv
  #   outputs:
  #     highly_sensitive:
  #       output: output/EC_Diagnosis.Discharge_Destination_SNOMED_CT.csv

  # query_MedicationDictionary_DMD_ID:
  #   run: >
  #     sqlrunner:latest
  #       queries/MedicationDictionary.DMD_ID.sql
  #       --output output/MedicationDictionary.DMD_ID.csv
  #   outputs:
  #     highly_sensitive:
  #       output: output/MedicationDictionary.DMD_ID.csv

  # query_ONS_Deaths_icd10XX:
  #   run: >
  #     sqlrunner:latest
  #       queries/ONS_Deaths.icd10XX.sql
  #       --output output/ONS_Deaths.icd10XX.csv
  #   outputs:
  #     highly_sensitive:
  #       output: output/ONS_Deaths.icd10XX.csv

  tidy_data:
    run: r:latest analysis/tidy_data.R
    needs:
      - query_APCS_Der_Spell_Primary_Diagnosis
      - query_CodedEvent_CTV3Code
      - query_CodedEvent_SNOMED_ConceptID
      # - query_APCS_Der_Diagnosis_All
      # - query_EC_Diagnosis_EC_Diagnosis_XX
      # - query_EC_Diagnosis_Discharge_Destination_SNOMED_CT
      # - query_MedicationDictionary_DMD_ID
      # - query_ONS_Deaths_icd10XX
    outputs:
      highly_sensitive:
        output: output/output.csv

  generate_report:
    run: r:latest -e 'rmarkdown::render("analysis/report.Rmd", knit_root_dir = "/workspace", output_dir = "output/")'
    needs:
      - tidy_data
    outputs:
      moderately_sensitive:
        output: output/report.html

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:34:22

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

Job information

Status
Failed
Backend
TPP
Requested by
Milan Wiedemann
Branch
main
Force run dependencies
No
Git commit hash
46a19a9
Requested actions
  • tidy_data
  • generate_report

Code comparison

Compare the code used in this Job Request