Terminologieserver Import-Tool

Aus Termserver-CTS2
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Beispiel)
 
Zeile 1: Zeile 1:
Das Kommandozeilen-Tool ist ein Hilfsmittel, um Codesysteme und Value-Sets aus Dateien in den Terminologieserver zu importieren. Es spricht selbst die Webservices des Terminologieservers an.
+
This command line tool is helps to import Code Systems and Value Sets into the Terminology Server by using its web services.
 +
 
 
=Download=
 
=Download=
Download folgt in Kürze...
+
Download comming soon...
  
=Verwendung=
+
=Usage=
 
==Parameter==
 
==Parameter==
 
<table border="1" cellpadding="3" class="ws_table">
 
<table border="1" cellpadding="3" class="ws_table">
 
   <tr>
 
   <tr>
 
     <th>Parameter</th>
 
     <th>Parameter</th>
     <th>Pflicht</th>
+
     <th>Required</th>
     <th>Beschreibung</th>
+
     <th>Description</th>
     <th>Beispiel</th>
+
     <th>Example</th>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-h</td>
 
     <td>-h</td>
     <td>Nein</td>
+
     <td>No</td>
     <td>Gibt eine Hilfe aus</td>
+
     <td>Displays help</td>
 
     <td>-h</td>
 
     <td>-h</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-f</td>
 
     <td>-f</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Der Dateiname der zu importierenden Datei (z.B. CSV oder LOINC)</td>
+
     <td>Name of the file that is to be imported (e.g. CSV or LOINC)</td>
 
     <td>-f "C:\Temp\import.csv"</td>
 
     <td>-f "C:\Temp\import.csv"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-f2</td>
 
     <td>-f2</td>
     <td>Nein</td>
+
     <td>No</td>
     <td>Pflicht bei LOINC, der Dateiname mit den Assoziationen</td>
+
     <td>Required for LOINC. Name of the file with the associations</td>
 
     <td>-f2 "C:\Temp\LOINC_MAP_TO.TXT"</td>
 
     <td>-f2 "C:\Temp\LOINC_MAP_TO.TXT"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-u</td>
 
     <td>-u</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Der Login-Benutzername des Terminologieservers</td>
+
     <td>Login username registered at Terminology Server</td>
 
     <td>-u "username"</td>
 
     <td>-u "username"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-p</td>
 
     <td>-p</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Das Passwort des Benutzers vom Terminologieserver</td>
+
     <td>The corresponding password </td>
 
     <td>-p "passwort"</td>
 
     <td>-p "passwort"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-cs</td>
 
     <td>-cs</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Name des anzulegenden Codesystems. Falls vorhanden, wird nur eine neue Version angelegt.</td>
+
     <td>Name of the new Code System. If the Name already exists, a new Version will be created.</td>
 
     <td>-cs "LOINC"</td>
 
     <td>-cs "LOINC"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-csv</td>
 
     <td>-csv</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Name der anzulegenden Codesystem-Version</td>
+
     <td>Name of the new Code System Version</td>
 
     <td>-csv "LOINC Released December 2011"</td>
 
     <td>-csv "LOINC Released December 2011"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-format</td>
 
     <td>-format</td>
     <td>Ja</td>
+
     <td>Yes</td>
     <td>Import-Format, mögliche Werte: CSV, CLAML, LOINC</td>
+
     <td>Import format, possible values: CSV, CLAML, LOINC</td>
 
     <td>-format "LOINC"</td>
 
     <td>-format "LOINC"</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>-s</td>
 
     <td>-s</td>
     <td>Nein</td>
+
     <td>No</td>
     <td><nowiki>Hostname des Servers mit Port (z.B. http://193.25.22.68:8080), Default: http://127.0.0.1:8080</nowiki></td>
+
     <td><nowiki>Hostname of the Server with port (e.g. http://193.25.22.68:8080), Default: http://127.0.0.1:8080</nowiki></td>
 
     <td>-s <nowiki>"http://www.term.mi.fh-dortmund.de:8080"</nowiki></td>
 
     <td>-s <nowiki>"http://www.term.mi.fh-dortmund.de:8080"</nowiki></td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
==Beispiel==
+
==Example==
 
<source lang="xml">
 
<source lang="xml">
 
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"
 
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"
 
</source>
 
</source>
  
==Mögliche Formate==
+
==Possible Formats==
 
===CSV===
 
===CSV===
Der Aufbau der CSV-Datei kann aus der Webservice-Dokumentation entnommen werden: [[WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Besonderheiten]]
+
The structure of the CSV File can be taken from web service documentation: [[WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Besonderheiten]]
  
Beispieldateien finden Sie weiter unten auf der gleichen Seite: [[WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Dateien]]
+
Examples can be found below on the same page: [[WS-Beschreibung_-_Terminologieserver_Administration_ImportCodeSystem#Dateien]]
  
 
===LOINC===
 
===LOINC===
Der LOINC besteht aus 2 Dateien: LOINCDB.TXT und LOINC_MAP_TO.TXT
+
LOINC consists of 2 files: LOINCDB.TXT and LOINC_MAP_TO.TXT
  
In späteren Versionen können sich die Dateinamen möglicherweise ändern. Beide Dateien sind beim Import anzugeben. Die 1. Datei enthält alle Konzepte während die 2. Datei Beziehungen zwischen den Konzepten enthält.
+
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.
  
Die deutsche Fassung kann beim DIMDI heruntergeladen werden: http://www.dimdi.de/dynamic/en/ehealth/loinc/downloads/loinc/
+
The german LOINC can be downloaded from DIMDI: http://www.dimdi.de/dynamic/en/ehealth/loinc/downloads/loinc/

Aktuelle Version vom 6. August 2013, 07:08 Uhr

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/

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge