Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Sub-Term Mapping Tools

STMT Java Class Mapping

STMT provides three Java classes for table lookup mapping:

  • SetTable.java
    • Store terms from a file in a Java HashSet<String>
    • The format of input file:
      terms
    • Automatically remove duplicate terms
    • Use to check if a term is in this table
    • Application: use to check if a CUI|LUI|SUI is in non-suppress list
    • File: nonSuppressCui.data

  • KeyValueTable.java
    • Store key|value pairs from a file to a Java Hashtable<String, String>
      keyvalue
    • Automatically remove duplicate key|value pairs
    • Use in one-to-one mapping to find the value for a term (key)
    • Application: use to find the preferred term for a CUI
    • File: cuiPreferredTerm.data

  • KeyValuesTable.java
    • Store key|value pairs from a file to a Java Hashtable<String, HashSet< String>>
      keyvalue
    • Automatically remove duplicate key|value pairs
    • Use in one-to-many mapping to find values for a term (key)
    • Application: use to find CUI, EUI, Synonyms for a term
    • Files:
      • normTermCui.data
      • normInflvarEui.data
      • normTermSynonyms.data

These Java classes provide an easy way to store data in RAM for retrieval. Accordingly, the performance is low when data is large scale. In real practice, STMT stores information in database for small foot print and fast performance.