awacke1 commited on
Commit
651a9a1
0 Parent(s):

Duplicate from DataScienceEngineering/7-NER-Biomed-ClinicalTerms

Browse files
.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ LoincTableCore.csv filter=lfs diff=lfs merge=lfs -text
36
+ PanelsAndForms-ACW1208Labeled.csv filter=lfs diff=lfs merge=lfs -text
ICD10Diagnosis.csv ADDED
The diff for this file is too large to render. See raw diff
 
ICD10Terms.txt ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ICD10 matches for : syncope G9001 Carotid sinus syncope
2
+ ICD10 matches for : syncope R054 Cough syncope
3
+ ICD10 matches for : syncope R55 Syncope and collapse
4
+ ICD10 matches for : syncope T671XXA Heat syncope, initial encounter
5
+ ICD10 matches for : syncope T671XXD Heat syncope, subsequent encounter
6
+ ICD10 matches for : syncope T671XXS Heat syncope, sequela
7
+ ICD10 matches for : syncope G9001 Carotid sinus syncope
8
+ ICD10 matches for : syncope R054 Cough syncope
9
+ ICD10 matches for : syncope R55 Syncope and collapse
10
+ ICD10 matches for : syncope T671XXA Heat syncope, initial encounter
11
+ ICD10 matches for : syncope T671XXD Heat syncope, subsequent encounter
12
+ ICD10 matches for : syncope T671XXS Heat syncope, sequela
13
+ ICD10 matches for : zziness R42 Dizziness and giddiness
14
+ ICD10 matches for : zziness R42 Dizziness and giddiness
15
+ ICD10 matches for : reactions F438 Other reactions to severe stress
16
+ ICD10 matches for : reactions M364 Arthropathy in hypersensitivity reactions classified elsewhere
17
+ ICD10 matches for : reactions P938 Other reactions and intoxications due to drugs administered to newborn
18
+ ICD10 matches for : reactions T781XXA Other adverse food reactions, not elsewhere classified, initial encounter
19
+ ICD10 matches for : reactions T781XXD Other adverse food reactions, not elsewhere classified, subsequent encounter
20
+ ICD10 matches for : reactions T781XXS Other adverse food reactions, not elsewhere classified, sequela
21
+ ICD10 matches for : phyla T7800XA Anaphylactic reaction due to unspecified food, initial encounter
22
+ ICD10 matches for : phyla T7800XD Anaphylactic reaction due to unspecified food, subsequent encounter
23
+ ICD10 matches for : phyla T7800XS Anaphylactic reaction due to unspecified food, sequela
24
+ ICD10 matches for : phyla T7801XA Anaphylactic reaction due to peanuts, initial encounter
25
+ ICD10 matches for : phyla T7801XD Anaphylactic reaction due to peanuts, subsequent encounter
26
+ ICD10 matches for : phyla T7801XS Anaphylactic reaction due to peanuts, sequela
27
+ ICD10 matches for : phyla T7802XA Anaphylactic reaction due to shellfish (crustaceans), initial encounter
28
+ ICD10 matches for : phyla T7802XD Anaphylactic reaction due to shellfish (crustaceans), subsequent encounter
29
+ ICD10 matches for : phyla T7802XS Anaphylactic reaction due to shellfish (crustaceans), sequela
30
+ ICD10 matches for : phyla T7803XA Anaphylactic reaction due to other fish, initial encounter
31
+ ICD10 matches for : phyla T7803XD Anaphylactic reaction due to other fish, subsequent encounter
32
+ ICD10 matches for : phyla T7803XS Anaphylactic reaction due to other fish, sequela
33
+ ICD10 matches for : phyla T7804XA Anaphylactic reaction due to fruits and vegetables, initial encounter
34
+ ICD10 matches for : phyla T7804XD Anaphylactic reaction due to fruits and vegetables, subsequent encounter
35
+ ICD10 matches for : phyla T7804XS Anaphylactic reaction due to fruits and vegetables, sequela
36
+ ICD10 matches for : phyla T7805XA Anaphylactic reaction due to tree nuts and seeds, initial encounter
37
+ ICD10 matches for : phyla T7805XD Anaphylactic reaction due to tree nuts and seeds, subsequent encounter
38
+ ICD10 matches for : phyla T7805XS Anaphylactic reaction due to tree nuts and seeds, sequela
39
+ ICD10 matches for : phyla T7806XA Anaphylactic reaction due to food additives, initial encounter
40
+ ICD10 matches for : phyla T7806XD Anaphylactic reaction due to food additives, subsequent encounter
41
+ ICD10 matches for : phyla T7806XS Anaphylactic reaction due to food additives, sequela
42
+ ICD10 matches for : phyla T7807XA Anaphylactic reaction due to milk and dairy products, initial encounter
43
+ ICD10 matches for : phyla T7807XD Anaphylactic reaction due to milk and dairy products, subsequent encounter
44
+ ICD10 matches for : phyla T7807XS Anaphylactic reaction due to milk and dairy products, sequela
45
+ ICD10 matches for : phyla T7808XA Anaphylactic reaction due to eggs, initial encounter
46
+ ICD10 matches for : phyla T7808XD Anaphylactic reaction due to eggs, subsequent encounter
47
+ ICD10 matches for : phyla T7808XS Anaphylactic reaction due to eggs, sequela
48
+ ICD10 matches for : phyla T7809XA Anaphylactic reaction due to other food products, initial encounter
49
+ ICD10 matches for : phyla T7809XD Anaphylactic reaction due to other food products, subsequent encounter
50
+ ICD10 matches for : phyla T7809XS Anaphylactic reaction due to other food products, sequela
51
+ ICD10 matches for : phyla T782XXA Anaphylactic shock, unspecified, initial encounter
52
+ ICD10 matches for : phyla T782XXD Anaphylactic shock, unspecified, subsequent encounter
53
+ ICD10 matches for : phyla T782XXS Anaphylactic shock, unspecified, sequela
54
+ ICD10 matches for : phyla T8051XA Anaphylactic reaction due to administration of blood and blood products, initial encounter
55
+ ICD10 matches for : phyla T8051XD Anaphylactic reaction due to administration of blood and blood products, subsequent encounter
56
+ ICD10 matches for : phyla T8051XS Anaphylactic reaction due to administration of blood and blood products, sequela
57
+ ICD10 matches for : phyla T8052XA Anaphylactic reaction due to vaccination, initial encounter
58
+ ICD10 matches for : phyla T8052XD Anaphylactic reaction due to vaccination, subsequent encounter
59
+ ICD10 matches for : phyla T8052XS Anaphylactic reaction due to vaccination, sequela
60
+ ICD10 matches for : phyla T8059XA Anaphylactic reaction due to other serum, initial encounter
61
+ ICD10 matches for : phyla T8059XD Anaphylactic reaction due to other serum, subsequent encounter
62
+ ICD10 matches for : phyla T8059XS Anaphylactic reaction due to other serum, sequela
63
+ ICD10 matches for : phyla T886XXA Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, initial encounter
64
+ ICD10 matches for : phyla T886XXD Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, subsequent encounter
65
+ ICD10 matches for : phyla T886XXS Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, sequela
66
+ ICD10 matches for : phyla Z2911 Encounter for prophylactic immunotherapy for respiratory syncytial virus (RSV)
67
+ ICD10 matches for : phyla Z2912 Encounter for prophylactic antivenin
68
+ ICD10 matches for : phyla Z2913 Encounter for prophylactic Rho(D) immune globulin
69
+ ICD10 matches for : phyla Z2914 Encounter for prophylactic rabies immune globin
70
+ ICD10 matches for : phyla Z293 Encounter for prophylactic fluoride administration
71
+ ICD10 matches for : phyla Z298 Encounter for other specified prophylactic measures
72
+ ICD10 matches for : phyla Z299 Encounter for prophylactic measures, unspecified
73
+ ICD10 matches for : phyla Z4000 Encounter for prophylactic removal of unspecified organ
74
+ ICD10 matches for : phyla Z4001 Encounter for prophylactic removal of breast
75
+ ICD10 matches for : phyla Z4002 Encounter for prophylactic removal of ovary(s)
76
+ ICD10 matches for : phyla Z4003 Encounter for prophylactic removal of fallopian tube(s)
77
+ ICD10 matches for : phyla Z4009 Encounter for prophylactic removal of other organ
78
+ ICD10 matches for : phyla Z408 Encounter for other prophylactic surgery
79
+ ICD10 matches for : phyla Z409 Encounter for prophylactic surgery, unspecified
80
+ ICD10 matches for : phyla Z87892 Personal history of anaphylaxis
81
+ ICD10 matches for : reactions F438 Other reactions to severe stress
82
+ ICD10 matches for : reactions M364 Arthropathy in hypersensitivity reactions classified elsewhere
83
+ ICD10 matches for : reactions P938 Other reactions and intoxications due to drugs administered to newborn
84
+ ICD10 matches for : reactions T781XXA Other adverse food reactions, not elsewhere classified, initial encounter
85
+ ICD10 matches for : reactions T781XXD Other adverse food reactions, not elsewhere classified, subsequent encounter
86
+ ICD10 matches for : reactions T781XXS Other adverse food reactions, not elsewhere classified, sequela
87
+ ICD10 matches for : shortness of R0602 Shortness of breath
88
+ ICD10 matches for : phyla T7800XA Anaphylactic reaction due to unspecified food, initial encounter
89
+ ICD10 matches for : phyla T7800XD Anaphylactic reaction due to unspecified food, subsequent encounter
90
+ ICD10 matches for : phyla T7800XS Anaphylactic reaction due to unspecified food, sequela
91
+ ICD10 matches for : phyla T7801XA Anaphylactic reaction due to peanuts, initial encounter
92
+ ICD10 matches for : phyla T7801XD Anaphylactic reaction due to peanuts, subsequent encounter
93
+ ICD10 matches for : phyla T7801XS Anaphylactic reaction due to peanuts, sequela
94
+ ICD10 matches for : phyla T7802XA Anaphylactic reaction due to shellfish (crustaceans), initial encounter
95
+ ICD10 matches for : phyla T7802XD Anaphylactic reaction due to shellfish (crustaceans), subsequent encounter
96
+ ICD10 matches for : phyla T7802XS Anaphylactic reaction due to shellfish (crustaceans), sequela
97
+ ICD10 matches for : phyla T7803XA Anaphylactic reaction due to other fish, initial encounter
98
+ ICD10 matches for : phyla T7803XD Anaphylactic reaction due to other fish, subsequent encounter
99
+ ICD10 matches for : phyla T7803XS Anaphylactic reaction due to other fish, sequela
100
+ ICD10 matches for : phyla T7804XA Anaphylactic reaction due to fruits and vegetables, initial encounter
101
+ ICD10 matches for : phyla T7804XD Anaphylactic reaction due to fruits and vegetables, subsequent encounter
102
+ ICD10 matches for : phyla T7804XS Anaphylactic reaction due to fruits and vegetables, sequela
103
+ ICD10 matches for : phyla T7805XA Anaphylactic reaction due to tree nuts and seeds, initial encounter
104
+ ICD10 matches for : phyla T7805XD Anaphylactic reaction due to tree nuts and seeds, subsequent encounter
105
+ ICD10 matches for : phyla T7805XS Anaphylactic reaction due to tree nuts and seeds, sequela
106
+ ICD10 matches for : phyla T7806XA Anaphylactic reaction due to food additives, initial encounter
107
+ ICD10 matches for : phyla T7806XD Anaphylactic reaction due to food additives, subsequent encounter
108
+ ICD10 matches for : phyla T7806XS Anaphylactic reaction due to food additives, sequela
109
+ ICD10 matches for : phyla T7807XA Anaphylactic reaction due to milk and dairy products, initial encounter
110
+ ICD10 matches for : phyla T7807XD Anaphylactic reaction due to milk and dairy products, subsequent encounter
111
+ ICD10 matches for : phyla T7807XS Anaphylactic reaction due to milk and dairy products, sequela
112
+ ICD10 matches for : phyla T7808XA Anaphylactic reaction due to eggs, initial encounter
113
+ ICD10 matches for : phyla T7808XD Anaphylactic reaction due to eggs, subsequent encounter
114
+ ICD10 matches for : phyla T7808XS Anaphylactic reaction due to eggs, sequela
115
+ ICD10 matches for : phyla T7809XA Anaphylactic reaction due to other food products, initial encounter
116
+ ICD10 matches for : phyla T7809XD Anaphylactic reaction due to other food products, subsequent encounter
117
+ ICD10 matches for : phyla T7809XS Anaphylactic reaction due to other food products, sequela
118
+ ICD10 matches for : phyla T782XXA Anaphylactic shock, unspecified, initial encounter
119
+ ICD10 matches for : phyla T782XXD Anaphylactic shock, unspecified, subsequent encounter
120
+ ICD10 matches for : phyla T782XXS Anaphylactic shock, unspecified, sequela
121
+ ICD10 matches for : phyla T8051XA Anaphylactic reaction due to administration of blood and blood products, initial encounter
122
+ ICD10 matches for : phyla T8051XD Anaphylactic reaction due to administration of blood and blood products, subsequent encounter
123
+ ICD10 matches for : phyla T8051XS Anaphylactic reaction due to administration of blood and blood products, sequela
124
+ ICD10 matches for : phyla T8052XA Anaphylactic reaction due to vaccination, initial encounter
125
+ ICD10 matches for : phyla T8052XD Anaphylactic reaction due to vaccination, subsequent encounter
126
+ ICD10 matches for : phyla T8052XS Anaphylactic reaction due to vaccination, sequela
127
+ ICD10 matches for : phyla T8059XA Anaphylactic reaction due to other serum, initial encounter
128
+ ICD10 matches for : phyla T8059XD Anaphylactic reaction due to other serum, subsequent encounter
129
+ ICD10 matches for : phyla T8059XS Anaphylactic reaction due to other serum, sequela
130
+ ICD10 matches for : phyla T886XXA Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, initial encounter
131
+ ICD10 matches for : phyla T886XXD Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, subsequent encounter
132
+ ICD10 matches for : phyla T886XXS Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, sequela
133
+ ICD10 matches for : phyla Z2911 Encounter for prophylactic immunotherapy for respiratory syncytial virus (RSV)
134
+ ICD10 matches for : phyla Z2912 Encounter for prophylactic antivenin
135
+ ICD10 matches for : phyla Z2913 Encounter for prophylactic Rho(D) immune globulin
136
+ ICD10 matches for : phyla Z2914 Encounter for prophylactic rabies immune globin
137
+ ICD10 matches for : phyla Z293 Encounter for prophylactic fluoride administration
138
+ ICD10 matches for : phyla Z298 Encounter for other specified prophylactic measures
139
+ ICD10 matches for : phyla Z299 Encounter for prophylactic measures, unspecified
140
+ ICD10 matches for : phyla Z4000 Encounter for prophylactic removal of unspecified organ
141
+ ICD10 matches for : phyla Z4001 Encounter for prophylactic removal of breast
142
+ ICD10 matches for : phyla Z4002 Encounter for prophylactic removal of ovary(s)
143
+ ICD10 matches for : phyla Z4003 Encounter for prophylactic removal of fallopian tube(s)
144
+ ICD10 matches for : phyla Z4009 Encounter for prophylactic removal of other organ
145
+ ICD10 matches for : phyla Z408 Encounter for other prophylactic surgery
146
+ ICD10 matches for : phyla Z409 Encounter for prophylactic surgery, unspecified
147
+ ICD10 matches for : phyla Z87892 Personal history of anaphylaxis
148
+ ICD10 matches for : shortness of R0602 Shortness of breath
149
+ ICD10 matches for : anxiety F064 Anxiety disorder due to known physiological condition
150
+ ICD10 matches for : anxiety F10180 Alcohol abuse with alcohol-induced anxiety disorder
151
+ ICD10 matches for : anxiety F10280 Alcohol dependence with alcohol-induced anxiety disorder
152
+ ICD10 matches for : anxiety F10980 Alcohol use, unspecified with alcohol-induced anxiety disorder
153
+ ICD10 matches for : anxiety F12180 Cannabis abuse with cannabis-induced anxiety disorder
154
+ ICD10 matches for : anxiety F12280 Cannabis dependence with cannabis-induced anxiety disorder
155
+ ICD10 matches for : anxiety F12980 Cannabis use, unspecified with anxiety disorder
156
+ ICD10 matches for : anxiety F13180 Sedative, hypnotic or anxiolytic abuse with sedative, hypnotic or anxiolytic-induced anxiety disorder
157
+ ICD10 matches for : anxiety F13280 Sedative, hypnotic or anxiolytic dependence with sedative, hypnotic or anxiolytic-induced anxiety disorder
158
+ ICD10 matches for : anxiety F13980 Sedative, hypnotic or anxiolytic use, unspecified with sedative, hypnotic or anxiolytic-induced anxiety disorder
159
+ ICD10 matches for : anxiety F14180 Cocaine abuse with cocaine-induced anxiety disorder
160
+ ICD10 matches for : anxiety F14280 Cocaine dependence with cocaine-induced anxiety disorder
161
+ ICD10 matches for : anxiety F14980 Cocaine use, unspecified with cocaine-induced anxiety disorder
162
+ ICD10 matches for : anxiety F15180 Other stimulant abuse with stimulant-induced anxiety disorder
163
+ ICD10 matches for : anxiety F15280 Other stimulant dependence with stimulant-induced anxiety disorder
164
+ ICD10 matches for : anxiety F15980 Other stimulant use, unspecified with stimulant-induced anxiety disorder
165
+ ICD10 matches for : anxiety F16180 Hallucinogen abuse with hallucinogen-induced anxiety disorder
166
+ ICD10 matches for : anxiety F16280 Hallucinogen dependence with hallucinogen-induced anxiety disorder
167
+ ICD10 matches for : anxiety F16980 Hallucinogen use, unspecified with hallucinogen-induced anxiety disorder
168
+ ICD10 matches for : anxiety F18180 Inhalant abuse with inhalant-induced anxiety disorder
169
+ ICD10 matches for : anxiety F18280 Inhalant dependence with inhalant-induced anxiety disorder
170
+ ICD10 matches for : anxiety F18980 Inhalant use, unspecified with inhalant-induced anxiety disorder
171
+ ICD10 matches for : anxiety F19180 Other psychoactive substance abuse with psychoactive substance-induced anxiety disorder
172
+ ICD10 matches for : anxiety F19280 Other psychoactive substance dependence with psychoactive substance-induced anxiety disorder
173
+ ICD10 matches for : anxiety F19980 Other psychoactive substance use, unspecified with psychoactive substance-induced anxiety disorder
174
+ ICD10 matches for : anxiety F408 Other phobic anxiety disorders
175
+ ICD10 matches for : anxiety F409 Phobic anxiety disorder, unspecified
176
+ ICD10 matches for : anxiety F410 Panic disorder [episodic paroxysmal anxiety]
177
+ ICD10 matches for : anxiety F411 Generalized anxiety disorder
178
+ ICD10 matches for : anxiety F413 Other mixed anxiety disorders
179
+ ICD10 matches for : anxiety F418 Other specified anxiety disorders
180
+ ICD10 matches for : anxiety F419 Anxiety disorder, unspecified
181
+ ICD10 matches for : anxiety F4322 Adjustment disorder with anxiety
182
+ ICD10 matches for : anxiety F4323 Adjustment disorder with mixed anxiety and depressed mood
183
+ ICD10 matches for : anxiety F930 Separation anxiety disorder of childhood
184
+ ICD10 matches for : anxiety F064 Anxiety disorder due to known physiological condition
185
+ ICD10 matches for : anxiety F10180 Alcohol abuse with alcohol-induced anxiety disorder
186
+ ICD10 matches for : anxiety F10280 Alcohol dependence with alcohol-induced anxiety disorder
187
+ ICD10 matches for : anxiety F10980 Alcohol use, unspecified with alcohol-induced anxiety disorder
188
+ ICD10 matches for : anxiety F12180 Cannabis abuse with cannabis-induced anxiety disorder
189
+ ICD10 matches for : anxiety F12280 Cannabis dependence with cannabis-induced anxiety disorder
190
+ ICD10 matches for : anxiety F12980 Cannabis use, unspecified with anxiety disorder
191
+ ICD10 matches for : anxiety F13180 Sedative, hypnotic or anxiolytic abuse with sedative, hypnotic or anxiolytic-induced anxiety disorder
192
+ ICD10 matches for : anxiety F13280 Sedative, hypnotic or anxiolytic dependence with sedative, hypnotic or anxiolytic-induced anxiety disorder
193
+ ICD10 matches for : anxiety F13980 Sedative, hypnotic or anxiolytic use, unspecified with sedative, hypnotic or anxiolytic-induced anxiety disorder
194
+ ICD10 matches for : anxiety F14180 Cocaine abuse with cocaine-induced anxiety disorder
195
+ ICD10 matches for : anxiety F14280 Cocaine dependence with cocaine-induced anxiety disorder
196
+ ICD10 matches for : anxiety F14980 Cocaine use, unspecified with cocaine-induced anxiety disorder
197
+ ICD10 matches for : anxiety F15180 Other stimulant abuse with stimulant-induced anxiety disorder
198
+ ICD10 matches for : anxiety F15280 Other stimulant dependence with stimulant-induced anxiety disorder
199
+ ICD10 matches for : anxiety F15980 Other stimulant use, unspecified with stimulant-induced anxiety disorder
200
+ ICD10 matches for : anxiety F16180 Hallucinogen abuse with hallucinogen-induced anxiety disorder
201
+ ICD10 matches for : anxiety F16280 Hallucinogen dependence with hallucinogen-induced anxiety disorder
202
+ ICD10 matches for : anxiety F16980 Hallucinogen use, unspecified with hallucinogen-induced anxiety disorder
203
+ ICD10 matches for : anxiety F18180 Inhalant abuse with inhalant-induced anxiety disorder
204
+ ICD10 matches for : anxiety F18280 Inhalant dependence with inhalant-induced anxiety disorder
205
+ ICD10 matches for : anxiety F18980 Inhalant use, unspecified with inhalant-induced anxiety disorder
206
+ ICD10 matches for : anxiety F19180 Other psychoactive substance abuse with psychoactive substance-induced anxiety disorder
207
+ ICD10 matches for : anxiety F19280 Other psychoactive substance dependence with psychoactive substance-induced anxiety disorder
208
+ ICD10 matches for : anxiety F19980 Other psychoactive substance use, unspecified with psychoactive substance-induced anxiety disorder
209
+ ICD10 matches for : anxiety F408 Other phobic anxiety disorders
210
+ ICD10 matches for : anxiety F409 Phobic anxiety disorder, unspecified
211
+ ICD10 matches for : anxiety F410 Panic disorder [episodic paroxysmal anxiety]
212
+ ICD10 matches for : anxiety F411 Generalized anxiety disorder
213
+ ICD10 matches for : anxiety F413 Other mixed anxiety disorders
214
+ ICD10 matches for : anxiety F418 Other specified anxiety disorders
215
+ ICD10 matches for : anxiety F419 Anxiety disorder, unspecified
216
+ ICD10 matches for : anxiety F4322 Adjustment disorder with anxiety
217
+ ICD10 matches for : anxiety F4323 Adjustment disorder with mixed anxiety and depressed mood
218
+ ICD10 matches for : anxiety F930 Separation anxiety disorder of childhood
219
+ ICD10 matches for : undice P580 Neonatal jaundice due to bruising
220
+ ICD10 matches for : undice P581 Neonatal jaundice due to bleeding
221
+ ICD10 matches for : undice P582 Neonatal jaundice due to infection
222
+ ICD10 matches for : undice P583 Neonatal jaundice due to polycythemia
223
+ ICD10 matches for : undice P5841 Neonatal jaundice due to drugs or toxins transmitted from mother
224
+ ICD10 matches for : undice P5842 Neonatal jaundice due to drugs or toxins given to newborn
225
+ ICD10 matches for : undice P585 Neonatal jaundice due to swallowed maternal blood
226
+ ICD10 matches for : undice P588 Neonatal jaundice due to other specified excessive hemolysis
227
+ ICD10 matches for : undice P589 Neonatal jaundice due to excessive hemolysis, unspecified
228
+ ICD10 matches for : undice P590 Neonatal jaundice associated with preterm delivery
229
+ ICD10 matches for : undice P5920 Neonatal jaundice from unspecified hepatocellular damage
230
+ ICD10 matches for : undice P5929 Neonatal jaundice from other hepatocellular damage
231
+ ICD10 matches for : undice P593 Neonatal jaundice from breast milk inhibitor
232
+ ICD10 matches for : undice P598 Neonatal jaundice from other specified causes
233
+ ICD10 matches for : undice P599 Neonatal jaundice, unspecified
234
+ ICD10 matches for : undice R17 Unspecified jaundice
235
+ ICD10 matches for : undice P580 Neonatal jaundice due to bruising
236
+ ICD10 matches for : undice P581 Neonatal jaundice due to bleeding
237
+ ICD10 matches for : undice P582 Neonatal jaundice due to infection
238
+ ICD10 matches for : undice P583 Neonatal jaundice due to polycythemia
239
+ ICD10 matches for : undice P5841 Neonatal jaundice due to drugs or toxins transmitted from mother
240
+ ICD10 matches for : undice P5842 Neonatal jaundice due to drugs or toxins given to newborn
241
+ ICD10 matches for : undice P585 Neonatal jaundice due to swallowed maternal blood
242
+ ICD10 matches for : undice P588 Neonatal jaundice due to other specified excessive hemolysis
243
+ ICD10 matches for : undice P589 Neonatal jaundice due to excessive hemolysis, unspecified
244
+ ICD10 matches for : undice P590 Neonatal jaundice associated with preterm delivery
245
+ ICD10 matches for : undice P5920 Neonatal jaundice from unspecified hepatocellular damage
246
+ ICD10 matches for : undice P5929 Neonatal jaundice from other hepatocellular damage
247
+ ICD10 matches for : undice P593 Neonatal jaundice from breast milk inhibitor
248
+ ICD10 matches for : undice P598 Neonatal jaundice from other specified causes
249
+ ICD10 matches for : undice P599 Neonatal jaundice, unspecified
250
+ ICD10 matches for : undice R17 Unspecified jaundice
251
+ ICD10 matches for : fatigue G933 Postviral fatigue syndrome
252
+ ICD10 matches for : fatigue M4840XA Fatigue fracture of vertebra, site unspecified, initial encounter for fracture
253
+ ICD10 matches for : fatigue M4840XD Fatigue fracture of vertebra, site unspecified, subsequent encounter for fracture with routine healing
254
+ ICD10 matches for : fatigue M4840XG Fatigue fracture of vertebra, site unspecified, subsequent encounter for fracture with delayed healing
255
+ ICD10 matches for : fatigue M4840XS Fatigue fracture of vertebra, site unspecified, sequela of fracture
256
+ ICD10 matches for : fatigue M4841XA Fatigue fracture of vertebra, occipito-atlanto-axial region, initial encounter for fracture
257
+ ICD10 matches for : fatigue M4841XD Fatigue fracture of vertebra, occipito-atlanto-axial region, subsequent encounter for fracture with routine healing
258
+ ICD10 matches for : fatigue M4841XG Fatigue fracture of vertebra, occipito-atlanto-axial region, subsequent encounter for fracture with delayed healing
259
+ ICD10 matches for : fatigue M4841XS Fatigue fracture of vertebra, occipito-atlanto-axial region, sequela of fracture
260
+ ICD10 matches for : fatigue M4842XA Fatigue fracture of vertebra, cervical region, initial encounter for fracture
261
+ ICD10 matches for : fatigue M4842XD Fatigue fracture of vertebra, cervical region, subsequent encounter for fracture with routine healing
262
+ ICD10 matches for : fatigue M4842XG Fatigue fracture of vertebra, cervical region, subsequent encounter for fracture with delayed healing
263
+ ICD10 matches for : fatigue M4842XS Fatigue fracture of vertebra, cervical region, sequela of fracture
264
+ ICD10 matches for : fatigue M4843XA Fatigue fracture of vertebra, cervicothoracic region, initial encounter for fracture
265
+ ICD10 matches for : fatigue M4843XD Fatigue fracture of vertebra, cervicothoracic region, subsequent encounter for fracture with routine healing
266
+ ICD10 matches for : fatigue M4843XG Fatigue fracture of vertebra, cervicothoracic region, subsequent encounter for fracture with delayed healing
267
+ ICD10 matches for : fatigue M4843XS Fatigue fracture of vertebra, cervicothoracic region, sequela of fracture
268
+ ICD10 matches for : fatigue M4844XA Fatigue fracture of vertebra, thoracic region, initial encounter for fracture
269
+ ICD10 matches for : fatigue M4844XD Fatigue fracture of vertebra, thoracic region, subsequent encounter for fracture with routine healing
270
+ ICD10 matches for : fatigue M4844XG Fatigue fracture of vertebra, thoracic region, subsequent encounter for fracture with delayed healing
271
+ ICD10 matches for : fatigue M4844XS Fatigue fracture of vertebra, thoracic region, sequela of fracture
272
+ ICD10 matches for : fatigue M4845XA Fatigue fracture of vertebra, thoracolumbar region, initial encounter for fracture
273
+ ICD10 matches for : fatigue M4845XD Fatigue fracture of vertebra, thoracolumbar region, subsequent encounter for fracture with routine healing
274
+ ICD10 matches for : fatigue M4845XG Fatigue fracture of vertebra, thoracolumbar region, subsequent encounter for fracture with delayed healing
275
+ ICD10 matches for : fatigue M4845XS Fatigue fracture of vertebra, thoracolumbar region, sequela of fracture
276
+ ICD10 matches for : fatigue M4846XA Fatigue fracture of vertebra, lumbar region, initial encounter for fracture
277
+ ICD10 matches for : fatigue M4846XD Fatigue fracture of vertebra, lumbar region, subsequent encounter for fracture with routine healing
278
+ ICD10 matches for : fatigue M4846XG Fatigue fracture of vertebra, lumbar region, subsequent encounter for fracture with delayed healing
279
+ ICD10 matches for : fatigue M4846XS Fatigue fracture of vertebra, lumbar region, sequela of fracture
280
+ ICD10 matches for : fatigue M4847XA Fatigue fracture of vertebra, lumbosacral region, initial encounter for fracture
281
+ ICD10 matches for : fatigue M4847XD Fatigue fracture of vertebra, lumbosacral region, subsequent encounter for fracture with routine healing
282
+ ICD10 matches for : fatigue M4847XG Fatigue fracture of vertebra, lumbosacral region, subsequent encounter for fracture with delayed healing
283
+ ICD10 matches for : fatigue M4847XS Fatigue fracture of vertebra, lumbosacral region, sequela of fracture
284
+ ICD10 matches for : fatigue M4848XA Fatigue fracture of vertebra, sacral and sacrococcygeal region, initial encounter for fracture
285
+ ICD10 matches for : fatigue M4848XD Fatigue fracture of vertebra, sacral and sacrococcygeal region, subsequent encounter for fracture with routine healing
286
+ ICD10 matches for : fatigue M4848XG Fatigue fracture of vertebra, sacral and sacrococcygeal region, subsequent encounter for fracture with delayed healing
287
+ ICD10 matches for : fatigue M4848XS Fatigue fracture of vertebra, sacral and sacrococcygeal region, sequela of fracture
288
+ ICD10 matches for : fatigue O26811 Pregnancy related exhaustion and fatigue, first trimester
289
+ ICD10 matches for : fatigue O26812 Pregnancy related exhaustion and fatigue, second trimester
290
+ ICD10 matches for : fatigue O26813 Pregnancy related exhaustion and fatigue, third trimester
291
+ ICD10 matches for : fatigue O26819 Pregnancy related exhaustion and fatigue, unspecified trimester
292
+ ICD10 matches for : fatigue R530 Neoplastic (malignant) related fatigue
293
+ ICD10 matches for : fatigue R5382 Chronic fatigue, unspecified
294
+ ICD10 matches for : fatigue R5383 Other fatigue
295
+ ICD10 matches for : fatigue T676XXA Heat fatigue, transient, initial encounter
296
+ ICD10 matches for : fatigue T676XXD Heat fatigue, transient, subsequent encounter
297
+ ICD10 matches for : fatigue T676XXS Heat fatigue, transient, sequela
298
+ ICD10 matches for : fatigue G933 Postviral fatigue syndrome
299
+ ICD10 matches for : fatigue M4840XA Fatigue fracture of vertebra, site unspecified, initial encounter for fracture
300
+ ICD10 matches for : fatigue M4840XD Fatigue fracture of vertebra, site unspecified, subsequent encounter for fracture with routine healing
301
+ ICD10 matches for : fatigue M4840XG Fatigue fracture of vertebra, site unspecified, subsequent encounter for fracture with delayed healing
302
+ ICD10 matches for : fatigue M4840XS Fatigue fracture of vertebra, site unspecified, sequela of fracture
303
+ ICD10 matches for : fatigue M4841XA Fatigue fracture of vertebra, occipito-atlanto-axial region, initial encounter for fracture
304
+ ICD10 matches for : fatigue M4841XD Fatigue fracture of vertebra, occipito-atlanto-axial region, subsequent encounter for fracture with routine healing
305
+ ICD10 matches for : fatigue M4841XG Fatigue fracture of vertebra, occipito-atlanto-axial region, subsequent encounter for fracture with delayed healing
306
+ ICD10 matches for : fatigue M4841XS Fatigue fracture of vertebra, occipito-atlanto-axial region, sequela of fracture
307
+ ICD10 matches for : fatigue M4842XA Fatigue fracture of vertebra, cervical region, initial encounter for fracture
308
+ ICD10 matches for : fatigue M4842XD Fatigue fracture of vertebra, cervical region, subsequent encounter for fracture with routine healing
309
+ ICD10 matches for : fatigue M4842XG Fatigue fracture of vertebra, cervical region, subsequent encounter for fracture with delayed healing
310
+ ICD10 matches for : fatigue M4842XS Fatigue fracture of vertebra, cervical region, sequela of fracture
311
+ ICD10 matches for : fatigue M4843XA Fatigue fracture of vertebra, cervicothoracic region, initial encounter for fracture
312
+ ICD10 matches for : fatigue M4843XD Fatigue fracture of vertebra, cervicothoracic region, subsequent encounter for fracture with routine healing
313
+ ICD10 matches for : fatigue M4843XG Fatigue fracture of vertebra, cervicothoracic region, subsequent encounter for fracture with delayed healing
314
+ ICD10 matches for : fatigue M4843XS Fatigue fracture of vertebra, cervicothoracic region, sequela of fracture
315
+ ICD10 matches for : fatigue M4844XA Fatigue fracture of vertebra, thoracic region, initial encounter for fracture
316
+ ICD10 matches for : fatigue M4844XD Fatigue fracture of vertebra, thoracic region, subsequent encounter for fracture with routine healing
317
+ ICD10 matches for : fatigue M4844XG Fatigue fracture of vertebra, thoracic region, subsequent encounter for fracture with delayed healing
318
+ ICD10 matches for : fatigue M4844XS Fatigue fracture of vertebra, thoracic region, sequela of fracture
319
+ ICD10 matches for : fatigue M4845XA Fatigue fracture of vertebra, thoracolumbar region, initial encounter for fracture
320
+ ICD10 matches for : fatigue M4845XD Fatigue fracture of vertebra, thoracolumbar region, subsequent encounter for fracture with routine healing
321
+ ICD10 matches for : fatigue M4845XG Fatigue fracture of vertebra, thoracolumbar region, subsequent encounter for fracture with delayed healing
322
+ ICD10 matches for : fatigue M4845XS Fatigue fracture of vertebra, thoracolumbar region, sequela of fracture
323
+ ICD10 matches for : fatigue M4846XA Fatigue fracture of vertebra, lumbar region, initial encounter for fracture
324
+ ICD10 matches for : fatigue M4846XD Fatigue fracture of vertebra, lumbar region, subsequent encounter for fracture with routine healing
325
+ ICD10 matches for : fatigue M4846XG Fatigue fracture of vertebra, lumbar region, subsequent encounter for fracture with delayed healing
326
+ ICD10 matches for : fatigue M4846XS Fatigue fracture of vertebra, lumbar region, sequela of fracture
327
+ ICD10 matches for : fatigue M4847XA Fatigue fracture of vertebra, lumbosacral region, initial encounter for fracture
328
+ ICD10 matches for : fatigue M4847XD Fatigue fracture of vertebra, lumbosacral region, subsequent encounter for fracture with routine healing
329
+ ICD10 matches for : fatigue M4847XG Fatigue fracture of vertebra, lumbosacral region, subsequent encounter for fracture with delayed healing
330
+ ICD10 matches for : fatigue M4847XS Fatigue fracture of vertebra, lumbosacral region, sequela of fracture
331
+ ICD10 matches for : fatigue M4848XA Fatigue fracture of vertebra, sacral and sacrococcygeal region, initial encounter for fracture
332
+ ICD10 matches for : fatigue M4848XD Fatigue fracture of vertebra, sacral and sacrococcygeal region, subsequent encounter for fracture with routine healing
333
+ ICD10 matches for : fatigue M4848XG Fatigue fracture of vertebra, sacral and sacrococcygeal region, subsequent encounter for fracture with delayed healing
334
+ ICD10 matches for : fatigue M4848XS Fatigue fracture of vertebra, sacral and sacrococcygeal region, sequela of fracture
335
+ ICD10 matches for : fatigue O26811 Pregnancy related exhaustion and fatigue, first trimester
336
+ ICD10 matches for : fatigue O26812 Pregnancy related exhaustion and fatigue, second trimester
337
+ ICD10 matches for : fatigue O26813 Pregnancy related exhaustion and fatigue, third trimester
338
+ ICD10 matches for : fatigue O26819 Pregnancy related exhaustion and fatigue, unspecified trimester
339
+ ICD10 matches for : fatigue R530 Neoplastic (malignant) related fatigue
340
+ ICD10 matches for : fatigue R5382 Chronic fatigue, unspecified
341
+ ICD10 matches for : fatigue R5383 Other fatigue
342
+ ICD10 matches for : fatigue T676XXA Heat fatigue, transient, initial encounter
343
+ ICD10 matches for : fatigue T676XXD Heat fatigue, transient, subsequent encounter
344
+ ICD10 matches for : fatigue T676XXS Heat fatigue, transient, sequela
345
+ ICD10 matches for : sleep F10182 Alcohol abuse with alcohol-induced sleep disorder
346
+ ICD10 matches for : sleep F10282 Alcohol dependence with alcohol-induced sleep disorder
347
+ ICD10 matches for : sleep F10982 Alcohol use, unspecified with alcohol-induced sleep disorder
348
+ ICD10 matches for : sleep F11182 Opioid abuse with opioid-induced sleep disorder
349
+ ICD10 matches for : sleep F11282 Opioid dependence with opioid-induced sleep disorder
350
+ ICD10 matches for : sleep F11982 Opioid use, unspecified with opioid-induced sleep disorder
351
+ ICD10 matches for : sleep F13182 Sedative, hypnotic or anxiolytic abuse with sedative, hypnotic or anxiolytic-induced sleep disorder
352
+ ICD10 matches for : sleep F13282 Sedative, hypnotic or anxiolytic dependence with sedative, hypnotic or anxiolytic-induced sleep disorder
353
+ ICD10 matches for : sleep F13982 Sedative, hypnotic or anxiolytic use, unspecified with sedative, hypnotic or anxiolytic-induced sleep disorder
354
+ ICD10 matches for : sleep F14182 Cocaine abuse with cocaine-induced sleep disorder
355
+ ICD10 matches for : sleep F14282 Cocaine dependence with cocaine-induced sleep disorder
356
+ ICD10 matches for : sleep F14982 Cocaine use, unspecified with cocaine-induced sleep disorder
357
+ ICD10 matches for : sleep F15182 Other stimulant abuse with stimulant-induced sleep disorder
358
+ ICD10 matches for : sleep F15282 Other stimulant dependence with stimulant-induced sleep disorder
359
+ ICD10 matches for : sleep F15982 Other stimulant use, unspecified with stimulant-induced sleep disorder
360
+ ICD10 matches for : sleep F19182 Other psychoactive substance abuse with psychoactive substance-induced sleep disorder
361
+ ICD10 matches for : sleep F19282 Other psychoactive substance dependence with psychoactive substance-induced sleep disorder
362
+ ICD10 matches for : sleep F19982 Other psychoactive substance use, unspecified with psychoactive substance-induced sleep disorder
363
+ ICD10 matches for : sleep F5112 Insufficient sleep syndrome
364
+ ICD10 matches for : sleep F513 Sleepwalking [somnambulism]
365
+ ICD10 matches for : sleep F514 Sleep terrors [night terrors]
366
+ ICD10 matches for : sleep F518 Other sleep disorders not due to a substance or known physiological condition
367
+ ICD10 matches for : sleep F519 Sleep disorder not due to a substance or known physiological condition, unspecified
368
+ ICD10 matches for : sleep G4711 Idiopathic hypersomnia with long sleep time
369
+ ICD10 matches for : sleep G4712 Idiopathic hypersomnia without long sleep time
370
+ ICD10 matches for : sleep G4720 Circadian rhythm sleep disorder, unspecified type
371
+ ICD10 matches for : sleep G4721 Circadian rhythm sleep disorder, delayed sleep phase type
372
+ ICD10 matches for : sleep G4722 Circadian rhythm sleep disorder, advanced sleep phase type
373
+ ICD10 matches for : sleep G4723 Circadian rhythm sleep disorder, irregular sleep wake type
374
+ ICD10 matches for : sleep G4724 Circadian rhythm sleep disorder, free running type
375
+ ICD10 matches for : sleep G4725 Circadian rhythm sleep disorder, jet lag type
376
+ ICD10 matches for : sleep G4726 Circadian rhythm sleep disorder, shift work type
377
+ ICD10 matches for : sleep G4727 Circadian rhythm sleep disorder in conditions classified elsewhere
378
+ ICD10 matches for : sleep G4729 Other circadian rhythm sleep disorder
379
+ ICD10 matches for : sleep G4730 Sleep apnea, unspecified
380
+ ICD10 matches for : sleep G4731 Primary central sleep apnea
381
+ ICD10 matches for : sleep G4733 Obstructive sleep apnea (adult) (pediatric)
382
+ ICD10 matches for : sleep G4734 Idiopathic sleep related nonobstructive alveolar hypoventilation
383
+ ICD10 matches for : sleep G4736 Sleep related hypoventilation in conditions classified elsewhere
384
+ ICD10 matches for : sleep G4737 Central sleep apnea in conditions classified elsewhere
385
+ ICD10 matches for : sleep G4739 Other sleep apnea
386
+ ICD10 matches for : sleep G4752 REM sleep behavior disorder
387
+ ICD10 matches for : sleep G4753 Recurrent isolated sleep paralysis
388
+ ICD10 matches for : sleep G4762 Sleep related leg cramps
389
+ ICD10 matches for : sleep G4763 Sleep related bruxism
390
+ ICD10 matches for : sleep G4769 Other sleep related movement disorders
391
+ ICD10 matches for : sleep G478 Other sleep disorders
392
+ ICD10 matches for : sleep G479 Sleep disorder, unspecified
393
+ ICD10 matches for : sleep P283 Primary sleep apnea of newborn
394
+ ICD10 matches for : sleep Y9384 Activity, sleeping
395
+ ICD10 matches for : sleep Z72820 Sleep deprivation
396
+ ICD10 matches for : sleep Z72821 Inadequate sleep hygiene
397
+ ICD10 matches for : sleep Z73810 Behavioral insomnia of childhood, sleep-onset association type
398
+ ICD10 matches for : sleep F10182 Alcohol abuse with alcohol-induced sleep disorder
399
+ ICD10 matches for : sleep F10282 Alcohol dependence with alcohol-induced sleep disorder
400
+ ICD10 matches for : sleep F10982 Alcohol use, unspecified with alcohol-induced sleep disorder
401
+ ICD10 matches for : sleep F11182 Opioid abuse with opioid-induced sleep disorder
402
+ ICD10 matches for : sleep F11282 Opioid dependence with opioid-induced sleep disorder
403
+ ICD10 matches for : sleep F11982 Opioid use, unspecified with opioid-induced sleep disorder
404
+ ICD10 matches for : sleep F13182 Sedative, hypnotic or anxiolytic abuse with sedative, hypnotic or anxiolytic-induced sleep disorder
405
+ ICD10 matches for : sleep F13282 Sedative, hypnotic or anxiolytic dependence with sedative, hypnotic or anxiolytic-induced sleep disorder
406
+ ICD10 matches for : sleep F13982 Sedative, hypnotic or anxiolytic use, unspecified with sedative, hypnotic or anxiolytic-induced sleep disorder
407
+ ICD10 matches for : sleep F14182 Cocaine abuse with cocaine-induced sleep disorder
408
+ ICD10 matches for : sleep F14282 Cocaine dependence with cocaine-induced sleep disorder
409
+ ICD10 matches for : sleep F14982 Cocaine use, unspecified with cocaine-induced sleep disorder
410
+ ICD10 matches for : sleep F15182 Other stimulant abuse with stimulant-induced sleep disorder
411
+ ICD10 matches for : sleep F15282 Other stimulant dependence with stimulant-induced sleep disorder
412
+ ICD10 matches for : sleep F15982 Other stimulant use, unspecified with stimulant-induced sleep disorder
413
+ ICD10 matches for : sleep F19182 Other psychoactive substance abuse with psychoactive substance-induced sleep disorder
414
+ ICD10 matches for : sleep F19282 Other psychoactive substance dependence with psychoactive substance-induced sleep disorder
415
+ ICD10 matches for : sleep F19982 Other psychoactive substance use, unspecified with psychoactive substance-induced sleep disorder
416
+ ICD10 matches for : sleep F5112 Insufficient sleep syndrome
417
+ ICD10 matches for : sleep F513 Sleepwalking [somnambulism]
418
+ ICD10 matches for : sleep F514 Sleep terrors [night terrors]
419
+ ICD10 matches for : sleep F518 Other sleep disorders not due to a substance or known physiological condition
420
+ ICD10 matches for : sleep F519 Sleep disorder not due to a substance or known physiological condition, unspecified
421
+ ICD10 matches for : sleep G4711 Idiopathic hypersomnia with long sleep time
422
+ ICD10 matches for : sleep G4712 Idiopathic hypersomnia without long sleep time
423
+ ICD10 matches for : sleep G4720 Circadian rhythm sleep disorder, unspecified type
424
+ ICD10 matches for : sleep G4721 Circadian rhythm sleep disorder, delayed sleep phase type
425
+ ICD10 matches for : sleep G4722 Circadian rhythm sleep disorder, advanced sleep phase type
426
+ ICD10 matches for : sleep G4723 Circadian rhythm sleep disorder, irregular sleep wake type
427
+ ICD10 matches for : sleep G4724 Circadian rhythm sleep disorder, free running type
428
+ ICD10 matches for : sleep G4725 Circadian rhythm sleep disorder, jet lag type
429
+ ICD10 matches for : sleep G4726 Circadian rhythm sleep disorder, shift work type
430
+ ICD10 matches for : sleep G4727 Circadian rhythm sleep disorder in conditions classified elsewhere
431
+ ICD10 matches for : sleep G4729 Other circadian rhythm sleep disorder
432
+ ICD10 matches for : sleep G4730 Sleep apnea, unspecified
433
+ ICD10 matches for : sleep G4731 Primary central sleep apnea
434
+ ICD10 matches for : sleep G4733 Obstructive sleep apnea (adult) (pediatric)
435
+ ICD10 matches for : sleep G4734 Idiopathic sleep related nonobstructive alveolar hypoventilation
436
+ ICD10 matches for : sleep G4736 Sleep related hypoventilation in conditions classified elsewhere
437
+ ICD10 matches for : sleep G4737 Central sleep apnea in conditions classified elsewhere
438
+ ICD10 matches for : sleep G4739 Other sleep apnea
439
+ ICD10 matches for : sleep G4752 REM sleep behavior disorder
440
+ ICD10 matches for : sleep G4753 Recurrent isolated sleep paralysis
441
+ ICD10 matches for : sleep G4762 Sleep related leg cramps
442
+ ICD10 matches for : sleep G4763 Sleep related bruxism
443
+ ICD10 matches for : sleep G4769 Other sleep related movement disorders
444
+ ICD10 matches for : sleep G478 Other sleep disorders
445
+ ICD10 matches for : sleep G479 Sleep disorder, unspecified
446
+ ICD10 matches for : sleep P283 Primary sleep apnea of newborn
447
+ ICD10 matches for : sleep Y9384 Activity, sleeping
448
+ ICD10 matches for : sleep Z72820 Sleep deprivation
449
+ ICD10 matches for : sleep Z72821 Inadequate sleep hygiene
450
+ ICD10 matches for : sleep Z73810 Behavioral insomnia of childhood, sleep-onset association type
451
+ ICD10 matches for : syncope G9001 Carotid sinus syncope
452
+ ICD10 matches for : syncope R054 Cough syncope
453
+ ICD10 matches for : syncope R55 Syncope and collapse
454
+ ICD10 matches for : syncope T671XXA Heat syncope, initial encounter
455
+ ICD10 matches for : syncope T671XXD Heat syncope, subsequent encounter
456
+ ICD10 matches for : syncope T671XXS Heat syncope, sequela
457
+ ICD10 matches for : syncope G9001 Carotid sinus syncope
458
+ ICD10 matches for : syncope R054 Cough syncope
459
+ ICD10 matches for : syncope R55 Syncope and collapse
460
+ ICD10 matches for : syncope T671XXA Heat syncope, initial encounter
461
+ ICD10 matches for : syncope T671XXD Heat syncope, subsequent encounter
462
+ ICD10 matches for : syncope T671XXS Heat syncope, sequela
463
+ ICD10 matches for : zziness R42 Dizziness and giddiness
464
+ ICD10 matches for : zziness R42 Dizziness and giddiness
465
+ ICD10 matches for : reactions F438 Other reactions to severe stress
466
+ ICD10 matches for : reactions M364 Arthropathy in hypersensitivity reactions classified elsewhere
467
+ ICD10 matches for : reactions P938 Other reactions and intoxications due to drugs administered to newborn
468
+ ICD10 matches for : reactions T781XXA Other adverse food reactions, not elsewhere classified, initial encounter
469
+ ICD10 matches for : reactions T781XXD Other adverse food reactions, not elsewhere classified, subsequent encounter
470
+ ICD10 matches for : reactions T781XXS Other adverse food reactions, not elsewhere classified, sequela
471
+ ICD10 matches for : reactions F438 Other reactions to severe stress
472
+ ICD10 matches for : reactions M364 Arthropathy in hypersensitivity reactions classified elsewhere
473
+ ICD10 matches for : reactions P938 Other reactions and intoxications due to drugs administered to newborn
474
+ ICD10 matches for : reactions T781XXA Other adverse food reactions, not elsewhere classified, initial encounter
475
+ ICD10 matches for : reactions T781XXD Other adverse food reactions, not elsewhere classified, subsequent encounter
476
+ ICD10 matches for : reactions T781XXS Other adverse food reactions, not elsewhere classified, sequela
477
+ ICD10 matches for : phyla T7800XA Anaphylactic reaction due to unspecified food, initial encounter
478
+ ICD10 matches for : phyla T7800XD Anaphylactic reaction due to unspecified food, subsequent encounter
479
+ ICD10 matches for : phyla T7800XS Anaphylactic reaction due to unspecified food, sequela
480
+ ICD10 matches for : phyla T7801XA Anaphylactic reaction due to peanuts, initial encounter
481
+ ICD10 matches for : phyla T7801XD Anaphylactic reaction due to peanuts, subsequent encounter
482
+ ICD10 matches for : phyla T7801XS Anaphylactic reaction due to peanuts, sequela
483
+ ICD10 matches for : phyla T7802XA Anaphylactic reaction due to shellfish (crustaceans), initial encounter
484
+ ICD10 matches for : phyla T7802XD Anaphylactic reaction due to shellfish (crustaceans), subsequent encounter
485
+ ICD10 matches for : phyla T7802XS Anaphylactic reaction due to shellfish (crustaceans), sequela
486
+ ICD10 matches for : phyla T7803XA Anaphylactic reaction due to other fish, initial encounter
487
+ ICD10 matches for : phyla T7803XD Anaphylactic reaction due to other fish, subsequent encounter
488
+ ICD10 matches for : phyla T7803XS Anaphylactic reaction due to other fish, sequela
489
+ ICD10 matches for : phyla T7804XA Anaphylactic reaction due to fruits and vegetables, initial encounter
490
+ ICD10 matches for : phyla T7804XD Anaphylactic reaction due to fruits and vegetables, subsequent encounter
491
+ ICD10 matches for : phyla T7804XS Anaphylactic reaction due to fruits and vegetables, sequela
492
+ ICD10 matches for : phyla T7805XA Anaphylactic reaction due to tree nuts and seeds, initial encounter
493
+ ICD10 matches for : phyla T7805XD Anaphylactic reaction due to tree nuts and seeds, subsequent encounter
494
+ ICD10 matches for : phyla T7805XS Anaphylactic reaction due to tree nuts and seeds, sequela
495
+ ICD10 matches for : phyla T7806XA Anaphylactic reaction due to food additives, initial encounter
496
+ ICD10 matches for : phyla T7806XD Anaphylactic reaction due to food additives, subsequent encounter
497
+ ICD10 matches for : phyla T7806XS Anaphylactic reaction due to food additives, sequela
498
+ ICD10 matches for : phyla T7807XA Anaphylactic reaction due to milk and dairy products, initial encounter
499
+ ICD10 matches for : phyla T7807XD Anaphylactic reaction due to milk and dairy products, subsequent encounter
500
+ ICD10 matches for : phyla T7807XS Anaphylactic reaction due to milk and dairy products, sequela
501
+ ICD10 matches for : phyla T7808XA Anaphylactic reaction due to eggs, initial encounter
502
+ ICD10 matches for : phyla T7808XD Anaphylactic reaction due to eggs, subsequent encounter
503
+ ICD10 matches for : phyla T7808XS Anaphylactic reaction due to eggs, sequela
504
+ ICD10 matches for : phyla T7809XA Anaphylactic reaction due to other food products, initial encounter
505
+ ICD10 matches for : phyla T7809XD Anaphylactic reaction due to other food products, subsequent encounter
506
+ ICD10 matches for : phyla T7809XS Anaphylactic reaction due to other food products, sequela
507
+ ICD10 matches for : phyla T782XXA Anaphylactic shock, unspecified, initial encounter
508
+ ICD10 matches for : phyla T782XXD Anaphylactic shock, unspecified, subsequent encounter
509
+ ICD10 matches for : phyla T782XXS Anaphylactic shock, unspecified, sequela
510
+ ICD10 matches for : phyla T8051XA Anaphylactic reaction due to administration of blood and blood products, initial encounter
511
+ ICD10 matches for : phyla T8051XD Anaphylactic reaction due to administration of blood and blood products, subsequent encounter
512
+ ICD10 matches for : phyla T8051XS Anaphylactic reaction due to administration of blood and blood products, sequela
513
+ ICD10 matches for : phyla T8052XA Anaphylactic reaction due to vaccination, initial encounter
514
+ ICD10 matches for : phyla T8052XD Anaphylactic reaction due to vaccination, subsequent encounter
515
+ ICD10 matches for : phyla T8052XS Anaphylactic reaction due to vaccination, sequela
516
+ ICD10 matches for : phyla T8059XA Anaphylactic reaction due to other serum, initial encounter
517
+ ICD10 matches for : phyla T8059XD Anaphylactic reaction due to other serum, subsequent encounter
518
+ ICD10 matches for : phyla T8059XS Anaphylactic reaction due to other serum, sequela
519
+ ICD10 matches for : phyla T886XXA Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, initial encounter
520
+ ICD10 matches for : phyla T886XXD Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, subsequent encounter
521
+ ICD10 matches for : phyla T886XXS Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, sequela
522
+ ICD10 matches for : phyla Z2911 Encounter for prophylactic immunotherapy for respiratory syncytial virus (RSV)
523
+ ICD10 matches for : phyla Z2912 Encounter for prophylactic antivenin
524
+ ICD10 matches for : phyla Z2913 Encounter for prophylactic Rho(D) immune globulin
525
+ ICD10 matches for : phyla Z2914 Encounter for prophylactic rabies immune globin
526
+ ICD10 matches for : phyla Z293 Encounter for prophylactic fluoride administration
527
+ ICD10 matches for : phyla Z298 Encounter for other specified prophylactic measures
528
+ ICD10 matches for : phyla Z299 Encounter for prophylactic measures, unspecified
529
+ ICD10 matches for : phyla Z4000 Encounter for prophylactic removal of unspecified organ
530
+ ICD10 matches for : phyla Z4001 Encounter for prophylactic removal of breast
531
+ ICD10 matches for : phyla Z4002 Encounter for prophylactic removal of ovary(s)
532
+ ICD10 matches for : phyla Z4003 Encounter for prophylactic removal of fallopian tube(s)
533
+ ICD10 matches for : phyla Z4009 Encounter for prophylactic removal of other organ
534
+ ICD10 matches for : phyla Z408 Encounter for other prophylactic surgery
535
+ ICD10 matches for : phyla Z409 Encounter for prophylactic surgery, unspecified
536
+ ICD10 matches for : phyla Z87892 Personal history of anaphylaxis
537
+ ICD10 matches for : phyla T7800XA Anaphylactic reaction due to unspecified food, initial encounter
538
+ ICD10 matches for : phyla T7800XD Anaphylactic reaction due to unspecified food, subsequent encounter
539
+ ICD10 matches for : phyla T7800XS Anaphylactic reaction due to unspecified food, sequela
540
+ ICD10 matches for : phyla T7801XA Anaphylactic reaction due to peanuts, initial encounter
541
+ ICD10 matches for : phyla T7801XD Anaphylactic reaction due to peanuts, subsequent encounter
542
+ ICD10 matches for : phyla T7801XS Anaphylactic reaction due to peanuts, sequela
543
+ ICD10 matches for : phyla T7802XA Anaphylactic reaction due to shellfish (crustaceans), initial encounter
544
+ ICD10 matches for : phyla T7802XD Anaphylactic reaction due to shellfish (crustaceans), subsequent encounter
545
+ ICD10 matches for : phyla T7802XS Anaphylactic reaction due to shellfish (crustaceans), sequela
546
+ ICD10 matches for : phyla T7803XA Anaphylactic reaction due to other fish, initial encounter
547
+ ICD10 matches for : phyla T7803XD Anaphylactic reaction due to other fish, subsequent encounter
548
+ ICD10 matches for : phyla T7803XS Anaphylactic reaction due to other fish, sequela
549
+ ICD10 matches for : phyla T7804XA Anaphylactic reaction due to fruits and vegetables, initial encounter
550
+ ICD10 matches for : phyla T7804XD Anaphylactic reaction due to fruits and vegetables, subsequent encounter
551
+ ICD10 matches for : phyla T7804XS Anaphylactic reaction due to fruits and vegetables, sequela
552
+ ICD10 matches for : phyla T7805XA Anaphylactic reaction due to tree nuts and seeds, initial encounter
553
+ ICD10 matches for : phyla T7805XD Anaphylactic reaction due to tree nuts and seeds, subsequent encounter
554
+ ICD10 matches for : phyla T7805XS Anaphylactic reaction due to tree nuts and seeds, sequela
555
+ ICD10 matches for : phyla T7806XA Anaphylactic reaction due to food additives, initial encounter
556
+ ICD10 matches for : phyla T7806XD Anaphylactic reaction due to food additives, subsequent encounter
557
+ ICD10 matches for : phyla T7806XS Anaphylactic reaction due to food additives, sequela
558
+ ICD10 matches for : phyla T7807XA Anaphylactic reaction due to milk and dairy products, initial encounter
559
+ ICD10 matches for : phyla T7807XD Anaphylactic reaction due to milk and dairy products, subsequent encounter
560
+ ICD10 matches for : phyla T7807XS Anaphylactic reaction due to milk and dairy products, sequela
561
+ ICD10 matches for : phyla T7808XA Anaphylactic reaction due to eggs, initial encounter
562
+ ICD10 matches for : phyla T7808XD Anaphylactic reaction due to eggs, subsequent encounter
563
+ ICD10 matches for : phyla T7808XS Anaphylactic reaction due to eggs, sequela
564
+ ICD10 matches for : phyla T7809XA Anaphylactic reaction due to other food products, initial encounter
565
+ ICD10 matches for : phyla T7809XD Anaphylactic reaction due to other food products, subsequent encounter
566
+ ICD10 matches for : phyla T7809XS Anaphylactic reaction due to other food products, sequela
567
+ ICD10 matches for : phyla T782XXA Anaphylactic shock, unspecified, initial encounter
568
+ ICD10 matches for : phyla T782XXD Anaphylactic shock, unspecified, subsequent encounter
569
+ ICD10 matches for : phyla T782XXS Anaphylactic shock, unspecified, sequela
570
+ ICD10 matches for : phyla T8051XA Anaphylactic reaction due to administration of blood and blood products, initial encounter
571
+ ICD10 matches for : phyla T8051XD Anaphylactic reaction due to administration of blood and blood products, subsequent encounter
572
+ ICD10 matches for : phyla T8051XS Anaphylactic reaction due to administration of blood and blood products, sequela
573
+ ICD10 matches for : phyla T8052XA Anaphylactic reaction due to vaccination, initial encounter
574
+ ICD10 matches for : phyla T8052XD Anaphylactic reaction due to vaccination, subsequent encounter
575
+ ICD10 matches for : phyla T8052XS Anaphylactic reaction due to vaccination, sequela
576
+ ICD10 matches for : phyla T8059XA Anaphylactic reaction due to other serum, initial encounter
577
+ ICD10 matches for : phyla T8059XD Anaphylactic reaction due to other serum, subsequent encounter
578
+ ICD10 matches for : phyla T8059XS Anaphylactic reaction due to other serum, sequela
579
+ ICD10 matches for : phyla T886XXA Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, initial encounter
580
+ ICD10 matches for : phyla T886XXD Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, subsequent encounter
581
+ ICD10 matches for : phyla T886XXS Anaphylactic reaction due to adverse effect of correct drug or medicament properly administered, sequela
582
+ ICD10 matches for : phyla Z2911 Encounter for prophylactic immunotherapy for respiratory syncytial virus (RSV)
583
+ ICD10 matches for : phyla Z2912 Encounter for prophylactic antivenin
584
+ ICD10 matches for : phyla Z2913 Encounter for prophylactic Rho(D) immune globulin
585
+ ICD10 matches for : phyla Z2914 Encounter for prophylactic rabies immune globin
586
+ ICD10 matches for : phyla Z293 Encounter for prophylactic fluoride administration
587
+ ICD10 matches for : phyla Z298 Encounter for other specified prophylactic measures
588
+ ICD10 matches for : phyla Z299 Encounter for prophylactic measures, unspecified
589
+ ICD10 matches for : phyla Z4000 Encounter for prophylactic removal of unspecified organ
590
+ ICD10 matches for : phyla Z4001 Encounter for prophylactic removal of breast
591
+ ICD10 matches for : phyla Z4002 Encounter for prophylactic removal of ovary(s)
592
+ ICD10 matches for : phyla Z4003 Encounter for prophylactic removal of fallopian tube(s)
593
+ ICD10 matches for : phyla Z4009 Encounter for prophylactic removal of other organ
594
+ ICD10 matches for : phyla Z408 Encounter for other prophylactic surgery
595
+ ICD10 matches for : phyla Z409 Encounter for prophylactic surgery, unspecified
596
+ ICD10 matches for : phyla Z87892 Personal history of anaphylaxis
597
+ ICD10 matches for : shortness of R0602 Shortness of breath
598
+ ICD10 matches for : shortness of R0602 Shortness of breath
LOINCPanelsandForms.txt ADDED
The diff for this file is too large to render. See raw diff
 
