Download docker project
git clone https://bitbucket.org/opencds/opencds-cdstovmr-docker
Install Mercurial
In order to build this image you will need cda-ws-ear.ear and cda-ws-web.war files. These files can be obtained by cloning and building the cda-web-service project. First you need to install Mercurial (https://mercurial.selenic.com/) which is the control management tool used in this project.
sudo apt-get install mercurial
Clone and build project
hg clone https://bitbucket.org/sharps-ds2/cda-web-service cd cda-web-service; mvn clean install
Copy the required files into opencds-cdstovmr-docker folder
cp cda-web-service/cda-ws-ear/target/cda-ws-ear.ear opencds-cdstovmr-docker/
Also you need the following terminology resources:
From http://www.nlm.nih.gov/research/umls/
ICD9CM_SNOMED_MAP_1TO1.txt
ICD9CM_SNOMED_MAP_1TOM.txt
SNOMEDCT_CORE_SUBSET_201311.txt
tls_Icd10HumanReadableMap_INT_20131220.tsv
From http://www.hcup-us.ahrq.gov/toolssoftware/icd_10/ccs_icd10_2006.zip
ccs_icd10_2006.csv data
Place these five files into opencds-cdstovmr-docker folder
Define the URL of your opencds service
<session> <ejb-name>OpenCdsServiceMGR</ejb-name> <env-entry> <env-entry-name>OPENCDS_ENDPOINT</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>http://192.168.1.101:8081/opencds-decision-support-service-1.2.0-SNAPSHOT/evaluate</env-entry-value> </env-entry>