Data Team
Follow these instructions to generate a rxnorm dataset:
- Clone the rxnorm-data repository
git clone [Rep URL]
-
Change local directory to
rxnorm-data
-
Download RxNorm File from National Library of Medicine (RxNorm-in-OWL/RxNorm Files): https://www.nlm.nih.gov/research/umls/rxnorm/index.html
-
Place the downloaded Pilot-Defined-RxNorm_*_.owl in your local Downloads directory.
-
Ensure the rxnorm-data/pom.xml contains the proper tags containing source filename for the downloaded files such as: <source.zip>, <source.version>, <snomed.source.zip>, , etc.
-
Create a ~/Solor directory and ensure ~/Solor/generated-data does not exist or is empty.
-
You can create a reasoned or unreasoned dataset by either including or commenting out the rxnorm-data/pom.xml rxnorm-reasoner
-
Enter the following command to build the dataset:
mvn clean install -U "-DMaven.build.cache.enable=false"
- Enter the following command to deploy the dataset:
mvn deploy -f rxnorm-export "-DdeployToNexus=true" "-Dmaven.deploy.skip=true" "-Dmaven.build.cache.enabled=false"
- NOTE. This repo is built on top of an unreasoned spined array DB from snomed-ct-data. Therefore, make sure you have it built before running step #8.