Correction - visit_detail_concept_id should be just visit_concept_id; because in the same domain. Otherwise we will have to systematically rename all _concept_id fields in visit_detail into _detail_concept_id; e.g.
visit_type_concept_id to visit_detail_type_concept_id
admitting_source_concept_id to admitting_detail_source_concept_id
makes it long and difficult in join statements etc