Import Codesystem - CSV
Aus Termserver-CTS2
(Unterschied zwischen Versionen)
(→Fields) |
|||
Zeile 142: | Zeile 142: | ||
Whole;Grossist;Grossiste | Whole;Grossist;Grossiste | ||
</source> | </source> | ||
+ | =SOAP Examples= | ||
+ | ==Import short file creating a new code system== | ||
+ | The following sample imports a new code system with csv content. The user has to be logged in before, to obtain a login token. |
Version vom 4. Mai 2016, 12:02 Uhr
Inhaltsverzeichnis |
Usage
Fields have to be seperated by semicolon ";".
Charset has to be "ISO-8859-1".
Filename must have csv extension.
Fields
Field | Optionality | Datatype | Description |
---|---|---|---|
code | required | String | Concept code, maximum of 100 characters |
term | required | String | Designation |
term_abbrevation | optional | String | Abbrevation of designation, maximum length of 50 characters |
description | optional | String | Additional description |
is_preferred | optional | bool | default: true (1), possible values: 1 or 0 |
is_axis | optional | bool | default: false (0), possible values: 1 or 0 |
is_mainclass | optional | bool | default: false (0), possible values: 1 or 0 |
translation_XY | optional | String | Defines translations for a concept designation. XY has to be replaced with the ISO code for the language, for example: "translation_en" |
metadata_XYZ | optional | String | Defines additional metadata for a concept. XYZ has to be replaced with the name of the metadata, for example: "metadata_meaning" |
relation | optional | String | Code to related concept. |
association_kind | optional | Integer | used if relation is set (1=ontological, 2=taxonomic, 3=cross mapping, 4=link; default: 2) |
association_type | optional | String | used if relation is set, forward name for the relation |
association_type_reverse | optional | String | used if relation is set, reverse name for the relation |
crossmapping_csv_id | optional | long | used if relation should be a cross mapping to another code system with given version id |
Examples
Roles (German) with translation to French
code;term;translation_fr AccIns;Unfallversicherung;Assureur accident Assoc;Gesellschaft;Association Chiro;Chiropraktiker;Chiropraticien Dent;Zahnarzt;Méd. Dentiste DiabAdv;Diabetesberater/in;Conseiller/ère en diabète DoctMed;Humanmediziner;Méd. Humaine Drugg;Drogist;Drogiste DruSto;Drogerie;Droguerie Ergo;Ergotherapeut;Ergothérapeute GrpPra;Gruppenpraxis;Cabinet médical de groupe HeaIns;Krankenversicherung;Assureur maladie HeaProd;Gesundheitsprodukte Herstellung & Handel;Produits de santé (fabrication et commerce) HeaProv;Andere Leistungserbringer;Autre prestataire de soin HeaTec;Gesundheitstechnik Herstellung & Handel;Technique de santé (fabrication et commerce) Hosp;Spital / Klinik;Hôpital/Clinique Indus;Industrie;Industrie IntOrg;Internationale Organisation;Organisation internationale Lab;Institut/Forschungs- und Analysen-Labor;Institut/labo de recherche/analyse Midw;Hebamme;Sage-femme Nurse;Krankenpfleger/in;Infirmier/ère NursHom;Pflegeheim;Home médicalisé NutrAdv;Ernährungsberater/in;Conseiller/ère nutritionniste ONursOrg;Andere Pflegeorganisation;Autre organisme de soins Pharm;Apotheke;Pharmacie Pharmst;Apotheker_in;Pharmacien_ne Physio;Physiotherapeut;Physiothérapeute PrivPra;Privatpraxis;Pratique privée Psycho;Psychologe/Psychotherapeut;Psychologue/Psychothérapeute PubHea;Gesundheitsamt;Autorité sanitaire SerFirm;Dienstleistungsfirma;Société de service SocSec;Sozialversicherung;Assurance sociale SpecPra;Andere Praxis;Autre cabinet SpeeTher;Logopäd/in;Logopédiste Veter;Tierarzt;Méd. Vétérinaire Whole;Grossist;Grossiste
SOAP Examples
Import short file creating a new code system
The following sample imports a new code system with csv content. The user has to be logged in before, to obtain a login token.