awacke1 commited on
Commit
f8b3070
·
1 Parent(s): 4a50208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'{basedir}/sct2_Description_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
 
 
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