%UMLS.Install.Utils
class %UMLS.Install.Utils extends %Library.RegisteredObject
Installation Utility for UMLSUMLS stands for Unified Medical Language System.It consists of several parts including ICD-10, MeSH, SNOMED CT, DSM-IV, LOINC. We can map either to any UMLS concept or only to a concept present in a specified vocabulary (or several vocabularies).
For detailed information on UMLS see:
To install UMLS inisde Cache you first need to install UMLS distribution files on your local machine by following UMLS Installation InstructionsOpens in a new tab. During installation UMLS Installation tool offers to create Database Load Scripts. Cache is not in the list of databases, select MySQL - we will later convert them to Cache.
Once local installation is completed you need to create UMLS database by running the following method:
d ##class(%UMLS.Install.Utils).createDatabase()
This method also adds mappings so UMLS is acessible from all existing namespaces. If you create another namespace later in order to enable UMLS on the new namespace you need to run:
d ##class(%UMLS.Install.Utils).addMapping("newNamespace")
d ##class(%UMLS.Install.Utils).addMapToAllNamespaces()
When database is created run import utility:
d ##class(%UMLS.Install.Utils).import("/OS/Path/To/UMLS/Installation")
Property Inventory
Method Inventory
- ClearLog()
- InsertCUI()
- InsertSUI()
- LogError()
- LogInstall()
- LogLoaded()
- SetInfo()
- SetOptions()
- addLAT()
- addMapToAllNamespaces()
- addMapping()
- buildCUIColl()
- buildNormTable()
- buildSUIColl()
- checkDatabase()
- checkFiles()
- classForTable()
- createDatabase()
- createIndex()
- deleteDatabase()
- deleteMapFromAllNamespaces()
- deleteMapping()
- doImport()
- executeSQL()
- import()
- importLEX()
- importMETA()
- importTable()
- isInstalled()
- isSystem()
- loadData()
Parameters
Properties
Methods
Note that languages are sepcified in UMLS format. For example English is "ENG" and Dutch is "DUT". Languages supported by iKnow are: 1:"ENG",2:"FRE",3:"GER",4:"DUT",5:"SPA",6:"POR",7:"RUS"
dbpath - Optional parameter to specify path to the new database. Full UMLS can take up to 50G.
- "load" or "/noload" - whether to load data. If load = 0 or "noload" then just create classes but do not import data
- "system"/"nosystem" - Import/Do not import classes that are used for iKnow UMLS mapping
- "other"/"noother" - Import/Do not import classes that are not used for iKnow UMLS mapping
- "replace/noreplace" - Replace/Do not replace existing data
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()