Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.2
-
None
Description
The current fast lookup using a BSV parses the first field as “C” and up to 7 numerals, padding with “0" as needed to reach that length when applicable [see CuiCodeUtil.getCuiCode(String)]
The CUI string is then substring’d from 1 to len and parsed as a Long.
This is producing issues with other related, but separate, ontologies (MedGen) where the bulk of concepts use UMLS CUIs but some additional concepts were created by the NCBI where no CUI previously existed.
These MedGen-specific concepts are created with a prefix “CN” + 6 numerals, resulting in “N123456” failing to produce a Long.
It is preferred to allow alternative CUI formats.