Creation of a novel medical search engine/algorithm: e.g. a search engine that could search pubmed based on a combination of CPT code and ICD-10 code (or ICD-9 code).
Capabilities:
- Display most relevant articles
-
Download metamap 2012 https://metamap.nlm.nih.gov/MainDownload.shtml. It’s a large file and will take a while
- Note: Specifically must be version 2012, because it’s what was tested and created by Anthony Rios, the author of Python Metamap wrapper
-
unzip it - this will take a while
-
detailed install instructions can be found by following the instructions here https://buttelab.stanford.edu/metamap#installation or here https://metamap.nlm.nih.gov/Installation.shtml#Stopping_the_servers
- cd public_mm
- export JAVA_HOME=/System/Library/Frameworks/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/
- export PATH=$PATH:$JAVA_HOME/bin:/Users/nwams/Documents/MetaMap/public_mm/bin
- ./bin/install.sh
- click the enter button twice
- ./bin/skrmedpostctl start
- ./bin/wsdserverctl start
- ./bin/metamap12
-
Download this Python metamap wrapper: https://github.com/AnthonyMRios/pymetamap
-
I created an app.py file in the pymetamap folder
-
I created a folder called “Code” to store the cpt and ics csv files. Note that for ICD code, DX means diagnosis while SG means procedure. ICD codes in the CSV file start on row 915.
To start the MetaMap servers:
- In command line, cd into the public_mm folder
- enter the following ./bin/skrmedpostctl start
- enter the following command ./bin/wsdserverctl start
- Start the app.py file (located in the pymetamap folder) by typing the command python app.py to launch the search engine on your local browser