Skip to content
forked from OHDSI/Athena

Web application for distributing and browsing the Standardized Vocabularies for all instances of an OMOP CDM

Notifications You must be signed in to change notification settings

sunithae21/Athena

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#1 Phrase search

Search provides the ability to search by phrase. All results are sorted by default according to the following criteria:

-full phrase match

  • concepts contain all the words from the search phrase
  • result based on two parameters, the number of searched words in the result and importance of each word (importance is calculated for each word, the words that are rearer among all documents are more important)

Example:

Search phrase: Stroke Myocardial Infarction Gastrointestinal Bleeding

Name sort priority explanation
Stroke Myocardial Infarction Gastrointestinal Bleeding full match
Gastrointestinal Bleeding Myocardial Infarction Stroke all words
Stroke Myocardial Infarction Gastrointestinal Bleeding and Renal Dysfunction 3 words
Stroke Myocardial Infarction Bleeding in Back 2 words
Bleeding in Back Gastrointestinal Bleeding 2 word
Stroke Myocardial Infarction 2 word
Stroke Myocardial Infarction Strok 2 words
Stroke Myocardial Infarction Stroke Nothin 2 words
Stroke Myocardial Infarction Renal Dysfunction 2 words
Stroke Myocardial Infarction Renal Dysfunction and Nothing 1 words
stroke 1 words
Stroke 1 words
Strook 1 words

NB: the search goes through all concept fields, but the highest priority is given to CONCEPT_NAME and CONCEPT_CODE

#2 Exact search

Using quotation marks forces an exact-match search.

For an exact search, the following conditions are met

  • the word must be present
  • not case sensitive, the number of spaces between words does not matter
  • stemming is disabled(the word/words must be present exactly as it is in quotation marks)

Example 1:

Search phrase: "Stroke Myocardial Infarction Gastrointestinal Bleeding"

Name
Stroke Myocardial Infarction Gastrointestinal Bleeding
Stroke Myocardial Infarction Gastrointestinal Bleeding and Renal Dysfunction

Example 2:

Search phrase: "Stroke Myocardial Infarction "Gastrointestinal Bleeding"

Name
Stroke Myocardial Infarction Gastrointestinal Bleeding
Gastrointestinal Bleeding Myocardial Infarction Stroke
Stroke Myocardial Infarction Gastrointestinal Bleeding and Renal Dysfunction
Bleeding in Back Gastrointestinal Bleeding

#3 Special symbols

For special symbols, the following conditions are met

  • These special symbols are always ignored and treated as words separation symbols: / \ | ? ! , ; . e.g. "Pooh.eats?honey!" equals "Pooh eats honey"
  • All other special symbols ignored only if it is a separate word: + - ( ) : ^ [ ] { } ~ * ? | & ; e.g. "Pooh ` eats raspberries - honey" equals "Pooh eats honey", but "Pooh'eats raspberries-honey" will remain the same
  • the first funded result will be with characters and then without

Search phrase: [hip]

Name
[hip] fracture risk
[Hip] fracture risk
[hip fracture risk
hip] fracture risk
(hip fracture risk
(hip) fracture risk
hip fracture risk
hip) fracture risk
hip} fracture risk
hip} fracture risk
{hip fracture risk

A special character becomes mandatory if the word is surrounded by quotation marks.

Search phrase: "[hip]"

Name
[hip] fracture risk
[Hip] fracture risk

#4 Approximate matching(fuzzy searching)

In case of a typo, or if there is a similar spelling of the word, the most similar result will be found

Search phrase: Strok Myocardi8 Infarctiin Gastrointestinal Bleedi

Name
Gastrointestinal Bleeding Myocardial Infarction Stroke
Stroke Myocardial Infarction Gastrointestinal Bleeding
Stroke Myocardial Infarction Gastrointestinal Bleeding and Renal Dysfunction
Stroke Myocardial Infarction Strok
Bleeding in Back Gastrointestinal Bleeding
Stroke Myocardial Infarction Bleeding in Back
Stroke Myocardial Infarction
Stroke Myocardial Infarction Stroke Nothin
Stroke Myocardial Infarction Renal Dysfunction
Stroke Myocardial Infarction Renal Dysfunction and Nothing
stroke
Stroke
Stroo

About

Web application for distributing and browsing the Standardized Vocabularies for all instances of an OMOP CDM

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.0%
  • TSQL 2.4%
  • PLpgSQL 2.3%
  • HTML 1.2%
  • Dockerfile 0.1%
  • Shell 0.0%