[PatientLevelPrediction] dbSendUpdate error

From Martijn Schuemie, one of the authors of the package:

Hi Jefferson,

The package is looking for a field named ‘cohort_definition_id’ in your cohort table (‘rehospitalization’), but can’t find it.

Note that one difference between OMOP CDM V4 and V5 is that this identifier was renamed from ‘cohort_concept_id’ to ‘cohort_definition_id’ (because it’s not a concept ID). For the user-supplied cohort table for the PLP package we decided to follow the same convention: if you’re using CDM V4, you should use the old name, for V5 you should use the new name. The example in the vignette assumes you’re running CDM V4, but I’m guessing you’re using V5 instead (I’ve written somewhere that you should change that, but I’m not surprised you didn’t find it).

Cheers,
Martijn