Open MaximMoinat opened 2 years ago
Related side-note: the visit criteria also has a 'Place of service' attribute. While this does result in a valid cohort query, the place_of_service_conept_id
that it uses is to be deprecated in a later OMOP CDM version. Here we would also suggest to remove this attribute.
During an exercise in the CDM WG, we discovered a remnant of an OMOP CDM v6 table in the Atlas Cohort Definition interface. This results in a cohort definition that will not run on OMOP CDM v5.4.
When adding a visit occurrence criteria, you have the option to specify the attribute 'Place of service location'.
This adds the following section to the cohort sql:
Both the
location_history
table andlocation.region_concept_id
field are not part of the OMOP CDM v5.4.Our suggestion is to remove the 'Place of service location' attribute completely from the Atlas Cohort Definition interface.