The CreateOmopInstanceTool class will build a complete OMOP CDM database that is ready to receive data and get plugged into OHDSI tools. This tool will
This tool can be run from the Standalone Application using the "instant-omop" or "i" option:
fhir-to-omop instant-omop
fhir-to-omop i
# --- # DATABASE INSTANCE # --- bootstrapUrl=jdbc:sqlserver://localhost;databaseName=master;integratedSecurity=true;encrypt=false url=jdbc:sqlserver://localhost:1433;encrypt=false syntheaDb=synthea_micro.dbo uid=synthea_micro pwd=sneaker # --- # # VALUES USED TO CREATE CDM_SOURCE RECORD # These values are used by the Data Quality Dashboard. Documented here: # # https://nachc-cad.github.io/fhir-to-omop/pages/navbar/ohdsi-tools/dqd/DataQualityDashboard.html # https://ohdsi.github.io/DataQualityDashboard/ # # --- cdm_source_name=NACHC Test cdm_source_abbreviation=NACHC-TEST cdm_holder=johngresh@curlewconsulting.com source_description=Test database source_documentation_reference=https://github.com/NACHC-CAD/fhir-to-omop cdm_etl_reference=N/A source_release_date=2021-12-01 cdm_release_date=2021-12-01 cdm_version=5.4 vocabulary_version=v5.0 04-FEB-22 cdm_version_concept_id=756265 # --- # TERMINOLOGY STUFF # --- # dir where you downloaded your terminology files terminologyRootDir=D:\\NACHC\\Projects\\athena\\downloads\\vocabulary_download_v5_{8c94604f-71b9-47ea-aef2-04be2a7d52b1}_1646823567698\\
Note that the terminologyRootDir in the above app.properties segment is:
D:\\NACHC\\Projects\\athena\\downloads\\vocabulary_download_v5_{8c94604f-71b9-47ea-aef2-04be2a7d52b1}_1646823567698\\Note the double backslashes to escape the "\" character. Note that the string ends with "\\". This is the directory where the files from Athena are located for this example. This folder looks like this:
The Instant OMOP Tool can be run from the Standalone application as shown below by entering the command shown below. The second screen shot shows what the application should look like when it has finished. As shown in the second screen shot, the process takes about 10 minutes.
fhir-to-omop.bat i
The results of running the application is the creation of all of the database object required for OMOP.
This includes the OMOP schema, the DQD results database, an OMOP database user, etc.
Before and after screen shots are shown below.