In CDMv5 (and VocabV5), when an ingredient is not in RxNorm (for example Buformin) we have decided that the corresponding ATC concept will be promoted to ‘standard concept’ and will be used to indicate the ingredient.
When populating the drug_era table, all drugs will be rolled up to the ingredient level. In the past, you could just use the concept_ancestor table and roll up to the point where you reached vocabulary_id = 'RxNorm'
and concept_class_id = 'Ingredient'
. However, with the new ingredients it is not so easy. How do you know the ATC code is an ingredient? And currently ATC codes (5th level) do not appear in concept_ancestor
.
@Christian_Reich, @Patrick_Ryan: any suggestions how best to tackle this? We could assume that a concept from vocabulary ‘ATC’ that is a standard concept is always an ingredient, but that seems a bit dangerous (and hard to understand if you read the code).