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

UMLS-Core: Sub-Term Patterns

  • Descriptions:
    • This component constructs all possible patterns from the found synonym sub-terms.
    • Patterns include synonyms

  • Examples - Test Cases:

    • Input: Synonym Rules

      wordsynonym
      dogcanine
      catfeline
      canineK9
      K9bull dog
      Dog and catpets
      puppy and kittypets

    • Input: Synonym Terms

      Terms
      dog
      canine
      cat
      feline
      k9
      bull dog
      dog and cat
      pets
      puppy and kitty

    • Input Term:
      Who let dog and cat out
      InWord Index012345
      InWordwholetdogandcatout

    • Find all sub-terms of the input that has synonymous terms Sub-Term
      SubTerm IndexSub TermStart IndexEnd Index
      0dog23
      1dog and cat25
      2cat45

    • Output Sub-term Patterns:

      I. One substitution:

      Pattern 1-1
      word|start pos|end pos|sub-term flag
      who|0|1|false
      let|1|2|false
      dog|2|3|true
      and|3|4|false
      cat|4|5|false
      out|5|6|false

      Pattern 1-2
      word|start pos|end pos|sub-term flag
      who|0|1|false
      let|1|2|false
      dog|2|3|false
      and|3|4|false
      cat|4|5|true
      out|5|6|false

      Pattern 1-3
      word|start pos|end pos|sub-term flag
      who|0|1|false
      let|1|2|false
      dog and cat|2|5|true
      out|5|6|false

      II. Two substitutions

      Pattern 1-1
      word|start pos|end pos|sub-term flag
      who|0|1|false
      let|1|2|false
      dog|2|3|true
      and|3|4|false
      cat|4|5|true
      out|5|6|false

  • Output Synonym Patterns:

    I. One substitution:

    Pattern 1-1
    word|synonyms
    who|
    let|
    dog|canine|k9|bull dog|
    and|
    cat|
    out|

    Pattern 1-2
    word|synonyms
    who|
    let|
    dog|
    and|
    cat|feline|
    out|

    Pattern 1-3
    word|synonyms
    who|
    let|
    dog and cat|pets|puppy and kitty|
    out|

    II. Two substitutions

    Pattern 1-1
    word|synonyms
    who|
    let|
    dog|canine|k9|bull dog|
    and|
    cat|feline|
    out|

  • Algorithm:

    Skipped