Loading Core Terminologies

Aus CTS2-LE
Version vom 30. Juni 2015, 09:31 Uhr von Krebs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „The process of loading core terminologies comprises 2 steps: # specifiy the terminologies to load by editing a configuration file and # initiate the loading…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

The process of loading core terminologies comprises 2 steps:

  1. specifiy the terminologies to load by editing a configuration file and
  2. initiate the loading by executing a script

Edit cts2_conf.xml

Loading Core Terminologies is done by editing the file cts2_conf.xml, which is located in the directory that was specified as CTS2LE_RESOURCE_ROOT during the installation process. When receiving a CTS2-LE distribution, this file will comprise a reference to any terminology for which the user has obtained a license. The XML-structured file lists the available terminologies under the element vocabularies. A specific vocabulary is defined by a friendly-name and a resourceID, for example the UCUM code system will appear as the following line:

<vocabulary load="false" friendly-name="Unified Code for Units of Measure" resourceID="ucum"/>

The friendly name is a human readable name for a terminology and may be modified by the user if he prefers a different designation. However, the attribute resourceID must not be changed as it is a system intern identifier for the terminology. To load a vocabulary, the attribute load has to be set to true.

Running the loading script

Navigate to the bin-directory located in CTS2LE_RESOURCE_ROOT and execute the script WebCts2LEStarter.sh by running

./WebCts2LEStarter.sh

See Also

To get a deeper understanding of how a terminology is represented by means of CTS2, please visit Loading Terminologies into CTS2-LE.