Terminologieserver Import-Tool
This command line tool is helps to import Code Systems and Value Sets into the Terminology Server by using its web services.
Inhaltsverzeichnis |
Download
Download comming soon...
Usage
Parameter
Parameter | Required | Description | Example |
---|---|---|---|
-h | No | Displays help | -h |
-f | Yes | Name of the file that is to be imported (e.g. CSV or LOINC) | -f "C:\Temp\import.csv" |
-f2 | No | Required for LOINC. Name of the file with the associations | -f2 "C:\Temp\LOINC_MAP_TO.TXT" |
-u | Yes | Login username registered at Terminology Server | -u "username" |
-p | Yes | The corresponding password | -p "passwort" |
-cs | Yes | Name of the new Code System. If the Name already exists, a new Version will be created. | -cs "LOINC" |
-csv | Yes | Name of the new Code System Version | -csv "LOINC Released December 2011" |
-format | Yes | Import format, possible values: CSV, CLAML, LOINC | -format "LOINC" |
-s | No | Hostname of the Server with port (e.g. http://193.25.22.68:8080), Default: http://127.0.0.1:8080 | -s "http://www.term.mi.fh-dortmund.de:8080" |
Example
java -jar TermserverImportTool.jar -u "username" -p "password" -f "C:\LOINCDB.TXT" -f2 "C:\LOINC_MAP_TO.TXT" -format "LOINC" -cs "LOINC" -csv "LOINC Released December 2011" -s "http://193.25.22.68:8080"
Possible Formats
CSV
The structure of the CSV File can be taken from web service documentation: WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Besonderheiten
Examples can be found below on the same page: WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Dateien
LOINC
LOINC consists of 2 files: LOINCDB.TXT and LOINC_MAP_TO.TXT
File names may be different in later Versions. The fist file contains all concepts, the second one all associations between them and both files are required for import.
The german LOINC can be downloaded from DIMDI: http://www.dimdi.de/dynamic/en/ehealth/loinc/downloads/loinc/