Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def MatchLOINCPanelsandForms(name):
|
|
21 |
def MatchSNOMED(name):
|
22 |
import pandas as pd
|
23 |
basedir = os.path.dirname(__file__)
|
24 |
-
data = pd.read_csv(f'
|
25 |
swith = data[data['term'].str.match(name)]
|
26 |
return swith
|
27 |
|
|
|
21 |
def MatchSNOMED(name):
|
22 |
import pandas as pd
|
23 |
basedir = os.path.dirname(__file__)
|
24 |
+
data = pd.read_csv(f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t') # SNOMEDCT Download https://www.nlm.nih.gov/healthit/snomedct/us_edition.html
|
25 |
swith = data[data['term'].str.match(name)]
|
26 |
return swith
|
27 |
|