LOINCTerms.txt ADDED
The diff for this file is too large to render. See raw diff
 
LoincTableCore.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ebc67fe7ec52a031d2157f2938e01ee4c68a75331fa95b01ad13b2338df009c
3
+ size 23786041
OMSTerms.txt ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ OMS matches for : syncope 53 29.07
2
+ Name: Omaha Code, dtype: object 53 271594007
3
+ Name: SNOMED CT concept ID, dtype: object Syncope (disorder) PB0029 Circulation Surveillance SS2907 Syncopal Episodes (Fainting)/Dizziness
4
+ OMS matches for : syncope 53 29.07
5
+ Name: Omaha Code, dtype: object 53 271594007
6
+ Name: SNOMED CT concept ID, dtype: object Syncope (disorder) PB0029 Circulation Surveillance SS2907 Syncopal Episodes (Fainting)/Dizziness
7
+ OMS matches for : undice 102 30.08
8
+ Name: Omaha Code, dtype: object 102 18165001
9
+ Name: SNOMED CT concept ID, dtype: object Jaundice (finding) PB0030 Digestion-hydration Surveillance SS3008 Jaundice/liver enlargement
10
+ OMS matches for : undice 102 30.08
11
+ Name: Omaha Code, dtype: object 102 18165001
12
+ Name: SNOMED CT concept ID, dtype: object Jaundice (finding) PB0030 Digestion-hydration Surveillance SS3008 Jaundice/liver enlargement
13
+ OMS matches for : fatigue 206 12.10
14
+ Name: Omaha Code, dtype: object 206 84229001
15
+ Name: SNOMED CT concept ID, dtype: object Fatigue (finding) PB0012 Mental health Surveillance SS1210 Somatic complaints/fatigue
16
+ OMS matches for : fatigue 206 12.10
17
+ Name: Omaha Code, dtype: object 206 84229001
18
+ Name: SNOMED CT concept ID, dtype: object Fatigue (finding) PB0012 Mental health Surveillance SS1210 Somatic complaints/fatigue
19
+ nan
20
+ nan
21
+ nan
22
+ nan
23
+ OMS matches for : sleep 246 02.45
24
+ 361 01.45
25
+ 405 03.45
26
+ 454 04.45
27
+ 747 36.08
28
+ 748 36.03
29
+ 749 36
30
+ 753 36.06
31
+ 755 36.01
32
+ 756 36.06
33
+ Name: Omaha Code, dtype: object 246 225206006
34
+ 361 410305008
35
+ 405 410352002
36
+ 454 410409001
37
+ 747 73430006
38
+ 748 80495009
39
+ 749 106021008
40
+ 753 422730001
41
+ 755 423439006
42
+ 756 425202006
43
+ Name: SNOMED CT concept ID, dtype: object Sleep apnea (disorder) PB0036 Sleep and rest patterns Surveillance SS3608 Sleep apnea
44
+ OMS matches for : sleep 246 02.45
45
+ 361 01.45
46
+ 405 03.45
47
+ 454 04.45
48
+ 747 36.08
49
+ 748 36.03
50
+ 749 36
51
+ 753 36.06
52
+ 755 36.01
53
+ 756 36.06
54
+ Name: Omaha Code, dtype: object 246 225206006
55
+ 361 410305008
56
+ 405 410352002
57
+ 454 410409001
58
+ 747 73430006
59
+ 748 80495009
60
+ 749 106021008
61
+ 753 422730001
62
+ 755 423439006
63
+ 756 425202006
64
+ Name: SNOMED CT concept ID, dtype: object Sleep walking disorder (disorder) PB0036 Sleep and rest patterns Surveillance SS3603 Sleepwalking
65
+ nan
66
+ OMS matches for : sleep 246 02.45
67
+ 361 01.45
68
+ 405 03.45
69
+ 454 04.45
70
+ 747 36.08
71
+ 748 36.03
72
+ 749 36
73
+ 753 36.06
74
+ 755 36.01
75
+ 756 36.06
76
+ Name: Omaha Code, dtype: object 246 225206006
77
+ 361 410305008
78
+ 405 410352002
79
+ 454 410409001
80
+ 747 73430006
81
+ 748 80495009
82
+ 749 106021008
83
+ 753 422730001
84
+ 755 423439006
85
+ 756 425202006
86
+ Name: SNOMED CT concept ID, dtype: object Insufficient rest/sleep for physical condition (finding) PB0036 Sleep and rest patterns Surveillance SS3606 Insufficient sleep/rest for age/physical condition
87
+ OMS matches for : sleep 246 02.45
88
+ 361 01.45
89
+ 405 03.45
90
+ 454 04.45
91
+ 747 36.08
92
+ 748 36.03
93
+ 749 36
94
+ 753 36.06
95
+ 755 36.01
96
+ 756 36.06
97
+ Name: Omaha Code, dtype: object 246 225206006
98
+ 361 410305008
99
+ 405 410352002
100
+ 454 410409001
101
+ 747 73430006
102
+ 748 80495009
103
+ 749 106021008
104
+ 753 422730001
105
+ 755 423439006
106
+ 756 425202006
107
+ Name: SNOMED CT concept ID, dtype: object Sleep pattern disrupts family lifestyle (finding) PB0036 Sleep and rest patterns Surveillance SS3601 Sleep/rest pattern disrupts family
108
+ OMS matches for : sleep 246 02.45
109
+ 361 01.45
110
+ 405 03.45
111
+ 454 04.45
112
+ 747 36.08
113
+ 748 36.03
114
+ 749 36
115
+ 753 36.06
116
+ 755 36.01
117
+ 756 36.06
118
+ Name: Omaha Code, dtype: object 246 225206006
119
+ 361 410305008
120
+ 405 410352002
121
+ 454 410409001
122
+ 747 73430006
123
+ 748 80495009
124
+ 749 106021008
125
+ 753 422730001
126
+ 755 423439006
127
+ 756 425202006
128
+ Name: SNOMED CT concept ID, dtype: object Insufficient rest/sleep for age (finding) PB0036 Sleep and rest patterns Surveillance SS3606 Insufficient sleep/rest for age/physical condition
129
+ nan
130
+ nan
131
+ nan
132
+ nan
133
+ OMS matches for : sleep 246 02.45
134
+ 361 01.45
135
+ 405 03.45
136
+ 454 04.45
137
+ 747 36.08
138
+ 748 36.03
139
+ 749 36
140
+ 753 36.06
141
+ 755 36.01
142
+ 756 36.06
143
+ Name: Omaha Code, dtype: object 246 225206006
144
+ 361 410305008
145
+ 405 410352002
146
+ 454 410409001
147
+ 747 73430006
148
+ 748 80495009
149
+ 749 106021008
150
+ 753 422730001
151
+ 755 423439006
152
+ 756 425202006
153
+ Name: SNOMED CT concept ID, dtype: object Sleep apnea (disorder) PB0036 Sleep and rest patterns Surveillance SS3608 Sleep apnea
154
+ OMS matches for : sleep 246 02.45
155
+ 361 01.45
156
+ 405 03.45
157
+ 454 04.45
158
+ 747 36.08
159
+ 748 36.03
160
+ 749 36
161
+ 753 36.06
162
+ 755 36.01
163
+ 756 36.06
164
+ Name: Omaha Code, dtype: object 246 225206006
165
+ 361 410305008
166
+ 405 410352002
167
+ 454 410409001
168
+ 747 73430006
169
+ 748 80495009
170
+ 749 106021008
171
+ 753 422730001
172
+ 755 423439006
173
+ 756 425202006
174
+ Name: SNOMED CT concept ID, dtype: object Sleep walking disorder (disorder) PB0036 Sleep and rest patterns Surveillance SS3603 Sleepwalking
175
+ nan
176
+ OMS matches for : sleep 246 02.45
177
+ 361 01.45
178
+ 405 03.45
179
+ 454 04.45
180
+ 747 36.08
181
+ 748 36.03
182
+ 749 36
183
+ 753 36.06
184
+ 755 36.01
185
+ 756 36.06
186
+ Name: Omaha Code, dtype: object 246 225206006
187
+ 361 410305008
188
+ 405 410352002
189
+ 454 410409001
190
+ 747 73430006
191
+ 748 80495009
192
+ 749 106021008
193
+ 753 422730001
194
+ 755 423439006
195
+ 756 425202006
196
+ Name: SNOMED CT concept ID, dtype: object Insufficient rest/sleep for physical condition (finding) PB0036 Sleep and rest patterns Surveillance SS3606 Insufficient sleep/rest for age/physical condition
197
+ OMS matches for : sleep 246 02.45
198
+ 361 01.45
199
+ 405 03.45
200
+ 454 04.45
201
+ 747 36.08
202
+ 748 36.03
203
+ 749 36
204
+ 753 36.06
205
+ 755 36.01
206
+ 756 36.06
207
+ Name: Omaha Code, dtype: object 246 225206006
208
+ 361 410305008
209
+ 405 410352002
210
+ 454 410409001
211
+ 747 73430006
212
+ 748 80495009
213
+ 749 106021008
214
+ 753 422730001
215
+ 755 423439006
216
+ 756 425202006
217
+ Name: SNOMED CT concept ID, dtype: object Sleep pattern disrupts family lifestyle (finding) PB0036 Sleep and rest patterns Surveillance SS3601 Sleep/rest pattern disrupts family
218
+ OMS matches for : sleep 246 02.45
219
+ 361 01.45
220
+ 405 03.45
221
+ 454 04.45
222
+ 747 36.08
223
+ 748 36.03
224
+ 749 36
225
+ 753 36.06
226
+ 755 36.01
227
+ 756 36.06
228
+ Name: Omaha Code, dtype: object 246 225206006
229
+ 361 410305008
230
+ 405 410352002
231
+ 454 410409001
232
+ 747 73430006
233
+ 748 80495009
234
+ 749 106021008
235
+ 753 422730001
236
+ 755 423439006
237
+ 756 425202006
238
+ Name: SNOMED CT concept ID, dtype: object Insufficient rest/sleep for age (finding) PB0036 Sleep and rest patterns Surveillance SS3606 Insufficient sleep/rest for age/physical condition
239
+ OMS matches for : syncope 53 29.07
240
+ Name: Omaha Code, dtype: object 53 271594007
241
+ Name: SNOMED CT concept ID, dtype: object Syncope (disorder) PB0029 Circulation Surveillance SS2907 Syncopal Episodes (Fainting)/Dizziness
242
+ OMS matches for : syncope 53 29.07
243
+ Name: Omaha Code, dtype: object 53 271594007
244
+ Name: SNOMED CT concept ID, dtype: object Syncope (disorder) PB0029 Circulation Surveillance SS2907 Syncopal Episodes (Fainting)/Dizziness
PanelsAndForms-ACW1208Labeled.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:830bed108c436e46fbca26ec4b0cb449cb113bb15159de961f36289c9a6036ef
3
+ size 12613127
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: ⚕️ Clinical Terminology Biomed NLP AI NER 🩺 Gradio
3
+ emoji: 👩‍⚕️CT👩‍⚕️
4
+ colorFrom: blue
5
+ colorTo: yellow
6
+ sdk: gradio
7
+ sdk_version: 3.16.0
8
+ app_file: app.py
9
+ pinned: false
10
+ duplicated_from: DataScienceEngineering/7-NER-Biomed-ClinicalTerms
11
+ ---
12
+
13
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
SNOMEDTerms.txt ADDED
The diff for this file is too large to render. See raw diff
 
