Skip to content
Snippets Groups Projects
Commit 74a5e2b0 authored by Jakub Dylag's avatar Jakub Dylag
Browse files

init

parents
Branches
Tags
No related merge requests found
Showing
with 568 additions and 0 deletions
File added
This diff is collapsed.
README.md 0 → 100644
<center>
<img src="img/University_of_Southampton_Logo.png" height="100" style="padding-right: 50px;" />
<img src="img/swansea-university-logo-vector.png" height="100" />
</center>
# A Tool for Automating the Curation of Medical Concepts derived from Coding Lists
### Jakub J. Dylag <sup>1</sup>, Roberta Chiovoloni <sup>3</sup>, Ashley Akbari <sup>3</sup>, Simon D. Fraser <sup>2</sup>, Michael J. Boniface <sup>1</sup>
<sup>1</sup> Digital Health and Biomedical Engineering, School of Electronics and Computer Science, Faculty of Engineering and Physical Sciences, University of Southampton<br>
<sup>2</sup> School of Primary Care Population Sciences and Medical Education, University of Southampton <br>
<sup>3</sup> Population Data Science, Swansea University Medical School, Faculty of Medicine, Health & Life Science, Swansea University <br>
<br>
<sup>*</sup>Correspondence to: Jakub J. Dylag, Digital Health and Biomedical Engineering, School of Electronics and Computer Science, Faculty of Engineering and Physical Sciences, University of Southampton, J.J.Dylag@soton.ac.uk
### 🖋 How to cite this work
> Dylag J. J., Chiovoloni R., Akbari A., Fraser S. D., Boniface M. J., A Tool for Automating the Curation of Medical Concepts derived from Coding Lists. May 2024. https://git.soton.ac.uk/meld/meldb/concepts-processing
## 🙌 Introduction
This project generate the medical coding lists that defines cohort phenotypes used for inclusion criteria in MELD-B. The goal is to automatically prepare a code list from an approved clinical specification of inclusion criteria.
The output code list is then used by data providers to select MELD-B cohorts.
## 📃 Method
### Process
1. MELB-B conditions are defined in a Excel spreadsheet (currently CONC_summary_working.xlsx).
2.
2. Each sheet in the file includes a mapping from a MELD-B condition to source MLTC condition that is then associated with a diagnostic code list
3. Each sheet is processed to create a master code list
* READ_CODE: full 7 character read code id
* CPRD_GOLD_MEDICAL_CODE_ID: CPRD GOLD medical code id
* CPRD_AURUM_MEDICAL_CODE_ID: CPRD AURUM medical code id
* DESCRIPTION: diagnosis description
* MELDB_CONDITION: meld b multimorbidity label
* DATABASE: list of databases mapped
* SOURCE: list of sources mapped
* any other meta data columns (including descriptions etc)
### Medical Coding Standards Supported
| Code Type | Verification | Maps to |
|---------------|--------------|-----------------------------------|
| Readv2 | NHS TRUD | Readv3, SNOMED, ICD10, OPCS4, ATC |
| Readv3 (CTV3) | NHS TRUD | Readv3, SNOMED, ICD10, OPCS4 |
| ICD10 | NHS TRUD | |
| SNOMED | NHS TRUD | |
| OPCS4 | NHS TRUD | |
| ATC | None | |
| MED | None | |
| CPRD Product | None | |
MELD-B refers to various diagnostic code formats included in target datasets.
* Read V2
* Read codes were used widely in primary care but were replaced by SNOMED-CT from around 2018 https://isd.digital.nhs.uk/trud/user/guest/group/0/pack/9
* SAIL only supports five character read codes V2
* SNOMED-CT was adopted by the NHS around 2018
* CPRD AURUM uses SNOWMED codes and include mapping to read codes but no other database (CPRD Gold, SAIL) does.
* Mappings exist from SNOWMED to Read codes, some provided by CPRD and others NHS Trud
* ICD-10 are codes used in hospital settings and are importnat for the HES linked datasets.
* ATC codes are interntionally accepted for the classification of medicinces and maintained by the WHO.
### Medical Code Sources
#### MLTC Coding Sources
MELD-B has defined a set of phenotypes for MLTC conditions that are considered burdensome. Each Phenotype includes one or more diagnosis.
* Ho et al - https://cronfa.swan.ac.uk/Record/cronfa60877/Download/60877__25107__3700915cf20e418aae714e5639722449.pdf
* The diagnositc codes have been mapped by SAIL to by the ThinkingGroup https://github.com/THINKINGGroup/phenotypes which has been replicated by the RSF https://github.com/aim-rsf/phenotypes
* Azcoaga-Lorenzo, A., Akbari, A., Davies, J., Khunti, K., Kadam, U.T., Lyons, R., McCowan, C., Mercer, S.W., Nirantharakumar, K., Staniszewska, S. and Guthrie, B., 2022. Measuring multimorbidity in research: Delphi consensus study. BMJ medicine, 1(1), p.e000247.
* Hanlon et al - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8901063/#pmed.1003931.s005
* https://github.com/dmcalli2/dynamic_protocols/blob/master/defining_comorbidities_SAIL.md??
* Hanlon, P., Jani, B.D., Nicholl, B., Lewsey, J., McAllister, D.A. and Mair, F.S., 2022. Associations between multimorbidity and adverse health outcomes in UK Biobank and the SAIL Databank: A comparison of longitudinal cohort studies. PLoS Medicine, 19(3), p.e1003931.
- ClinicalCodes Project, University of Manchester - https://clinicalcodes.rss.mhs.man.ac.uk/
- Hollinghurst et al (for Frailty Primary Care) - https://academic.oup.com/ageing/article/48/6/922/5576114
- Joe Hollinghurst, Richard Fry, Ashley Akbari, Andy Clegg, Ronan A Lyons, Alan Watkins, Sarah E Rodgers, External validation of the electronic Frailty Index using the population of Wales within the Secure Anonymised Information Linkage Databank, Age and Ageing, Volume 48, Issue 6, November 2019, Pages 922–926, https://doi.org/10.1093/ageing/afz110
- Gilbert et al (for Frailty Secondary Care) - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5946808/
- Gilbert T, Neuburger J, Kraindler J, Keeble E, Smith P, Ariti C, Arora S, Street A, Parker S, Roberts HC, Bardsley M, Conroy S. Development and validation of a Hospital Frailty Risk Score focusing on older people in acute care settings using electronic hospital records: an observational study. Lancet. 2018 May 5;391(10132):1775-1782. doi: 10.1016/S0140-6736(18)30668-8. Epub 2018 Apr 26. PMID: 29706364; PMCID: PMC5946808.
- Abbasizanjani et al (for Long Covid) https://www.adruk.org/news-publications/publications-reports/data-insight-clinical-coding-and-capture-of-long-covid-a-cohort-study-in-wales-using-linked-health-and-demographic-data-824/
- Abbasizanjani H, Bedston S, Robinson L, Curds M, Akbari A. Clinical coding and capture of Long COVID: a cohort study in Wales using linked health and demographic data. ADR Wales Data Insight. August 2023. https://adrwales.org/wp-content/uploads/2023/08/Clinical-coding-and-capture-of-Long-COVID.pdf
* Morton C., Walker A. (for Sickle Disease) https://www.opencodelists.org/codelist/opensafely/sickle-cell-disease/2020-04-14/
* Department of Public Health and Primary Care, University of Cambridge (for Irritable Bowel Syndrome) https://www.phpc.cam.ac.uk/pcu/research/research-groups/crmh/cprd_cam/codelists/v11/
<!-- MELD-B has extended the set of conditions to include additional conditions that are considered burdensome but further work is needed to determine if these should be included
* LongCovid: https://bjgp.org/content/71/712/e806
MELD-B has identified other MLTC lists but it's not clear how these are processed
* Cambridge: https://www.phpc.cam.ac.uk/pcu/research/research-groups/crmh/cprd_cam/codelists/v11/
* CALIBAR: https://www.thelancet.com/article/S2589-7500(19)30012-3/fulltext, https://www.caliberresearch.org/portal/codelists
* Head: https://www.thelancet.com/journals/lanhl/article/PIIS2666-7568(21)00146-X/fulltext
* Barnet: https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(12)60240-2/fulltext#sec1 -->
#### Drug Code Sources
MELD-B uses drug codes as a proxy indicator of burden. This codes are derived from work by Francis Mair.
* Hanlon, P. https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1003931
* Hanlon, P., Jani, B.D., Nicholl, B., Lewsey, J., McAllister, D.A. and Mair, F.S., 2022. Associations between multimorbidity and adverse health outcomes in UK Biobank and the SAIL Databank: A comparison of longitudinal cohort studies. PLoS Medicine, 19(3), p.e1003931.
- Wilinson et al http://dx.doi.org/10.1136/jech-2021-217090
- Wilkinson T, Schnier C, Bush K, et alDrug prescriptions and dementia incidence: a medication-wide association study of 17000 dementia cases among half a million participantsJ Epidemiol Community Health 2022;76:223-229.
## ⚙️ Setup
1. Delete corrupted files: `bash import.sh`
### Code Translationg Tables
Due to the licencing of NHS TRUD coding tables, the following
2. Update Convertion Tables:
- See "Mappings" section in process_codes_WP.ipynb to generate table with appropriate name
- For reversible convertions create a duplicate table with the name reversed
### JSON phenotype mapping
3. Update JSON Codes List
- Manually Edit the PHEN_asssign_v2.json
- Use "Ho generate JSON" section in process_codes_WP.ipynb to generate JSON for Ho
- Cases which require additional preprocessing
<!-- - Large Table with sub-categorical column
- Need to split table by categorical column
- Then read each categorical file individually
- USE "divide_col" action
- Table with multiple code types in single column
- Need to split column into multiple columns, so only one code type per column
- USE "split_col" action -->
## ⚡ Usage
Script preprocess code lists and to map to given concept/phenotype
### Execution (Bash Script)
`bash ./run.sh`
### Execution (Shell Command)
usage: `main.py [-h] [-r2] [-r3] [-i] [-s] [-o] [-a] [-m] [-c] [--no-translate] [--no-verify] map summary`
positional arguments:
- `map` Concept/Phenotype Assignment File (json)
- `summary` Summary working excel document
optional arguments:
- `-r2`, `--read2-code` Read V2 Codes Column name in Source File
- `-r3`, `--read3-code` Read V3 Codes Column name in Source File
- `-i`, `--icd10-code` ICD10 Codes Column name in Source File
- `-s`, `--snomed-code` SNOMED Codes Column name in Source File
- `-o`, `--opcs4-code` OPCS4 Codes Column name in Source File
- `-a`, `--atc-code` ATC Codes Column name in Source File
- `-m`, `--med-code` Med Codes Column name in Source File
- `-c`, `--cprd-code` CPRD Product Codes Column name in Source File
- `--no-translate` Do not translate code types
- `--no-verify` Do not verify codes are correct
## ❤️ Contributing
### Commit to GitLab
```
git add .
git commit -m "my message ..."
git tag -a v1.0.0 -m "added features ..."
git push
```
## 🏦 Funding
This project has received funding from the National Institute of Health Research under grant agreement NIHR203988.
<img src="img/nihr-logo-1200-375.jpg" height="100" />
## ⚖️ License
![apache2](https://img.shields.io/github/license/saltstack/salt)
This work is licensed under a [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
\ No newline at end of file
base.py 0 → 100644
import pandas as pd
import os
log_errors_path = "output/MELD_errors.csv"
output_path = "output/MELD_concepts_read.csv"
class bcolors: #for printing coloured text
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
def raise_(ex):
raise ex
def log_invalid_code(codes, mask, code_type=None, file_path=None, cause=None):
print("ERROR WITH CODES", file_path, codes[~mask])
errors = pd.DataFrame([])
errors["CODE"] = codes[~mask].astype(str)
errors["CODE_TYPE"] = code_type
errors["SOURCE"] = file_path
errors["CAUSE"] = cause
#append to error log csv
if os.path.exists(log_errors_path):
print("FILE EXISTS")
df_error = pd.read_csv(log_errors_path)
df_error = pd.concat([df_error, errors])
df_error.to_csv(log_errors_path, index=False)
else:
print("FILE NOT EXIST")
df_error = errors
df_error.to_csv(log_errors_path, index=False)
return codes[mask]
\ No newline at end of file
File added
code,coding_system,description,entity,list_name,upload_date
136..00,Read,Alcohol consumption,test,451 - res47: Alcohol intake,25/07/2016
1361.11,Read,Non drinker alcohol,test,451 - res47: Alcohol intake,25/07/2016
1361.12,Read,Non-drinker alcohol,test,451 - res47: Alcohol intake,25/07/2016
1362.11,Read,Drinks rarely,test,451 - res47: Alcohol intake,25/07/2016
1362.12,Read,Drinks occasionally,test,451 - res47: Alcohol intake,25/07/2016
136a.00,Read,Increasing risk drinking,test,451 - res47: Alcohol intake,25/07/2016
136A.00,Read,Ex-trivial drinker (<1u/day),test,451 - res47: Alcohol intake,25/07/2016
136b.00,Read,Feels should cut down drinking,test,451 - res47: Alcohol intake,25/07/2016
136B.00,Read,Ex-light drinker - (1-2u/day),test,451 - res47: Alcohol intake,25/07/2016
136c.00,Read,Higher risk drinking,test,451 - res47: Alcohol intake,25/07/2016
136C.00,Read,Ex-moderate drinker - (3-6u/d),test,451 - res47: Alcohol intake,25/07/2016
136d.00,Read,Lower risk drinking,test,451 - res47: Alcohol intake,25/07/2016
136D.00,Read,Ex-heavy drinker - (7-9u/day),test,451 - res47: Alcohol intake,25/07/2016
136e.00,Read,Declines to state current alcohol consumption,test,451 - res47: Alcohol intake,25/07/2016
136E.00,Read,Ex-very heavy drinker-(>9u/d),test,451 - res47: Alcohol intake,25/07/2016
136F.00,Read,Spirit drinker,test,451 - res47: Alcohol intake,25/07/2016
136G.00,Read,Beer drinker,test,451 - res47: Alcohol intake,25/07/2016
136H.00,Read,Drinks beer and spirits,test,451 - res47: Alcohol intake,25/07/2016
136I.00,Read,Drinks wine,test,451 - res47: Alcohol intake,25/07/2016
136J.00,Read,Social drinker,test,451 - res47: Alcohol intake,25/07/2016
136K.00,Read,Alcohol intake above recommended sensible limits,test,451 - res47: Alcohol intake,25/07/2016
136L.00,Read,Alcohol intake within recommended sensible limits,test,451 - res47: Alcohol intake,25/07/2016
136M.00,Read,Current non drinker,test,451 - res47: Alcohol intake,25/07/2016
136N.00,Read,Light drinker,test,451 - res47: Alcohol intake,25/07/2016
136O.00,Read,Moderate drinker,test,451 - res47: Alcohol intake,25/07/2016
136P.00,Read,Heavy drinker,test,451 - res47: Alcohol intake,25/07/2016
136Q.00,Read,Very heavy drinker,test,451 - res47: Alcohol intake,25/07/2016
136R.00,Read,Binge drinker,test,451 - res47: Alcohol intake,25/07/2016
136S.00,Read,Hazardous alcohol use,test,451 - res47: Alcohol intake,25/07/2016
136T.00,Read,Harmful alcohol use,test,451 - res47: Alcohol intake,25/07/2016
136V.00,Read,Alcohol units per week,test,451 - res47: Alcohol intake,25/07/2016
136W.00,Read,Alcohol misuse,test,451 - res47: Alcohol intake,25/07/2016
136X.00,Read,Alcohol units consumed on heaviest drinking day,test,451 - res47: Alcohol intake,25/07/2016
136Y.00,Read,Drinks in morning to get rid of hangover,test,451 - res47: Alcohol intake,25/07/2016
136Z.00,Read,Alcohol consumption NOS,test,451 - res47: Alcohol intake,25/07/2016
E23..12,Read,Alcohol problem drinking,test,451 - res47: Alcohol intake,25/07/2016
\ No newline at end of file
code,coding_system,description,entity,list_name,upload_date
1381,Read,Exercise physically impossible,test,450 - res47: Physical activity,25/07/2016
1382,Read,Avoids even trivial exercise,test,450 - res47: Physical activity,25/07/2016
1383,Read,Enjoys light exercise,test,450 - res47: Physical activity,25/07/2016
1384,Read,Enjoys moderate exercise,test,450 - res47: Physical activity,25/07/2016
1385,Read,Enjoys heavy exercise,test,450 - res47: Physical activity,25/07/2016
1386,Read,Competitive athlete,test,450 - res47: Physical activity,25/07/2016
1388,Read,Aerobic exercise 0 times/week,test,450 - res47: Physical activity,25/07/2016
1389,Read,Aerobic exercise 1 time/week,test,450 - res47: Physical activity,25/07/2016
138a.00,Read,GPPAQ physical activity index: moderately active,test,450 - res47: Physical activity,25/07/2016
138A.00,Read,Aerobic exercise 2 times/week,test,450 - res47: Physical activity,25/07/2016
138b.00,Read,GPPAQ physical activity index: active,test,450 - res47: Physical activity,25/07/2016
138B.00,Read,Aerobic exercise 3+ times/week,test,450 - res47: Physical activity,25/07/2016
138C.00,Read,Anaerobic exercise 0 times/wk,test,450 - res47: Physical activity,25/07/2016
138D.00,Read,Anaerobic exercise 1 time/week,test,450 - res47: Physical activity,25/07/2016
138E.00,Read,Anaerobic exercise 2 times/wk,test,450 - res47: Physical activity,25/07/2016
138F.00,Read,Anaerobic exercise 3+ times/wk,test,450 - res47: Physical activity,25/07/2016
138G.00,Read,Attends exercise classes,test,450 - res47: Physical activity,25/07/2016
138H.00,Read,Enjoys intermediate exercise,test,450 - res47: Physical activity,25/07/2016
138I.00,Read,FITT activity level 0; no mod/vig activity of 20 mins duratn,test,450 - res47: Physical activity,25/07/2016
138J.00,Read,FITT activity level 1; 1-4 occas of mod/vig activit in 4 wks,test,450 - res47: Physical activity,25/07/2016
138K.00,Read,FITT activity level 2; 5-11 occas of mod/vig activt in 4 wks,test,450 - res47: Physical activity,25/07/2016
138L.00,Read,FITT activity level 3; 12+ occas of mod activity in 4 weeks,test,450 - res47: Physical activity,25/07/2016
138M.00,Read,FITT activity level 4; 12+ occas of mod/vig activit in 4 wks,test,450 - res47: Physical activity,25/07/2016
138N.00,Read,FITT activity level 5; 12+ occas of vig activity in 4 weeks,test,450 - res47: Physical activity,25/07/2016
138O.00,Read,Takes inadequate exercise,test,450 - res47: Physical activity,25/07/2016
138P.00,Read,Aerobic exercise three times a week,test,450 - res47: Physical activity,25/07/2016
138Q.00,Read,Aerobic exercise four times a week,test,450 - res47: Physical activity,25/07/2016
138R.00,Read,Aerobic exercise five times a week,test,450 - res47: Physical activity,25/07/2016
138S.00,Read,Declined referral to physical exercise programme,test,450 - res47: Physical activity,25/07/2016
138T.00,Read,30 mins/day of at least mod intensty physc activity >=5 week,test,450 - res47: Physical activity,25/07/2016
138V.00,Read,30 minutes a day of at least moderate intensity walk >=5week,test,450 - res47: Physical activity,25/07/2016
138W.00,Read,Less than 30 mins/day of at least mod int physc act >=5 week,test,450 - res47: Physical activity,25/07/2016
138X.00,Read,GPPAQ physical activity index: inactive,test,450 - res47: Physical activity,25/07/2016
138Y.00,Read,GPPAQ physical activity index: moderately inactive,test,450 - res47: Physical activity,25/07/2016
\ No newline at end of file
code,coding_system,description,entity,list_name,upload_date,status
137..00,Read,Tobacco consumption,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1371,Read,Never smoked tobacco,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
137..11,Read,Smoker - amount smoked,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1371.11,Read,Non-smoker,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
1372,Read,Trivial smoker - < 1 cig/day,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1372.11,Read,Occasional smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1373,Read,Light smoker - 1-9 cigs/day,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1374,Read,Moderate smoker - 10-19 cigs/d,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1375,Read,Heavy smoker - 20-39 cigs/day,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1376,Read,Very heavy smoker - 40+cigs/d,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
1377,Read,Ex-trivial smoker (<1/day),diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
1378,Read,Ex-light smoker (1-9/day),diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
1379,Read,Ex-moderate smoker (10-19/day),diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137a.00,Read,Pipe tobacco consumption,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137A.00,Read,Ex-heavy smoker (20-39/day),diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137b.00,Read,Ready to stop smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137B.00,Read,Ex-very heavy smoker (40+/day),diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137c.00,Read,Thinking about stopping smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137C.00,Read,Keeps trying to stop smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137d.00,Read,Not interested in stopping smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137D.00,Read,Admitted tobacco cons untrue ?,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137e.00,Read,Smoking restarted,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137E.00,Read,Tobacco consumption unknown,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137F.00,Read,Ex-smoker - amount unknown,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137G.00,Read,Trying to give up smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137H.00,Read,Pipe smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137I.00,Read,Passive smoker,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
137j.00,Read,Ex-cigarette smoker,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137J.00,Read,Cigar smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137K.00,Read,Stopped smoking,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137K000,Read,Recently stopped smoking,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137l.00,Read,Ex roll-up cigarette smoker,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137L.00,Read,Current non-smoker,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
137m.00,Read,Failed attempt to stop smoking,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137M.00,Read,Rolls own cigarettes,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137N.00,Read,Ex pipe smoker,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137O.00,Read,Ex cigar smoker,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137P.00,Read,Cigarette smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137P.11,Read,Smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137Q.00,Read,Smoking started,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137Q.11,Read,Smoking restarted,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137R.00,Read,Current smoker,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137S.00,Read,Ex smoker,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137T.00,Read,Date ceased smoking,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
137U.00,Read,Not a passive smoker,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
137V.00,Read,Smoking reduced,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137W.00,Read,Chews tobacco,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137X.00,Read,Cigarette consumption,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137Y.00,Read,Cigar consumption,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
137Z.00,Read,Tobacco consumption NOS,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
8CAL.00,Read,Smoking cessation advice,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
8H7i.00,Read,Referral to smoking cessation advisor,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
8HkQ.00,Read,Referral to NHS stop smoking service,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
8HTK.00,Read,Referral to stop-smoking clinic,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
8IAj.00,Read,Smoking cessation advice declined,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
9km..00,Read,Ex-smoker annual review - enhanced services administration,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
9km..11,Read,Ex-smoker annual review,diagnostic,649 - res56: smoking status,16/03/2017,ex smoker
9kn..00,Read,Non-smoker annual review - enhanced services administration,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
9kn..11,Read,Non-smoker annual review,diagnostic,649 - res56: smoking status,16/03/2017,never smoker
9ko..00,Read,Current smoker annual review - enhanced services admin,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
9ko..11,Read,Current smoker annual review,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
9NS0200,Read,Referral for smoking cessation service offered,diagnostic,649 - res56: smoking status,16/03/2017,current smoker
\ No newline at end of file
code,coding_system,description,entity,list_name,upload_date
I21,ICD-10,Acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.0,ICD-10,Acute transmural myocardial infarction of anterior wall,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.1,ICD-10,Acute transmural myocardial infarction of inferior wall,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.2,ICD-10,Acute transmural myocardial infarction of other sites,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.3,ICD-10,Acute transmural myocardial infarction of unspecified site,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.4,ICD-10,Acute subendocardial myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I21.9,ICD-10,Acute myocardial infarction; unspecified,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I22,ICD-10,Subsequent myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I22.0,ICD-10,Subsequent myocardial infarction of anterior wall,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I22.1,ICD-10,Subsequent myocardial infarction of inferior wall,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I22.8,ICD-10,Subsequent myocardial infarction of other sites,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I22.9,ICD-10,Subsequent myocardial infarction of unspecified site,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23,ICD-10,Certain current complications following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.0,ICD-10,Haemopericardium as current complication following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.1,ICD-10,Atrial septal defect as current complication following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.2,ICD-10,Ventricular septal defect as current complication following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.3,ICD-10,Rupture of cardiac wall without haemopericardium as current complication following acute myocardial ,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.4,ICD-10,Rupture of chordae tendineae as current complication following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.5,ICD-10,Rupture of papillary muscle as current complication following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.6,ICD-10,Thrombosis of atrium; auricular appendage; and ventricle as current complications following acute my,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I23.8,ICD-10,Other current complications following acute myocardial infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63,ICD-10,Cerebral infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.0,ICD-10,Cerebral infarction due to thrombosis of precerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.1,ICD-10,Cerebral infarction due to embolism of precerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.2,ICD-10,Cerebral infarction due to unspecified occlusion or stenosis of precerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.3,ICD-10,Cerebral infarction due to thrombosis of cerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.4,ICD-10,Cerebral infarction due to embolism of cerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.5,ICD-10,Cerebral infarction due to unspecified occlusion or stenosis of cerebral arteries,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.6,ICD-10,Cerebral infarction due to cerebral venous thrombosis; nonpyogenic,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.8,ICD-10,Other cerebral infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I63.9,ICD-10,Cerebral infarction; unspecified,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I64,ICD-10,Stroke; not specified as haemorrhage or infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
I64.0,ICD-10,Stroke; not specified as haemorrhage or infarction,diagnostic,624 - res52: cardiovascular events ICD10,14/12/2016
\ No newline at end of file
code,description,coding_system,concept_id,concept_version_id,concept_name,phenotype_id,phenotype_version_id,phenotype_name,code_attributes
7Q04100,Amyotrophic lateral sclerosis drugs Band 1,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '109020.0', 'Category': 'History of Motor neuron disease'}"
F15..00,Anterior horn cell disease,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '21889.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152.00,Motor neurone disease,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '4796.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152000,Amyotrophic lateral sclerosis,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '36433.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152100,Progressive muscular atrophy,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '30987.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152111,Duchenne Aran muscular atrophy,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '7470.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152200,Progressive bulbar palsy,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '27377.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152300,Pseudobulbar palsy,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '18084.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152400,Primary lateral sclerosis,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '20845.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F152z00,Motor neurone disease NOS,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '20120.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F15y.00,Other anterior horn cell disease,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '71400.0', 'Category': 'Diagnosis of Motor neuron disease'}"
F15z.00,Anterior horn cell disease NOS,Read codes v2,C852,2843,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Medcode': '58729.0', 'Category': 'Diagnosis of Motor neuron disease'}"
109020,History of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Amyotrophic lateral sclerosis drugs Band 1', 'Readcode': '7Q04100'}"
18084,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Pseudobulbar palsy', 'Readcode': 'F152300'}"
20120,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Motor neurone disease NOS', 'Readcode': 'F152z00'}"
20845,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Primary lateral sclerosis', 'Readcode': 'F152400'}"
21889,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Anterior horn cell disease', 'Readcode': 'F15..00'}"
27377,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Progressive bulbar palsy', 'Readcode': 'F152200'}"
30987,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Progressive muscular atrophy', 'Readcode': 'F152100'}"
36433,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Amyotrophic lateral sclerosis', 'Readcode': 'F152000'}"
4796,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Motor neurone disease', 'Readcode': 'F152.00'}"
58729,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Anterior horn cell disease NOS', 'Readcode': 'F15z.00'}"
71400,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Other anterior horn cell disease', 'Readcode': 'F15y.00'}"
7470,Diagnosis of Motor neuron disease,Med codes,C853,2845,Motor neuron disease - Primary care,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'ReadcodeDescr': 'Duchenne Aran muscular atrophy', 'Readcode': 'F152111'}"
G12.2,Motor neuron disease,ICD10 codes,C854,2847,Motor neuron disease - Secondary care - Diagnoses,PH62,124,Motor neuron disease,"{'Disease': 'Motor neuron disease', 'Category': 'Diagnosis of Motor neuron disease'}"
\ No newline at end of file
code,coding_system,description,entity,list_name,upload_date
68W2900,Read,Bowel scope (flexi-sig) appointment: DNA,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9HB7.00,Read,Did not attend learning disabilities annual health assessmnt,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9HB7.11,Read,Did not attend learning disabilities annual health check,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9kh2.00,Read,Did not attend extended hours clinic - ESA,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9kh2.11,Read,Did not attend extended hours clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4..00,Read,Failed encounter,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N41.00,Read,Did not attend - reason given,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N42.00,Read,Did not attend - no reason,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N42.11,Read,Patient defaulted from follow up,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N43.00,Read,Patient too late,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N44.00,Read,DNA - appointment mix-up,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N45.00,Read,Patient walked out,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N47.00,Read,Appt cancelled by patient,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4B.00,Read,Poor attender,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4C.00,Read,Failed encounter - no answer when rang back,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4D.00,Read,Failed encounter - message left with work place,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4E.00,Read,Failed encounter - message left with household member,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4f.00,Read,DNA - Did not attend podiatry clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4F.00,Read,Failed encounter - message left on answer machine,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4g.00,Read,DNA - Did not attend psychiatry clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4G.00,Read,Failed encounter - phone number unobtainable,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4h.00,Read,DNA - Did not attend peripheral vascular disease clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4H.00,Read,DNA hospital appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4i.00,Read,DNA - Did not attend substance misuse clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4I.00,Read,DNA - Did not attend diabetic clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4j.00,Read,DNA - Did not attend community psychiatric nurse review,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4J.00,Read,DNA - Did not attend cardiac clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4k.00,Read,Failed encounter - practitioner access denied,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4K.00,Read,DNA - Did not attend cholesterol clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4l.00,Read,Did not attend dietetic clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4L.00,Read,DNA - Did not attend hypertension clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4m.00,Read,Did not attend vaginal swab,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4M.00,Read,DNA - Did not attend smoking cessation clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4N.00,Read,Did not attend mental health appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4N000,Read,DNA child and adolescent mental health service appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4N100,Read,Did not attend CAMHS choice appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4N200,Read,Did not attend CAMHS partnership appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4N300,Read,Did not attend CAMHS return appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4o.00,Read,Did not attend blood test,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4p.00,Read,Did not attend diabetic retinopathy clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4Q.00,Read,DNA - Did not attend asthma clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4r.00,Read,Did not attend cognitive behaviour therapy,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4R.00,Read,DNA - Did not attend cryotherapy clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4s.00,Read,Did not attend practice nurse heart failure clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4S.00,Read,DNA - Did not attend cancer clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4t.00,Read,DNA - Did not attend mental health review,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4T.00,Read,DNA - Did not attend hyperthyroidism clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4u.00,Read,Did not attend community anticoagulation clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4v.00,Read,Did not attend weight monitoring clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4V.00,Read,DNA - Did not attend epilepsy clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4w.00,Read,Did not attend heart failure clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4W.00,Read,DNA - Did not attend COPD clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4x.00,Read,Did not attend GP chronic disease monitoring clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4X.00,Read,DNA - Did not attend stroke clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4y.00,Read,Did not attend breast screening clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4Y.00,Read,Did not attend physiotherapy appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4Z.00,Read,Failed encounter NOS,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N4z200,Read,DNA diphtheria; tetanus; acellular pertussis and polio vaccn,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9N8C.00,Read,Number of appointments missed,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NC3200,Read,Letter sent about missed general practitioner appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NFb100,Read,DNA health visitor 3 to 4 month contact with family,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NFC.00,Read,Home visit - no reply,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni..00,Read,Did not attend,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni0.00,Read,Did not attend retinal screening,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni1.00,Read,Did not attend renal clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni2.00,Read,Did not attend bowel cancer screening programme nurse clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni3.00,Read,Did not attend bowel cancer screening,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni8.00,Read,DNA cardiology spec interest general practitioner clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Ni9.00,Read,Did not attend chronic kidney disease monitoring clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nia.00,Read,Did not attend psychotherapy appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiA.00,Read,Did not attend diabetes structured education programme,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nib.00,Read,Did not attend walk in centre,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nic.00,Read,Did not attend fast track suspected cancer clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiC.00,Read,Did not attend DAFNE diabetes structured education programme,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nic000,Read,DNA fast track suspected gynaecological cancer clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nid.00,Read,Did not attend abdominal aortic aneurysm screening,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiD.00,Read,Did not attend DESMOND diabetes structured education program,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nie.00,Read,Did not attend NHS Health Check annual review,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiE.00,Read,Did not attend XPERT diabetes structured education programme,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiF.00,Read,Did not attend expert patients programme,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiG.00,Read,Did not attend minor surgery clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiH.00,Read,Did not attend hospital anticoagulation clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nij.00,Read,Did not attend postnatal examination,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiJ.00,Read,Did not attend general practitioner anticoagulant clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nik.00,Read,Did not attend counselling appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiK.00,Read,DNA hospital DMARD monitoring clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nil.00,Read,Did not attend antenatal appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiL.00,Read,DNA GP disease modifying antirheumatic drug monitor clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nim.00,Read,Did not attend nurse appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiM.00,Read,Did not attend cardiovascular disease risk assessment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nin.00,Read,Did not attend general practitioner appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiN.00,Read,DNA cardiovascular disease primary prevention programme,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nio.00,Read,Did not attend contraceptive clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiP.00,Read,Did not attend genitourinary medicine clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiS.00,Read,Did not attend NHS Health Check,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiT.00,Read,Did not attend cervical smear,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiV.00,Read,Did not attend spirometry clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiW.00,Read,Did not attend colposcopy clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiY.00,Read,Did not attend congenital heart disease clinic,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NiZ.00,Read,Did not attend diabetes foot screening,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nj..00,Read,Other failed encounter,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nj8.00,Read,Failed encounter - SMS text message delivery failure,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Nj8.11,Read,Failed encounter - SMS text message delivery failure,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9NjA.00,Read,Failed encounter - hospital appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Oe3.00,Read,Did not attend for community DMARD monitoring,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Oe3.11,Read,DNA community DMARD monitoring,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Oq9700,Read,NHSP incomplete as did not attend appointment,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9OqH000,Read,NAAASP initial screening incomplete; did not attend,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9OqH900,Read,NAAASP surveillance screening incomplete; did not attend,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9OWA.00,Read,Did not attend new patient screening,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
9Q11.00,Read,MRC coronary screen DNA,diagnostic,1072 - res201: Did not attend appointment,26/02/2023
\ No newline at end of file
code,description,coding_system,concept_id,concept_version_id,concept_name,phenotype_id,phenotype_version_id,phenotype_name,code_attributes
E203.00,Obsessive-compulsive disorders,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '3208.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
E203.11,Anancastic neurosis,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '47365.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
E203000,Compulsive neurosis,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '5678.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
E203100,Obsessional neurosis,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '2030.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
E203z00,Obsessive-compulsive disorder NOS,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '15566.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42.00,[X]Obsessive - compulsive disorder,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '5304.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42.11,[X]Anankastic neurosis,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '24251.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42.12,[X]Obsessive-compulsive neurosis,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '21836.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42000,[X]Predominantly obsessional thoughts or ruminations,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '20634.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42100,[X]Predominantly compulsive acts [obsessional rituals],Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '22019.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42200,[X]Mixed obsessional thoughts and acts,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '18399.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42y00,[X]Other obsessive-compulsive disorders,Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '38809.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
Eu42z00,"[X]Obsessive-compulsive disorder, unspecified",Read codes v2,C1320,3779,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Medcode': '22721.0', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
15566,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': 'Obsessive-compulsive disorder NOS', 'Readcode': 'E203z00'}"
18399,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Mixed obsessional thoughts and acts', 'Readcode': 'Eu42200'}"
2030,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': 'Obsessional neurosis', 'Readcode': 'E203100'}"
20634,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Predominantly obsessional thoughts or ruminations', 'Readcode': 'Eu42000'}"
21836,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Obsessive-compulsive neurosis', 'Readcode': 'Eu42.12'}"
22019,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Predominantly compulsive acts [obsessional rituals]', 'Readcode': 'Eu42100'}"
22721,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Obsessive-compulsive disorder, unspecified', 'Readcode': 'Eu42z00'}"
24251,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Anankastic neurosis', 'Readcode': 'Eu42.11'}"
3208,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': 'Obsessive-compulsive disorders', 'Readcode': 'E203.00'}"
38809,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Other obsessive-compulsive disorders', 'Readcode': 'Eu42y00'}"
47365,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': 'Anancastic neurosis', 'Readcode': 'E203.11'}"
5304,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': '[X]Obsessive - compulsive disorder', 'Readcode': 'Eu42.00'}"
5678,Diagnosis of Obsessive-compulsive disorder,Med codes,C1321,3781,Obsessive-compulsive disorder - Primary care,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'ReadcodeDescr': 'Compulsive neurosis', 'Readcode': 'E203000'}"
F42,Obsessive-compulsive disorder,ICD10 codes,C1322,3783,Obsessive-compulsive disorder - Secondary care - Diagnoses,PH223,446,Obsessive-compulsive disorder,"{'Disease': 'Obsessive-compulsive disorder', 'Category': 'Diagnosis of Obsessive-compulsive disorder'}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment