Hi @Christian_Reich,
I would be happy to give you the input files, but I need a little help finishing the tables. I think I understand how to do the last 3 of the 4 required, but I am a little twisted up on DRUG_CONCEPT_STAGE.
The attached file has some specific examples of how I think I should do it. Blanks mean I am definitely unsure. Non-blanks mean I would have been bold enough to try.
The table at the top is a cleaned up version (and sample subset) of the full list of approximately 140,000 package IDs registered in Sweden (and pretty close to the whole Nordics too). For each package ID, I have already mapped to as many concepts as I could individually (brand name, ingredient, dose form, strength). Each package ID then has 1-4 concept_IDs assigned to it. (Those mappings probably aren’t 100% perfect but they are quite good thanks to Usagi on the individual concepts and some translation.)
I tried running them through Usagi collectively with those concepts separated by semicolons in the automatic mapping input field, but it just wanted to leave them all at the ingredient concept even though quite a few had dose and form concepts that I could match to more detailed concepts (e.g. clinical drug). I know that match won’t be 100% due to different pack sizes or other unique aspects by country, but I manually found several that do match.
Can you help me finish the logic? My end goal is to have each NPLPackID mapped as precisely as it can be. Then I can create the tables without too much trouble and offer many thanks if you could run them in the Oracle SQL.
Thanks for always being so helpful. I think we’re close now!
vocab_mapping.xlsx (13.0 KB)