-
Notifications
You must be signed in to change notification settings - Fork 481
Description
| visit_detail_concept_id INTEGER NOT NULL , |
Are we using visit_detail_concept_id or visit_concept_id for visit_detail table? There is a clash between documentation and DDL for this field https://github.com/OHDSI/CommonDataModel/blob/master/Documentation/CommonDataModel_Wiki_Files/StandardizedClinicalDataTables/VISIT_DETAIL.md
Documentation says it is visit_concept_id, although visit_detail_concept_id is less ambiguous, but visit_concept_id was proposed to the CDM workgroup as part of the visit_detail proposal.
I like the visit_detail_concept_id, to avoid ambiguity - but the concept_id is still belongs to the 'Visit' domain (not 'Visit detail' domain). If we decide to go with visit_detail_concept_id, then we will also need to use visit_detail_source_concept_id. Current implementation is visit_source_concept_id
| visit_source_concept_id INTEGER NULL , |