Replies: 3 comments
-
|
Ok, build process now adds RXNATOMARCHIVE to the rxnorm.db that gets created. Next step is to use that to update the labels. Note that there can be multiple rows per RxCUI in that table, so we need to grab the most recent row, likely from the LAST_RELEASED field. |
Beta Was this translation helpful? Give feedback.
-
|
Now that we've updated labels from the "archive", there are ~1347 duplicate classes, defined as "same rdfs:label, same RxCUI annotation". See attached file. We just need to keep one and obsolete the other, pointing the obsoleted one at the one we preserve (e.g., "replaced by". |
Beta Was this translation helpful? Give feedback.
-
|
Resolved w/recent PR merges |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Some duplicate labels (approx. 90 of them) result from label truncation in the old Scala-based build process. How can we fix these?
Investigation thus far:
So, we can try writing a script that takes the RxCuis as input, makes the API call, gets the "name" (aka 'label') out, and updates the template somehow.
Alternatively:
4. The RXNATOMARCHIVE.RRF folder has the name, we could either write a script to pull names out of that file or to load the RXNATOMARCHIVE.RRF file into sqlite and do a SQL-based update
5. The benefits of the latter in 4 is that it's easy to write out the templates from sqlite because that's the normal build process and we have a script for that already
To do that, we'd have to write a sql script that creates teh RXNATOMARCHIVE table and populates it, we could follow the examples for thte other tables.
Beta Was this translation helpful? Give feedback.
All reactions