# ---
#
# Properties file for fhir-to-omop project
#
# ---

# ---
# 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=Sneaker01

# ---
# 
# 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=C:\\fhir-to-omop\\terminology\\vocabulary_download_v5_{8c94604f-71b9-47ea-aef2-04be2a7d52b1}_1646823567698\\

# ---
# DOWNLOAD STUFF
# ---

httpClientAuthenticatorClass=org.nachc.tools.fhirtoomop.fhir.util.server.auth.impl.HeaderTokenAuthenticator
fhirPatientServerUrl=https://syntheticmass.mitre.org/v1/fhir

headerTokenAuthenticatorApiId=<YOUR_ID>
headerTokenAuthenticatorApiKey=<YOUR_KEY>
headerTokenAuthenticatorSecret=<YOUR_SECRET>
headerTokenAuthenticatorUrl=https://syntheticmass.mitre.org/oauth2/accesstoken
downloadPatientIdDir=/test/fhir/patient-ids/patient-ids-2

downloadNumberOfPatientsPerThread=1
downloadMaxNumberOfActiveWorkers=1
downloadNumberOfPatientsPerWorker=1
downloadRetryCount=5
downloadInputDir=/test/fhir/patient-ids/patient-ids-2
downloadOutputDir=C:\\fhir-to-omop\\test\\test\\patients-test

# ---
# UPLOAD STUFF
# ---

# dir where your fhir patients live (this will be used to populate your omop instance
fhirPatientsDir=C:\\fhir-to-omop\\test\\synthea\\synthea-micro
maxNumberOfWorkersForUpload=8
maxNumberOfThreadsForUpload=20
maxNumberOfConnectionsForUpload=20
conceptCacheSize=1000000

syntheaPatientsDir=/test/fhir/synthea


# ---
# Atlas Stuff
# ---

# bootstrap connection for atlas postgres
postgresBootstrapUrl=jdbc:postgresql://localhost:5432
postgresBootstrapUid=postgres
postgresBootstrapPwd=stripedbass

# users for atlas postgres 
ohdsiAdminUserUid=ohdsi_admin_user
ohdsiAdminUserPwd=stripedbass
ohdsiAdminUid=ohdsi_admin
ohdsiAdminPwd=stripedbass
ohdsiAppUserUid=ohdsi_app_user
ohdsiAppUserPwd=stripedbass
ohdsiAppUid=ohdsi_app
ohdsiAppPwd=stripedbass

# atlas database name
ohdsiDbName=OHDSI
ohdsiDbOwner=ohdsi_admin

# atlas data source
atlasDataSourceName=Localhost CDM
atlasDataSourceKey=MY_CDM
atlasCdm=synthea_micro.dbo
atlasResults=synthea_micro_achilles_results.dbo
atlasTemp=synthea_micro_achilles_temp.dbo
atlasCdmUrl=jdbc:sqlserver://localhost:1433;encrypt=false;databaseName=synthea_micro;user=synthea_micro;password=Sneaker01





