Closed ericaVoss closed 9 years ago
@ericaVoss:
Not quite sure what's going on here:
select c1.concept_id as c1_id, c1.concept_name as c1_name, r.relationship_id as rel, r.invalid_reason as r_ir, c2.concept_id as c2_id, c2.concept_name as c2_name, c2.vocabulary_id as c2_vocab from concept c1 join concept_relationship r on r.concept_id_1=c1.concept_id and r.invalid_reason is null join concept c2 on c2.concept_id=r.concept_id_2 where c1.vocabulary_id='ICD9CM' and c2.vocabulary_id='MedDRA'
Stupid auto-numbering gives me twice number one. Assume the second one is 2, the 2 after that is 3.
@cgreich
1) ICD9CM <> MedDRA I see why, I said to only use REALTIONSHIP_ID of 'Maps To' but this uses 'ICD9CM-MedDRA'. Why does it fall under this certain type of RELATIONSHIP_ID?
2) ICD9Proc <> RxNorm I thought we did, but I'm not worried about this one.
3) ICD10PCS <> SNOMED Okay.
1) Because "Maps to" maps from a Source to a Standard Concept. MedDRA are all Classification Concepts. That's why I don't want them there at all. 2) I think there are no procedure drugs in there. 3) Working on it right now. Got another input from the NLM on Tuesday.
1) Got it! I was using our SOURCE_CODE --> STANDARD CONCEPT query to test these maps. That was my fault.
2) -
3) Thank you!
I'm going to close this, thank you!
This is for
v5.0 17-JUL-15
.I check for certain maps to exist within the VOCABULARY. I'm finding that some do not exist anymore. The first I would expect, but not sure how important the second two are.
I used a query like this to find if the maps were there or not.