Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Code-list-generating-template

Overview:

This is a code list generating template for CPRD Gold and Aurum. Please note that this script only serves as a example of how to generate code lists, and should not be used to generate depression code lists without discernment.

How to use:

If you're using this script as a template, please search 🔴 in the search bar to jump immediately to sections that need changing. Further instructions can be found in: https://ucl-dop-mhds.github.io/ucl-dop-phenotype-codelists-site/generate-codelist/

Steps:

  1. Set up and load data
  2. Search for new relevant med code
  3. Compare with multiple reference lists
  4. Create and update code lists

Inputs:

  1. CPRDAurumMedical.txt: CPRD Aurum medical dictionary
  2. CPRDGoldMedical.txt: CPRD Gold medical dictionary
  3. https://raw.githubusercontent.com/smwu/SMI_GLP/main/Code_Lists/Depression/Aurum_Depression_codelist_20250725.txt: depression codelist from github repository
  4. https://raw.githubusercontent.com/smwu/SMI_GLP/refs/heads/main/Code_Lists/Depression/Gold_Depression_codelist_20250725.txt: depression codelist from github repository
  5. hdrukcodelist.csv: Depression phenotype from HDRUK library (https://doi.org/10.48533/6g09-rp92)
  6. qof.xlsm: Quality and Outcomes Framework clusters list

Intermediate outputs:

  1. aurum_depression_codelist_15042026_tobereviewed.csv: Aurum codelist to be clinically reviewed
  2. gold_depression_codelist_15042026_tobereviewed.csv: Gold codelist to be clinically reviewed

Final Outputs:

  1. aurum_depression_codelist_15042026.txt: Final depression codelist from Aurum
  2. gold_depression_codelist_15042026.txt: Finaly depression codelist from Gold
  3. Depression_metadata_15042026.txt: Metadata text file

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages