Skip to content

Commit

Permalink
Add codelists
Browse files Browse the repository at this point in the history
  • Loading branch information
pstone22 committed Jan 24, 2023
1 parent 9c6573d commit 34878be
Show file tree
Hide file tree
Showing 36 changed files with 3,254 additions and 0 deletions.
12 changes: 12 additions & 0 deletions codelists/CSV/aecopd.dta.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
medcodeid,snomedctconceptid,snomedctdescriptionid,originalreadcode,cleansedreadcode,term,aecopd
"7970171000006119","1751000119100","2967380018","^ESCTAC797017","","Acute exacerbation of chronic obstructive airways disease with asthma",1
"4781421000006111","195951007","3012683010","^ESCTAC478142","","Acute exacerbation of COPD",1
"4781431000006114","195951007","3012710012","^ESCTAC478143","","Acute exacerbation of chronic obstructive pulmonary disease",1
"301453013","195951007","301453013","H3122","H312200","Acute exacerbation of chronic obstructive airways disease",1
"553211000006119","195951007","301453013","H3y1","H3y1.00","Chron obstruct pulmonary dis wth acute exacerbation, unspec",1
"424365019","285381006","424365019","ESCTAC8","","Acute infective exacerbation of chronic obstructive airways disease",1
"2160051010","408501008","3082901016","8H2R","8H2R.00","Emergency hospital admission for chronic obstructive pulmonary disease",1
"6763251000006114","408501008","3082978011","^ESCTEM676325","","Emergency hospital admission for COPD (chronic obstructive pulmonary disease)",1
"1173471000000110","525691000000103","1173471000000110","8BP8","8BP8.00","Antibiotic therapy for acute pulmonary exacerbation",1
"2010061000006113","847091000000104","2196421000000114","EMISNQAC878","","Acute non-infective exacerbation of chronic obstructive pulmonary disease",1
"8287171000006115","847091000000104","2196431000000111","^ESCTAC828717","","Acute non-infective exacerbation of COPD (chronic obstructive pulmonary disease)",1
8 changes: 8 additions & 0 deletions codelists/CSV/annual_review.dta.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
medcodeid,snomedctconceptid,snomedctdescriptionid,originalreadcode,cleansedreadcode,term,copd_annualreview
"1771201000006116","1771201000006100","1771201000006116","EMISNQCH80","","Chronic obstructive pulmonary disease multidisciplinary review",1
"1488424013","394703002","1488424013","66YM","66YM.00","Chronic obstructive pulmonary disease annual review",1
"1683181000000112","760601000000107","1683181000000112","66YB0","66YB000","Chronic obstructive pulmonary disease 3 monthly review",1
"8235101000006114","760601000000107","1709911000000112","^ESCTCO823510","","COPD (chronic obstructive pulmonary disease) 3 monthly review",1
"1683221000000119","760621000000103","1683221000000119","66YB1","66YB100","Chronic obstructive pulmonary disease 6 monthly review",1
"8235131000006118","760621000000103","1710191000000113","^ESCTCO823513","","COPD (chronic obstructive pulmonary disease) 6 monthly review",1
"939991000006112","939991000006108","939991000006112","EMISNQCO1","","COPD medication review",1
190 changes: 190 additions & 0 deletions codelists/CSV/asthma_codes_for_current_cases_189.dta.csv

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions codelists/CSV/breathlessness.dta.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
medcodeid,snomedctconceptid,snomedctdescriptionid,originalreadcode,cleansedreadcode,term,aecopd_breathlessness,copd_chronic_breathlessness
"13821631000006119","","","","","",0,1
"13821641000006112","","","","","",0,1
"13821621000006117","","","","","",0,1
"13821651000006114","","","","","",0,1
"13821611000006113","","","","","",0,1
"13821601000006110","","","","","",0,1
"2002191000006115","1060991000000107","2667011000000113","EMISNQMR1","","MRC (Medical Research Council) Breathlessness Scale grade 5a",0,1
"2002201000006117","1061001000000106","2667031000000117","EMISNQMR2","","MRC (Medical Research Council) Breathlessness Scale grade 5b",0,1
"2730801000000116","1089971000000104","2730801000000116","^ESCT1171833","","eMRC (extended Medical Research Council) dyspnoea scale grade 1",0,1
"2730821000000113","1089981000000102","2730821000000113","^ESCT1171834","","eMRC (extended Medical Research Council) dyspnoea scale grade 2",0,1
"2730841000000118","1089991000000100","2730841000000118","^ESCT1171835","","eMRC (extended Medical Research Council) dyspnoea scale grade 3",0,1
"2730861000000117","1090001000000101","2730861000000117","^ESCT1171836","","eMRC (extended Medical Research Council) dyspnoea scale grade 5a",0,1
"2730881000000114","1090011000000104","2730881000000114","^ESCT1171837","","eMRC (extended Medical Research Council) dyspnoea scale grade 4",0,1
"12117601000006112","1099371000000102","2752271000000113","^ESCT1211760","","mMRC (modified Medical Research Council) dyspnoea scale grade 0",0,1
"12117611000006110","1099381000000100","2752291000000112","^ESCT1211761","","mMRC (modified Medical Research Council) dyspnoea scale grade 1",0,1
"12117621000006119","1099391000000103","2752311000000113","^ESCT1211762","","mMRC (modified Medical Research Council) dyspnoea scale grade 2",0,1
"12117631000006116","1099401000000100","2752331000000117","^ESCT1211763","","mMRC (modified Medical Research Council) dyspnoea scale grade 3",0,1
"12117641000006114","1099411000000103","2752351000000112","^ESCT1211764","","mMRC (modified Medical Research Council) dyspnoea scale grade 4",0,1
"252385016","161939006","252385016","1732","1732.00","Breathless - moderate exertion",0,1
"252386015","161940008","252386015","1733","1733.00","Breathless - mild exertion",0,1
"252387012","161941007","252387012","1734","1734.00","Breathless - at rest",0,1
"4545441000006113","161941007","252388019","^ESCTSO454544","","SOBAR - Shortness of breath at rest",0,1
"4545421000006118","161941007","252389010","^ESCTDY454542","","Dyspnoea at rest",1,1
"253889014","162890008","253889014","2322","2322.00","O/E - dyspnoea",1,0
"253892013","162892000","253892013","2324","2324.00","O/E - respiratory distress",1,0
"1807841000006119","1807841000006103","1807841000006119","EMISNQOE22","","O/E - dyspnoea at rest",1,0
"1807851000006117","1807851000006101","1807851000006117","EMISNQOE23","","O/E - dyspnoea on exertion",0,1
"1970561000006119","1970561000006103","1970561000006119","EMISNQCO271","","COPD assessment test score - breathless walking up hill/stairs",0,1
"344917018","230145002","344917018","1738","1738.00","Difficulty breathing",1,1
"5004081000006113","230145002","344919015","^ESCTDI500408","","DIB - Difficulty in breathing",1,0
"371012016","248548009","371012016","173D","173D.00","Nocturnal dyspnoea",0,1
"5497731000006112","267036007","397885013","^ESCTDY549773","","Dyspnea",0,1
"317395018","267036007","397886014","R060A","R060A00","[D]Dyspnoea",1,0
"633381000006111","267036007","397886014","173-2","173..12","Dyspnoea - symptom",1,1
"525741000006111","267036007","397886014","173-1","173..11","Breathlessness symptom",1,1
"140461000006116","267036007","397886014","173-3","173..13","Dyspnoea",0,1
"5497741000006119","267036007","397887017","^ESCTBR549774","","Breathless",1,0
"397888010","267036007","397888010","173","173..00","Breathlessness",1,1
"252412011","267036007","397888010","173Z","173Z.00","Breathlessness NOS",1,1
"451467013","267036007","397888010","R060D","R060D00","[D]Breathlessness",1,0
"5497761000006115","267036007","397889019","^ESCTSO549776","","SOB - Shortness of breath",1,1
"397890011","267036007","397890011","1739","1739.00","Shortness of breath",0,1
"317392015","267036007","397890011","R0608","R060800","[D]Shortness of breath",1,0
"5529941000006111","271823003","1490286012","^ESCTTA552994","","Tachypnoeic",1,0
"5529951000006113","271823003","1490518017","^ESCTTA552995","","Tachypneic",1,0
"11905791000006119","271823003","406796019","^ESCT1190579","","Tachypnea",1,0
"5529931000006118","271823003","406798018","^ESCTRA552993","","Rapid breathing",1,0
"317386014","271823003","406799014","R0603","R060300","Tachypnoea",1,0
"317390011","271825005","406803010","R0606","R060600","Respiratory distress",1,0
"5530001000006115","271825005","406804016","^ESCTDI553000","","Distressed breathing",1,0
"1484903015","390870001","1484903015","173F","173F.00","Short of breath dressing/undressing",0,1
"1484904014","390871002","1484904014","173G","173G.00","Breathless - strenuous exertion",0,1
"1485144011","391120009","1485144011","173H","173H.00","MRC Breathlessness Scale: grade 1",0,1
"1485147016","391123006","1485147016","173I","173I.00","MRC Breathlessness Scale: grade 2",0,1
"1485148014","391124000","1485148014","173J","173J.00","MRC Breathlessness Scale: grade 3",0,1
"1485149018","391125004","1485149018","173K","173K.00","MRC Breathlessness Scale: grade 4",0,1
"1485150018","391126003","1485150018","173L","173L.00","MRC Breathlessness Scale: grade 5",0,1
"1780468018","401279002","1780468018","173P","173P.00","Borg Breathlessness Score: 1 very slight",0,1
"1780469014","401280004","1780469014","173Q","173Q.00","Borg Breathlessness Score: 2 slight",0,1
"1780470010","401281000","1780470010","173R","173R.00","Borg Breathlessness Score: 3 moderate",0,1
"1780471014","401282007","1780471014","173S","173S.00","Borg Breathlessness Score: 4 somewhat severe",0,1
"1780473012","401284008","1780473012","173T","173T.00","Borg Breathlessness Score: 5 severe",0,1
"1780475017","401286005","1780475017","173V","173V.00","Borg Breathlessness Score: 6 severe (+)",0,1
"1780479011","401290007","1780479011","173W","173W.00","Borg Breathlessness Score: 7 very severe",0,1
"1780480014","401291006","1780480014","173X","173X.00","Borg Breathlessness Score: 8 very severe (+)",0,1
"911011000006110","401292004","1780481013","173Y","173Y.00","Borg Breathlessness Score: 9 very, very severe (almost maximal)",0,1
"1780482018","401293009","1780482018","173a","173a.00","Borg Breathlessness Score: 10 maximal",0,1
"2159189012","407588003","2159189012","173b","173b.00","Unable to complete a sentence in one breath",1,1
"198599018","55442000","198599018","1736","1736.00","Paroxysmal nocturnal dyspnoea",0,1
"3488341000006110","60845006","101102017","^ESCTEX348834","","Exertional dyspnea",0,1
"3488371000006119","60845006","101105015","^ESCTDY348837","","Dyspnoea on effort",0,1
"1232138017","60845006","1232138017","173C","173C.00","Short of breath on exertion",0,1
"3488411000006118","60845006","1232139013","^ESCTSO348841","","SOBOE - Shortness of breath on exertion",0,1
"3488381000006116","60845006","199001013","^ESCTEX348838","","Exertional dyspnoea",0,1
"498862013","60845006","498862013","173C-1","173C.11","Dyspnoea on exertion",0,1
"910901000006116","60845006","498862013","173C-2","173C.12","SOBOE",1,1
"11905591000006110","62744007","104280017","^ESCT1190559","","Orthopnea",0,1
"41791000006118","62744007","104281018","1735-1","1735.11","Orthopnoea",0,1
"525691000006114","62744007","1232389014","1735","1735.00","Breathlessness lying flat",0,1
"2287881000000112","702581006","2390171000000112","173g","173g.00","Breathlessness causing difficulty eating",0,1
"2379631000000117","713661000","3292644018","173h","173h.00","Able to complete sentence in one breath",1,0
"3792111000006118","79451004","131814014","^ESCTBR379211","","Bronchial breathing",1,0
"12371301000006113","859231000000103","2752581000000112","^ESCT1237130","","MRC (Medical Research Council) dyspnoea scale",0,1
"961761000006112","961761000006108","961761000006112","EMISCAB17","","Abnormal breathing patterns",1,0
"961841000006118","961841000006102","961841000006118","EMISCAB19","","Abnormal breath sounds",1,0
"982351000006118","982351000006102","982351000006118","EMISCDY2","","Dyspnoea",1,0
52 changes: 52 additions & 0 deletions codelists/CSV/copd_incident.dta.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
medcodeid,snomedctconceptid,snomedctdescriptionid,originalreadcode,cleansedreadcode,term,copd_incident
"12116291000006116","1097861000000108","2749031000000112","^ESCT1211629","","GOLD (Global Initiative for Chronic Obstructive Lung Disease) 2017 group",1
"12116301000006115","1097871000000101","2749051000000117","^ESCT1211630","","GOLD (Global Initiative for Chronic Obstructive Lung Disease) 2017 group A",1
"12116311000006117","1097881000000104","2749071000000114","^ESCT1211631","","GOLD (Global Initiative for Chronic Obstructive Lung Disease) 2017 group B",1
"12116321000006113","1097891000000102","2749091000000113","^ESCT1211632","","GOLD (Global Initiative for Chronic Obstructive Lung Disease) 2017 group C",1
"12116331000006111","1097901000000101","2749111000000115","^ESCT1211633","","GOLD (Global Initiative for Chronic Obstructive Lung Disease) 2017 group D",1
"11932331000006115","11932331000006104","11932331000006115","EMISNQCO295","","COPD GOLD group A",1
"11932341000006113","11932341000006109","11932341000006113","EMISNQCO296","","COPD GOLD group B",1
"11932351000006110","11932351000006106","11932351000006110","EMISNQCO297","","COPD GOLD group C",1
"11932361000006112","11932361000006108","11932361000006112","EMISNQCO298","","COPD GOLD group D",1
"216596014","135836000","216596014","H3A","H3A..00","End stage chronic obstructive airways disease",1
"4510801000006114","135836000","3034045017","^ESCTEN451080","","End stage chronic obstructive pulmonary disease",1
"2716231000006114","13645005","23287019","^ESCTCH271623","","Chronic obstructive lung disease",1
"555471000006114","13645005","475423015","H3-1","H3...11","COAD - Chronic obstructive airways disease",1
"2716321000006116","13645005","475427019","^ESCTCO271632","","COPD - Chronic obstructive pulmonary disease",1
"301545019","13645005","475428012","H3z","H3z..00","Chronic obstructive airway disease",1
"301539010","13645005","475428012","H3y","H3y..00","Other specified chronic obstructive airways disease",1
"2716351000006113","13645005","475430014","^ESCTCO271635","","COLD - Chronic obstructive lung disease",1
"1222335015","13645005","475431013","H3z-1","H3z..11","Chronic obstructive pulmonary disease NOS",1
"301836011","13645005","475431013","Hyu31","Hyu3100","[X]Other specified chronic obstructive pulmonary disease",1
"1222334016","13645005","475431013","H3y-1","H3y..11","Other specified chronic obstructive pulmonary disease",1
"475431013","13645005","475431013","H3","H3...00","Chronic obstructive pulmonary disease",1
"990641000006110","13645005","990641000006110","H3-99","H3...99","Chronic obst. pulm. dis. NOS",1
"27096010","16003001","27096010","H3202","H320200","Giant bullous emphysema",1
"1823851000006119","1823851000006103","1823851000006119","EMISNQCH102","","Chronic obstructive pulmonary disease confirmed",1
"4732991000006119","185086009","285101015","^ESCTCH473299","","Chronic bronchitis with emphysema",1
"4781421000006111","195951007","3012683010","^ESCTAC478142","","Acute exacerbation of COPD",1
"4781431000006114","195951007","3012710012","^ESCTAC478143","","Acute exacerbation of chronic obstructive pulmonary disease",1
"553211000006119","195951007","301453013","H3y1","H3y1.00","Chron obstruct pulmonary dis wth acute exacerbation, unspec",1
"301453013","195951007","301453013","H3122","H312200","Acute exacerbation of chronic obstructive airways disease",1
"4781461000006117","195957006","301461015","^ESCTEM478146","","Emphysematous bulla",1
"4781471000006112","195957006","301462010","^ESCTBU478147","","Bullous emphysema",1
"555461000006119","196001008","301542016","H3y0","H3y0.00","Chronic obstructive pulmonary disease with acute lower respiratory infection",1
"424365019","285381006","424365019","ESCTAC8","","Acute infective exacerbation of chronic obstructive airways disease",1
"516801000000112","293991000000106","516801000000112","H39","H39..00","Very severe chronic obstructive pulmonary disease",1
"457168017","313296004","457168017","H36","H36..00","Mild chronic obstructive pulmonary disease",1
"457169013","313297008","457169013","H37","H37..00","Moderate chronic obstructive pulmonary disease",1
"457171013","313299006","457171013","H38","H38..00","Severe chronic obstructive pulmonary disease",1
"2160051010","408501008","3082901016","8H2R","8H2R.00","Emergency hospital admission for chronic obstructive pulmonary disease",1
"6763251000006114","408501008","3082978011","^ESCTEM676325","","Emergency hospital admission for COPD (chronic obstructive pulmonary disease)",1
"3295361000006115","49158009","81891017","^ESCTEM329536","","Emphysema",1
"2578881000006118","4981000","9336013","^ESCTPA257888","","Panacinar emphysema",1
"113497011","68328006","113497011","H322","H322.00","Centrilobular emphysema",1
"2010061000006113","847091000000104","2196421000000114","EMISNQAC878","","Acute non-infective exacerbation of chronic obstructive pulmonary disease",1
"8287171000006115","847091000000104","2196431000000111","^ESCTAC828717","","Acute non-infective exacerbation of COPD (chronic obstructive pulmonary disease)",1
"2199261000000110","848431000000106","2199261000000110","8CMW5","8CMW500","Chronic obstructive pulmonary disease care pathway",1
"640491000006111","87433001","144964015","H32","H32..00","Pulmonary emphysema",1
"396110016","87433001","144964015","H32yz","H32yz00","Other emphysema NOS",1
"301835010","87433001","144964015","Hyu30","Hyu3000","[X]Other emphysema",1
"301477019","87433001","144964015","H32z","H32z.00","Emphysema NOS",1
"909711000006111","909711000006107","909711000006111","HNGNQRF16","","[RFC] Chronic obstructive pulmonary disease (COPD)",1
"909721000006115","909721000006104","909721000006115","HNGNQRF17","","[RFC] Emphysema",1
Loading

0 comments on commit 34878be

Please sign in to comment.