Hello,
I’m working on a conversion using the 5.2 version of the common data model. I’m using the ddls defined in the github repository to setup the schema (for example postgres dll → CommonDataModel/OMOP CDM ddl - PostgreSQL.sql at v5.2.0 · OHDSI/CommonDataModel · GitHub)
However, if I look to the OMOP Common Data Model v5.2 Specifications pdf there are some differences between the ddls schema and the information on document.
This looks to happen for the datetime fields like for example procedure_datetime, observation_period_start_datetime, observation_period_end_datetime, drug_exposure_start_datetime, condition_start_datetime for both 5.2.0 and 5.2.2 CDM versions where they are all not null/required in the ddls but in the pdf document they are described as required.
My question is what should I consider as the valid CDM? The one in the ddls or the one in the pdf document?
Many thanks,
Joana