Skip to content

Commit

Permalink
codelists
Browse files Browse the repository at this point in the history
  • Loading branch information
johntaz committed May 27, 2021
1 parent b933aa8 commit 0dde3d2
Show file tree
Hide file tree
Showing 26 changed files with 7,557 additions and 1 deletion.
144 changes: 144 additions & 0 deletions codelists/codelists.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,150 @@
"url": "https://codelists.opensafely.org/codelist/user/john-tazare/aki-gp/55166af1/",
"downloaded_at": "2021-02-26 16:01:24.847084Z",
"sha": "40ab04bc6845b5263e9c5bf0b1a02805367ce7d2"
},
"opensafely-aplastic-anaemia.csv": {
"id": "opensafely/aplastic-anaemia/2020-04-24",
"url": "https://codelists.opensafely.org/codelist/opensafely/aplastic-anaemia/2020-04-24/",
"downloaded_at": "2021-05-27 20:56:29.584017Z",
"sha": "bd34ff54f789dce031e3581006cc0befcee0b35c"
},
"opensafely-asplenia.csv": {
"id": "opensafely/asplenia/2020-06-02",
"url": "https://codelists.opensafely.org/codelist/opensafely/asplenia/2020-06-02/",
"downloaded_at": "2021-05-27 20:56:29.840705Z",
"sha": "7599ea87a8f3d9d92389a728966d3077b00ac828"
},
"opensafely-asthma-diagnosis.csv": {
"id": "opensafely/asthma-diagnosis/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/asthma-diagnosis/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:30.126112Z",
"sha": "722a6ba77a1289a0941cfaa7ce0b9fa32c836f3c"
},
"opensafely-asthma-inhaler-salbutamol-medication.csv": {
"id": "opensafely/asthma-inhaler-salbutamol-medication/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/asthma-inhaler-salbutamol-medication/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:30.392361Z",
"sha": "d886f3ce53492ec456e0a304ee865d66e73715d6"
},
"opensafely-asthma-inhaler-steroid-medication.csv": {
"id": "opensafely/asthma-inhaler-steroid-medication/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/asthma-inhaler-steroid-medication/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:30.641686Z",
"sha": "d184aff205a5017c9e656d2be7484e3aaadc9cda"
},
"opensafely-bone-marrow-transplant.csv": {
"id": "opensafely/bone-marrow-transplant/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/bone-marrow-transplant/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:30.905330Z",
"sha": "3898cc82227c9268fd7e159c2531dfeb01c6f523"
},
"opensafely-cancer-excluding-lung-and-haematological.csv": {
"id": "opensafely/cancer-excluding-lung-and-haematological/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/cancer-excluding-lung-and-haematological/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:31.215609Z",
"sha": "8fa1164b587028c4bd5903289e0948642d399e56"
},
"opensafely-chemotherapy-or-radiotherapy-updated.csv": {
"id": "opensafely/chemotherapy-or-radiotherapy-updated/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/chemotherapy-or-radiotherapy-updated/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:31.485243Z",
"sha": "cbe7b611b3a811fa79f6eb607b357e14f1361e40"
},
"opensafely-chronic-cardiac-disease.csv": {
"id": "opensafely/chronic-cardiac-disease/2020-04-08",
"url": "https://codelists.opensafely.org/codelist/opensafely/chronic-cardiac-disease/2020-04-08/",
"downloaded_at": "2021-05-27 20:56:31.769030Z",
"sha": "2267f6fada9c77a2bbf62ce7a1c07ddf48348d61"
},
"opensafely-chronic-liver-disease.csv": {
"id": "opensafely/chronic-liver-disease/2020-06-02",
"url": "https://codelists.opensafely.org/codelist/opensafely/chronic-liver-disease/2020-06-02/",
"downloaded_at": "2021-05-27 20:56:32.031362Z",
"sha": "d31d212d23c5f0e15f63236d2106282fb070bd7c"
},
"opensafely-chronic-respiratory-disease.csv": {
"id": "opensafely/chronic-respiratory-disease/2020-04-10",
"url": "https://codelists.opensafely.org/codelist/opensafely/chronic-respiratory-disease/2020-04-10/",
"downloaded_at": "2021-05-27 20:56:32.275349Z",
"sha": "77946d9b844f348daf5c8c9e81346b9776d13998"
},
"opensafely-dementia-complete.csv": {
"id": "opensafely/dementia-complete/48c76cf8",
"url": "https://codelists.opensafely.org/codelist/opensafely/dementia-complete/48c76cf8/",
"downloaded_at": "2021-05-27 20:56:32.554355Z",
"sha": "b73c9363f19a9ee9f4407e34e95e11d3eeb615f4"
},
"opensafely-gi-bleed-or-ulcer.csv": {
"id": "opensafely/gi-bleed-or-ulcer/2020-04-08",
"url": "https://codelists.opensafely.org/codelist/opensafely/gi-bleed-or-ulcer/2020-04-08/",
"downloaded_at": "2021-05-27 20:56:32.848913Z",
"sha": "aa378d97c3ad4fcef4f68042b6052d455ebf1c7f"
},
"opensafely-haematological-cancer.csv": {
"id": "opensafely/haematological-cancer/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/haematological-cancer/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:33.195774Z",
"sha": "59d65c613a7b984ba46eca8a74eedcc6320609fe"
},
"opensafely-hiv.csv": {
"id": "opensafely/hiv/2020-07-13",
"url": "https://codelists.opensafely.org/codelist/opensafely/hiv/2020-07-13/",
"downloaded_at": "2021-05-27 20:56:33.483449Z",
"sha": "c36a629c306e57081f702c3f30671364e452a3ee"
},
"opensafely-inflammatory-bowel-disease.csv": {
"id": "opensafely/inflammatory-bowel-disease/2020-04-07",
"url": "https://codelists.opensafely.org/codelist/opensafely/inflammatory-bowel-disease/2020-04-07/",
"downloaded_at": "2021-05-27 20:56:33.745186Z",
"sha": "cd2175107ab3e81151fc31cd8ffd754ce5902f8b"
},
"opensafely-lung-cancer.csv": {
"id": "opensafely/lung-cancer/2020-04-15",
"url": "https://codelists.opensafely.org/codelist/opensafely/lung-cancer/2020-04-15/",
"downloaded_at": "2021-05-27 20:56:34.002794Z",
"sha": "645584a20f81c4d76187a2c305c904e8b8c63dbb"
},
"opensafely-other-neurological-conditions.csv": {
"id": "opensafely/other-neurological-conditions/2020-06-02",
"url": "https://codelists.opensafely.org/codelist/opensafely/other-neurological-conditions/2020-06-02/",
"downloaded_at": "2021-05-27 20:56:34.280973Z",
"sha": "855e7e09a0500401ae2429c6a401978e8c9075ec"
},
"opensafely-permanent-immunosuppression.csv": {
"id": "opensafely/permanent-immunosuppression/2020-06-02",
"url": "https://codelists.opensafely.org/codelist/opensafely/permanent-immunosuppression/2020-06-02/",
"downloaded_at": "2021-05-27 20:56:34.551152Z",
"sha": "15dd49a1cbc8b8e9f4a9e05bbcbeb45b4e03106e"
},
"opensafely-asthma-oral-prednisolone-medication.csv": {
"id": "opensafely/asthma-oral-prednisolone-medication/2020-04-27",
"url": "https://codelists.opensafely.org/codelist/opensafely/asthma-oral-prednisolone-medication/2020-04-27/",
"downloaded_at": "2021-05-27 20:56:34.824025Z",
"sha": "e47cc254975c23f7507cf04bb655454f8b5ece18"
},
"opensafely-ra-sle-psoriasis.csv": {
"id": "opensafely/ra-sle-psoriasis/2020-04-14",
"url": "https://codelists.opensafely.org/codelist/opensafely/ra-sle-psoriasis/2020-04-14/",
"downloaded_at": "2021-05-27 20:56:35.070719Z",
"sha": "51e59c80348f3b45f7ce323683a1df7cdb673c0e"
},
"opensafely-sickle-cell-disease.csv": {
"id": "opensafely/sickle-cell-disease/2020-04-14",
"url": "https://codelists.opensafely.org/codelist/opensafely/sickle-cell-disease/2020-04-14/",
"downloaded_at": "2021-05-27 20:56:35.343254Z",
"sha": "c30644d91b2c23e805f1ad6b723c30d1f4cc2191"
},
"opensafely-solid-organ-transplantation.csv": {
"id": "opensafely/solid-organ-transplantation/2020-04-10",
"url": "https://codelists.opensafely.org/codelist/opensafely/solid-organ-transplantation/2020-04-10/",
"downloaded_at": "2021-05-27 20:56:35.601321Z",
"sha": "94178a9e19770b9c43c08fe42df6ab5ed0d9ec49"
},
"opensafely-temporary-immunosuppression.csv": {
"id": "opensafely/temporary-immunosuppression/2020-04-24",
"url": "https://codelists.opensafely.org/codelist/opensafely/temporary-immunosuppression/2020-04-24/",
"downloaded_at": "2021-05-27 20:56:35.847095Z",
"sha": "99f6c0787e17e16430549a4cfb5084612faba2ac"
}
}
}
27 changes: 26 additions & 1 deletion codelists/codelists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,29 @@ opensafely/antidiabetic-drugs/2020-07-16
opensafely/insulin-medication/2020-04-26
opensafely/diabetic-ketoacidosis-secondary-care/6e975569
user/john-tazare/heart-failure-incident-only/22f78487
user/john-tazare/aki-gp/55166af1
user/john-tazare/aki-gp/55166af1
opensafely/hypertension/2020-04-28
opensafely/aplastic-anaemia/2020-04-24
opensafely/asplenia/2020-06-02
opensafely/asthma-diagnosis/2020-04-15
opensafely/asthma-inhaler-salbutamol-medication/2020-04-15
opensafely/asthma-inhaler-steroid-medication/2020-04-15
opensafely/bone-marrow-transplant/2020-04-15
opensafely/cancer-excluding-lung-and-haematological/2020-04-15
opensafely/chemotherapy-or-radiotherapy-updated/2020-04-15
opensafely/chronic-cardiac-disease/2020-04-08
opensafely/chronic-liver-disease/2020-06-02
opensafely/chronic-respiratory-disease/2020-04-10
opensafely/dementia-complete/48c76cf8
opensafely/gi-bleed-or-ulcer/2020-04-08
opensafely/haematological-cancer/2020-04-15
opensafely/hiv/2020-07-13
opensafely/inflammatory-bowel-disease/2020-04-07
opensafely/lung-cancer/2020-04-15
opensafely/other-neurological-conditions/2020-06-02
opensafely/permanent-immunosuppression/2020-06-02
opensafely/asthma-oral-prednisolone-medication/2020-04-27
opensafely/ra-sle-psoriasis/2020-04-14
opensafely/sickle-cell-disease/2020-04-14
opensafely/solid-organ-transplantation/2020-04-10
opensafely/temporary-immunosuppression/2020-04-24
42 changes: 42 additions & 0 deletions codelists/opensafely-aplastic-anaemia.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
CTV3ID,CTV3PreferredTermDesc,CTV3Source
D2...,Aplastic and other anaemias,CTV3Map_Code_And_Term
D20..,Aplastic anaemia,CTV3Map_Code_And_Term
D200.,(Anaem:[const aplas][fam hypopl])(pancytop+malf)(Black-Diam),CTV3_Children
D2000,"Anaemia: [congen hypoplastic]/[constit aplastic, no malform]",CTV3_Children
D2001,Fanconi's anaemia,CTV3Map_Code_And_Term
D2001,Fanconi's anaemia,CTV3Map_Code_Only
D2003,(RBC aplas/hypoplas: [named variants]) or (Blackf-Diam synd),CTV3_Children
D200y,Other specified constitutional aplastic anaemia,CTV3Map_Code_And_Term
D200z,Constitutional aplastic anaemia NOS,CTV3_Children
D201.,Anaemia: [acquired aplastic] or [normocytic due to aplasia],CTV3_Children
D2010,Aplastic anaemia due to chronic disease,CTV3Map_Code_And_Term
D2011,Anaemia: [aplast due drug][hypoplast due drug or chem subst],CTV3_Children
D2012,Aplastic anaemia due to infection,CTV3Map_Code_And_Term
D2012,Aplastic anaemia due to infection,CTV3Map_Code_Only
D2013,Aplastic anaemia due to radiation,CTV3Map_Code_And_Term
D2013,Aplastic anaemia due to radiation,CTV3Map_Code_Only
D2014,Aplastic anaemia due to toxic cause,CTV3Map_Code_And_Term
D2014,Aplastic anaemia due to toxic cause,CTV3Map_Code_Only
D2017,Transient hypoplastic anaemia,CTV3_Children
D204.,Idiopathic aplastic anaemia,CTV3Map_Code_And_Term
D20z.,Aplastic anaemia NOS,CTV3Map_Code_And_Term
Dyu21,[X]Other specified aplastic anaemias,CTV3_Children
X20CO,Pancytopenia with pancreatitis,CTV3Map_Code_Only
X20CP,Constitutional aplastic anaemia without malformation,CTV3Map_Code_And_Term
X20CP,Constitutional aplastic anaemia without malformation,CTV3Map_Code_Only
X30Jq,Congenital Fanconi syndrome,CTV3Map_Code_And_Term
X30Jr,Acquired Fanconi syndrome,CTV3Map_Code_And_Term
X30Jr,Acquired Fanconi syndrome,CTV3Map_Code_Only
X30Js,Adult Fanconi syndrome,CTV3Map_Code_And_Term
X70Jk,Parvoviral aplastic crisis,QOF
XE13q,Constitutional aplastic anaemia,CTV3Map_Code_And_Term
XE13q,Constitutional aplastic anaemia,CTV3Map_Code_Only
XE13r,Constitutional aplastic anaemia with malformation,CTV3Map_Code_And_Term
XE13r,Constitutional aplastic anaemia with malformation,CTV3Map_Code_Only
XE13t,Acquired aplastic anaemia,CTV3Map_Code_And_Term
XE13u,Aplastic anaemia due to drugs,CTV3Map_Code_And_Term
XE13u,Aplastic anaemia due to drugs,CTV3Map_Code_Only
XE13w,Acquired aplastic anaemia NOS,CTV3Map_Code_And_Term
XE14g,Anaemia: [aplastic and other] or [aplastic] or [hypoblastic],High_Level_SNOMED
XM1Qy,Pancytopenia-dysmelia,CTV3Map_Code_And_Term
XM1Qy,Pancytopenia-dysmelia,CTV3Map_Code_Only
51 changes: 51 additions & 0 deletions codelists/opensafely-asplenia.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
CTV3ID,CTV3PreferredTermDesc,CTV3Source
14N7.,H/O splenectomy,CTV3Map_Code_And_Term
7840.,Total splenectomy,CTV3Map_Code_And_Term
7840.,Total splenectomy,CTV3Map_Code_Only
7840.,Total splenectomy,QOF
78400,Total splenectomy and reimplantation of fragments,CTV3Map_Code_And_Term
78401,Total splenectomy,High_Level_SNOMED
78403,Splenectomy NEC,CTV3Map_Code_And_Term
78403,Splenectomy NEC,QOF
7840y,Other specified total excision of spleen,CTV3Map_Code_And_Term
7840y,Other specified total excision of spleen,QOF
7840z,Total excision of spleen NOS,CTV3Map_Code_And_Term
7840z,Total excision of spleen NOS,QOF
7841.,Other excision of spleen,CTV3Map_Code_And_Term
7841.,Other excision of spleen,QOF
78410,Partial splenectomy,CTV3Map_Code_And_Term
7841y,Other specified other excision of spleen,CTV3Map_Code_And_Term
7841y,Other specified other excision of spleen,QOF
7841z,Other excision of spleen NOS,CTV3Map_Code_And_Term
7841z,Other excision of spleen NOS,QOF
78421,Embolisation of spleen,CTV3Map_Code_And_Term
A8410,Plasmodium vivax malaria with rupture of spleen,QOF
D4154,Atrophy of spleen,CTV3Map_Code_And_Term
D4154,Atrophy of spleen,QOF
D4156,Splenic fibrosis,CTV3Map_Code_And_Term
D4156,Splenic fibrosis,QOF
D4157,Infarction of spleen,CTV3Map_Code_And_Term
D4157,Infarction of spleen,QOF
G74y6,Embolism and thrombosis of the splenic artery,CTV3Map_Code_And_Term
PK01.,(Absent spleen) or (asplenia),High_Level_SNOMED
PK06.,Hypoplasia of spleen,CTV3Map_Code_And_Term
PK06.,Hypoplasia of spleen,QOF
Ua1JD,Subtotal splenectomy,CTV3_Children
X205i,Splenic vein thrombosis,QOF
X20BK,Splenectomy,QOF
X20Fp,Post-splenectomy leucocytosis,QOF
XA07k,Avulsion of spleen,QOF
XE1Mi,Congenital absence of spleen,CTV3Map_Code_And_Term
XE1Mi,Congenital absence of spleen,CTV3Map_Code_Only
XE1Mi,Congenital absence of spleen,QOF
XM1OF,Congenital syphilitic splenomegaly,CTV3Map_Code_And_Term
Xa0hO,Hyposplenism,CTV3Map_Code_And_Term
Xa0hO,Hyposplenism,QOF
Xa7Ya,Spleen absent,CTV3Map_Code_And_Term
Xa7Ya,Spleen absent,CTV3Map_Code_Only
Xa7Ya,Spleen absent,QOF
Xa9D7,Hereditary splenic hypoplasia,QOF
XaEXw,Laparoscopic total splenectomy,CTV3Map_Code_And_Term
XaEXw,Laparoscopic total splenectomy,QOF
XaZvR,Acquired absence of spleen,CTV3_Children
XaZvR,Acquired absence of spleen,QOF
Loading

0 comments on commit 0dde3d2

Please sign in to comment.