Seems like I was able to figure out the proper connection string for the builder database (which is inconsistent with the other configuration connection strings btw) form this issue (ETL-CDMBuilder documentation (or lack of it) questions). After looking into the source code for the builder. The build and target databases are properly created and now I am stuck in the chunk generation part with this error:
Builder: OHDSI-CONVERSIO
Time: Feb 9 2017 9:50PM
Error: Exception Found:
Type: System.Data.Odbc.OdbcException
Message: ERROR [42S02] [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name ‘dbo.ENROLLMENT_DETAIL’.
Source: sqlncli11.dll
Stacktrace: at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
at org.ohdsi.cdm.framework.data.DbLayer.DbSource.d__3.MoveNext()
at org.ohdsi.cdm.framework.core.Controllers.ChunkController.d__4.MoveNext()
at org.ohdsi.cdm.framework.core.Controllers.ChunkController.CreateChunks()
at org.ohdsi.cdm.framework.core.Controllers.BuilderController.PerformAction(Action act)
Seems like the table dbo.ENROLLMENT_DETAIL should contain the personId’s to put in the chunk (or something along those lines), but this is never generated by the builder program. I have looked in the code repository for this table, and see that in some tests this table is populated manually, but there is no single piece of code that shows this being done inside the builder on a regular basis for the regular build process. I am not a c# expert so I might be missing something.
Is this table supposed to be populated manually? if so, how? I don’t see any mention of this in any documentation other than the test cases on the code repository.
Any help would be greatly appreciated! @Patrick_Ryan, @ericaVoss seems like the github issues and the forum for the ETL-CDMBUILDER issues are a bit quiet.