Related to some discussion about handling RXNORM vs RXCUI, NN could provide prefix normalization along with node normalization very easily by making use of the curies library and the merged prefix map from prefixmaps.
@matentzn and I would love to help out on this.
The code is as easy as:
>>> from prefixmaps import load_converter
>>> converter = load_converter("merged")
>>> print(converter.standardize_curie("ORPHA:123"))
ORPHANET:123
Though, there is something to dig into, because I'm finding that converter.standardize_curie("RXNORM:123") isn't returning RXCUI:123 like I was expecting. Which, uh, I recognize weakens the argument a little! 😬