SnomedOMS.csv ADDED
The diff for this file is too large to render. See raw diff
 
app.py ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import pandas as pd
3
+ import json
4
+ from collections import defaultdict
5
+
6
+ # Create tokenizer for biomed model
7
+ from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
8
+ tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all") # https://huggingface.co/d4data/biomedical-ner-all?text=asthma
9
+ model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all")
10
+ pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
11
+
12
+ # Matplotlib for entity graph
13
+ import matplotlib.pyplot as plt
14
+ plt.switch_backend("Agg")
15
+
16
+ # Load examples from JSON
17
+ import os
18
+
19
+ # Load terminology datasets:
20
+ basedir = os.path.dirname(__file__)
21
+ #dataLOINC = pd.read_csv(basedir + "\\" + f'LoincTableCore.csv')
22
+ #dataPanels = pd.read_csv(basedir + "\\" + f'PanelsAndForms-ACW1208Labeled.csv')
23
+ #dataSNOMED = pd.read_csv(basedir + "\\" + f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
24
+ #dataOMS = pd.read_csv(basedir + "\\" + f'SnomedOMS.csv')
25
+ #dataICD10 = pd.read_csv(basedir + "\\" + f'ICD10Diagnosis.csv')
26
+
27
+ dataLOINC = pd.read_csv(f'LoincTableCore.csv')
28
+ dataPanels = pd.read_csv(f'PanelsAndForms-ACW1208Labeled.csv')
29
+ dataSNOMED = pd.read_csv(f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
30
+ dataOMS = pd.read_csv(f'SnomedOMS.csv')
31
+ dataICD10 = pd.read_csv(f'ICD10Diagnosis.csv')
32
+
33
+ dir_path = os.path.dirname(os.path.realpath(__file__))
34
+ EXAMPLES = {}
35
+ #with open(dir_path + "\\" + "examples.json", "r") as f:
36
+ with open("examples.json", "r") as f:
37
+ example_json = json.load(f)
38
+ EXAMPLES = {x["text"]: x["label"] for x in example_json}
39
+
40
+ def MatchLOINC(name):
41
+ #basedir = os.path.dirname(__file__)
42
+ pd.set_option("display.max_rows", None)
43
+ #data = pd.read_csv(basedir + "\\" + f'LoincTableCore.csv')
44
+ data = dataLOINC
45
+ swith=data.loc[data['COMPONENT'].str.contains(name, case=False, na=False)]
46
+ return swith
47
+
48
+ def MatchLOINCPanelsandForms(name):
49
+ #basedir = os.path.dirname(__file__)
50
+ #data = pd.read_csv(basedir + "\\" + f'PanelsAndForms-ACW1208Labeled.csv')
51
+ data = dataPanels
52
+ # Assessment Name:
53
+ #swith=data.loc[data['ParentName'].str.contains(name, case=False, na=False)]
54
+ # Assessment Question:
55
+ swith=data.loc[data['LoincName'].str.contains(name, case=False, na=False)]
56
+ return swith
57
+
58
+ def MatchSNOMED(name):
59
+ #basedir = os.path.dirname(__file__)
60
+ #data = pd.read_csv(basedir + "\\" + f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
61
+ data = dataSNOMED
62
+ swith=data.loc[data['term'].str.contains(name, case=False, na=False)]
63
+ return swith
64
+
65
+ def MatchOMS(name):
66
+ #basedir = os.path.dirname(__file__)
67
+ #data = pd.read_csv(basedir + "\\" + f'SnomedOMS.csv')
68
+ data = dataOMS
69
+ swith=data.loc[data['SNOMED CT'].str.contains(name, case=False, na=False)]
70
+ return swith
71
+
72
+ def MatchICD10(name):
73
+ #basedir = os.path.dirname(__file__)
74
+ #data = pd.read_csv(basedir + "\\" + f'ICD10Diagnosis.csv')
75
+ data = dataICD10
76
+ swith=data.loc[data['Description'].str.contains(name, case=False, na=False)]
77
+ return swith
78
+
79
+ def SaveResult(text, outputfileName):
80
+ #try:
81
+ basedir = os.path.dirname(__file__)
82
+ savePath = outputfileName
83
+ print("Saving: " + text + " to " + savePath)
84
+ from os.path import exists
85
+ file_exists = exists(savePath)
86
+ if file_exists:
87
+ with open(outputfileName, "a") as f: #append
88
+ #for line in text:
89
+ f.write(str(text.replace("\n"," ")))
90
+ f.write('\n')
91
+ else:
92
+ with open(outputfileName, "w") as f: #write
93
+ #for line in text:
94
+ f.write(str(text.replace("\n"," ")))
95
+ f.write('\n')
96
+ #except ValueError as err:
97
+ # raise ValueError("File Save Error in SaveResult \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
98
+
99
+ return
100
+
101
+ def loadFile(filename):
102
+ try:
103
+ basedir = os.path.dirname(__file__)
104
+ loadPath = basedir + "\\" + filename
105
+
106
+ print("Loading: " + loadPath)
107
+
108
+ from os.path import exists
109
+ file_exists = exists(loadPath)
110
+
111
+ if file_exists:
112
+ with open(loadPath, "r") as f: #read
113
+ contents = f.read()
114
+ print(contents)
115
+ return contents
116
+
117
+ except ValueError as err:
118
+ raise ValueError("File Save Error in SaveResult \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
119
+
120
+ return ""
121
+
122
+ def get_today_filename():
123
+ from datetime import datetime
124
+ date = datetime.now().strftime("%Y_%m_%d-%I.%M.%S.%p")
125
+ #print(f"filename_{date}") 'filename_2023_01_12-03-29-22_AM'
126
+ return f"MedNER_{date}.csv"
127
+
128
+ def get_base(filename):
129
+ basedir = os.path.dirname(__file__)
130
+ loadPath = basedir + "\\" + filename
131
+ #print("Loading: " + loadPath)
132
+ return loadPath
133
+
134
+ def group_by_entity(raw):
135
+ outputFile = get_base(get_today_filename())
136
+ out = defaultdict(int)
137
+
138
+ for ent in raw:
139
+ out[ent["entity_group"]] += 1
140
+ myEntityGroup = ent["entity_group"]
141
+ print("Found entity group type: " + myEntityGroup)
142
+
143
+ if (myEntityGroup in ['Sign_symptom', 'Detailed_description', 'History', 'Activity', 'Medication' ]):
144
+ eterm = ent["word"].replace('#','')
145
+ minlength = 3
146
+ if len(eterm) > minlength:
147
+ print("Found eterm: " + eterm)
148
+ eterm.replace("#","")
149
+ g1=MatchLOINC(eterm)
150
+ g2=MatchLOINCPanelsandForms(eterm)
151
+ g3=MatchSNOMED(eterm)
152
+ g4=MatchOMS(eterm)
153
+ g5=MatchICD10(eterm)
154
+ sAll = ""
155
+
156
+ print("Saving to output file " + outputFile)
157
+ # Create harmonisation output format of input to output code, name, Text
158
+
159
+ try: # 18 fields, output to labeled CSV dataset for results teaching on scored regret changes to action plan with data inputs
160
+ col = " 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19"
161
+
162
+ #LOINC
163
+ g11 = g1['LOINC_NUM'].to_string().replace(","," ").replace("\n"," ")
164
+ g12 = g1['COMPONENT'].to_string().replace(","," ").replace("\n"," ")
165
+ s1 = ("LOINC," + myEntityGroup + "," + eterm + ",questions of ," + g12 + "," + g11 + ", Label,Value, Label,Value, Label,Value ")
166
+ if g11 != 'Series([] )': SaveResult(s1, outputFile)
167
+
168
+ #LOINC Panels
169
+ g21 = g2['Loinc'].to_string().replace(","," ").replace("\n"," ")
170
+ g22 = g2['LoincName'].to_string().replace(","," ").replace("\n"," ")
171
+ g23 = g2['ParentLoinc'].to_string().replace(","," ").replace("\n"," ")
172
+ g24 = g2['ParentName'].to_string().replace(","," ").replace("\n"," ")
173
+ # s2 = ("LOINC Panel," + myEntityGroup + "," + eterm + ",name of ," + g22 + "," + g21 + ", and Parent codes of ," + g23 + ", with Parent names of ," + g24 + ", Label,Value ")
174
+ s2 = ("LOINC Panel," + myEntityGroup + "," + eterm + ",name of ," + g22 + "," + g21 + "," + g24 + ", and Parent codes of ," + g23 + "," + ", Label,Value ")
175
+ if g21 != 'Series([] )': SaveResult(s2, outputFile)
176
+
177
+ #SNOMED
178
+ g31 = g3['conceptId'].to_string().replace(","," ").replace("\n"," ").replace("\l"," ").replace("\r"," ")
179
+ g32 = g3['term'].to_string().replace(","," ").replace("\n"," ").replace("\l"," ").replace("\r"," ")
180
+ s3 = ("SNOMED Concept," + myEntityGroup + "," + eterm + ",terms of ," + g32 + "," + g31 + ", Label,Value, Label,Value, Label,Value ")
181
+ if g31 != 'Series([] )': SaveResult(s3, outputFile)
182
+
183
+ #OMS
184
+ g41 = g4['Omaha Code'].to_string().replace(","," ").replace("\n"," ")
185
+ g42 = g4['SNOMED CT concept ID'].to_string().replace(","," ").replace("\n"," ")
186
+ g43 = g4['SNOMED CT'].to_string().replace(","," ").replace("\n"," ")
187
+ g44 = g4['PR'].to_string().replace(","," ").replace("\n"," ")
188
+ g45 = g4['S&S'].to_string().replace(","," ").replace("\n"," ")
189
+ s4 = ("OMS," + myEntityGroup + "," + eterm + ",concepts of ," + g44 + "," + g45 + ", and SNOMED codes of ," + g43 + ", and OMS problem of ," + g42 + ", and OMS Sign Symptom of ," + g41)
190
+ if g41 != 'Series([] )': SaveResult(s4, outputFile)
191
+
192
+ #ICD10
193
+ g51 = g5['Code'].to_string().replace(","," ").replace("\n"," ")
194
+ g52 = g5['Description'].to_string().replace(","," ").replace("\n"," ")
195
+ s5 = ("ICD10," + myEntityGroup + "," + eterm + ",descriptions of ," + g52 + "," + g51 + ", Label,Value, Label,Value, Label,Value ")
196
+ if g51 != 'Series([] )': SaveResult(s5, outputFile)
197
+
198
+ except ValueError as err:
199
+ raise ValueError("Error in group by entity \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
200
+
201
+ return outputFile
202
+
203
+
204
+ def plot_to_figure(grouped):
205
+ fig = plt.figure()
206
+ plt.bar(x=list(grouped.keys()), height=list(grouped.values()))
207
+ plt.margins(0.2)
208
+ plt.subplots_adjust(bottom=0.4)
209
+ plt.xticks(rotation=90)
210
+ return fig
211
+
212
+
213
+ def ner(text):
214
+ raw = pipe(text)
215
+ ner_content = {
216
+ "text": text,
217
+ "entities": [
218
+ {
219
+ "entity": x["entity_group"],
220
+ "word": x["word"],
221
+ "score": x["score"],
222
+ "start": x["start"],
223
+ "end": x["end"],
224
+ }
225
+ for x in raw
226
+ ],
227
+ }
228
+
229
+ outputFile = group_by_entity(raw)
230
+ label = EXAMPLES.get(text, "Unknown")
231
+ outputDataframe = pd.read_csv(outputFile)
232
+ return (ner_content, outputDataframe, outputFile)
233
+
234
+ demo = gr.Blocks()
235
+ with demo:
236
+ gr.Markdown(
237
+ """
238
+ # 🩺⚕️NLP Clinical Ontology Biomedical NER
239
+ """
240
+ )
241
+ input = gr.Textbox(label="Note text", value="")
242
+
243
+ with gr.Tab("Biomedical Entity Recognition"):
244
+ output=[
245
+ gr.HighlightedText(label="NER", combine_adjacent=True),
246
+ #gr.JSON(label="Entity Counts"),
247
+ #gr.Label(label="Rating"),
248
+ #gr.Plot(label="Bar"),
249
+ gr.Dataframe(label="Dataframe"),
250
+ gr.File(label="File"),
251
+ ]
252
+ examples=list(EXAMPLES.keys())
253
+ gr.Examples(examples, inputs=input)
254
+ input.change(fn=ner, inputs=input, outputs=output)
255
+
256
+ with gr.Tab("Clinical Terminology Resolution"):
257
+ with gr.Row(variant="compact"):
258
+ btnLOINC = gr.Button("LOINC")
259
+ btnPanels = gr.Button("Panels")
260
+ btnSNOMED = gr.Button("SNOMED")
261
+ btnOMS = gr.Button("OMS")
262
+ btnICD10 = gr.Button("ICD10")
263
+
264
+ examples=list(EXAMPLES.keys())
265
+ gr.Examples(examples, inputs=input)
266
+ input.change(fn=ner, inputs=input, outputs=output)
267
+ #layout="vertical"
268
+ demo.launch(debug=True)
backup.app.py ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import pandas as pd
3
+ import json
4
+ from collections import defaultdict
5
+
6
+ # Create tokenizer for biomed model
7
+ from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
8
+ tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all") # https://huggingface.co/d4data/biomedical-ner-all?text=asthma
9
+ model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all")
10
+ pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
11
+
12
+ # Matplotlib for entity graph
13
+ import matplotlib.pyplot as plt
14
+ plt.switch_backend("Agg")
15
+
16
+ # Load examples from JSON
17
+ import os
18
+
19
+ # Load terminology datasets:
20
+ basedir = os.path.dirname(__file__)
21
+ #dataLOINC = pd.read_csv(basedir + "\\" + f'LoincTableCore.csv')
22
+ #dataPanels = pd.read_csv(basedir + "\\" + f'PanelsAndForms-ACW1208Labeled.csv')
23
+ #dataSNOMED = pd.read_csv(basedir + "\\" + f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
24
+ #dataOMS = pd.read_csv(basedir + "\\" + f'SnomedOMS.csv')
25
+ #dataICD10 = pd.read_csv(basedir + "\\" + f'ICD10Diagnosis.csv')
26
+
27
+ dataLOINC = pd.read_csv(f'LoincTableCore.csv')
28
+ dataPanels = pd.read_csv(f'PanelsAndForms-ACW1208Labeled.csv')
29
+ dataSNOMED = pd.read_csv(f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
30
+ dataOMS = pd.read_csv(f'SnomedOMS.csv')
31
+ dataICD10 = pd.read_csv(f'ICD10Diagnosis.csv')
32
+
33
+ dir_path = os.path.dirname(os.path.realpath(__file__))
34
+ EXAMPLES = {}
35
+ #with open(dir_path + "\\" + "examples.json", "r") as f:
36
+ with open("examples.json", "r") as f:
37
+ example_json = json.load(f)
38
+ EXAMPLES = {x["text"]: x["label"] for x in example_json}
39
+