OHDSI / CohortDiagnostics

An R package for performing various cohort diagnostics.
https://ohdsi.github.io/CohortDiagnostics
41 stars 48 forks source link

Remove concept specifications from results data model and unify with common data model #1142

Open azimov opened 3 days ago

azimov commented 3 days ago

The results data of exported vocabulary tables should follow - precisely - the CDM definitions. As the CDM definitions table changes the diagnostics here are out of date which can create issues for users following the latest CDM standards.

Solution

Add a dependency on the common data model package and remove tables from the csv specification here. The "getResultsDataModels" csv file should combine these two data frames.

This may create issues with results upload - however, the export of vocabulary tables should follow this dependency. (Some form of check on the vocabulary version used in the CDM may need to be imposed prior to extracting vocabulary tables)