Closed yichienlee2 closed 8 months ago
@yichienlee2 sorry, yes the missing will look for those concepts, I forgot about that. Please remove in line 96 from the RunFeasibilty the check "missing" and try again.
@tiozab thank you, it works now! I do not have further questions.
The only remaining database we have do not even provide CONCEPT table and I believe there is no workaround we can do,
Well, the concept table is needed to get the descendant (more granular) drug concepts from the ingredient level in this feasibility step.
Completely understood, we already reached out to our data provider to discuss including concepts tables moving forward. Thank you for your help and guidance along the way.
We have OMOP databases from various data providers. Some of them do not have all tables/columns in the CDM. Can I confirm it's a deal breaker (i.e. we cannot run the study) if we do not have VISIT_DETAIL_ID or VERBATIM_END_DATE under DRUG_EXPOSURE?
We have another database that does not provide CONCEPT table, I believe that's a deal breaker too?
Thank you for your help!
Below is the error messages around lack of VERBATIM_END_DATE:
source("E:/doc/internal/OMOP/Megastudy_feasibility/MegaStudy/Feasibility Code/RunFeasibility.R") population after earliestStartDate smaller than sample, ignoring date for sampling Error in
dplyr::collect()
: ! Failed to collect lazy table. Caused by error: ! nanodbc/nanodbc.cpp:1526: 42000: SQL compilation error: error line 7 at position 18 invalid identifier '"verbatim_end_date"' Runrlang::last_trace()
to see where the error occurred.