Closed egillax closed 1 month ago
Sorry I actually have the column just didn't export it.
Leaving this open in case you want to be robust to the case where the column doesn't exist. I'm not sure what the common practice is with non-required columns in the CDM.
I think it's better to keep using the column as is because we want this code to crash when invalid OMOP data is provided. It's better to loudly fail than to silently lose data IMHO.
I'm going to close this issue, but feel free to reopen if you run into issues.
In this line the call to
cast_to_datetime(batch, "birth_datetime")
fails because the column "birth_datetime" doesn't exist in my data.