According to CDM wiki (https://github.com/OHDSI/CommonDataModel/wiki/Data-Model-Conventions)
“…For example, ICD-9-CM codes, which contain mostly diagnoses of human disease, also contain information about the status of patients having received a procedure: V25.5 “Encounter for insertion of implantable subdermal contraceptive” defines a procedure and is therefore stored in the PROCEDURE_OCCURRENCE table.”
My query to look up example v codes’ CDM Standard concept id:
select c1.concept_id as source_concept_id
, c1.domain_id as source_concept_domain
, c1.concept_code as source_concept_code
, c1.concept_name source_concept_name
, c2.concept_id as target_concept_id
, c2.domain_id as target_concept_domain
, c2.concept_code as target_concept_code
, c2.concept_name target_concept_name
from concept c1
join concept_relationship r on r.concept_id_1=c1.concept_id and r.invalid_reason is null and r.relationship_id=‘Maps to’
join concept c2 on c2.concept_id=r.concept_id_2
where c1.vocabulary_id = ‘ICD9CM’
and c1.concept_code in (‘V54.15’,‘V55.1’,‘V71.81’,‘V12.61’)
and c2.standard_concept =‘S’
order by c1.concept_code;
Does target concept’s domain play a role to decide which destination table that ICD9CM V codes go to? For example: the above example ICD9CM V codes are mapped to different target concept domains: Observation, Procedure, and Condition (which may or may not be the same as their source concept domain). Does it mean the V codes should be loaded to OBSERVATION, PROCEDURE_OCCURRENCE, and CONDITION_OCCURRENCE respectively?