Changes between Initial Version and Version 1 of i2b2 Mapped Importer


Ignore:
Timestamp:
09/19/13 08:04:32 (11 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2b2 Mapped Importer

    v1 v1  
     1= i2b2 Mapped Importer
     2
     3Java program to take input from various sources and load it into i2b2.
     4
     5== Sources
     6
     7The aim is to allow any type of source to be used that comes in a per patient format.  For example, a CSV file with a row per patient, an XML file with a node per patient, a set of XML files with one per patient, or a database query with a row per patient.
     8
     9Multiple rows (etc) can be supplied for a single patient.
     10
     11== Outputs
     12The data can be outputted as either an i2b2 PDO XML file or loaded directlt into an i2b2 database.
     13
     14== Settings
     15The source and output used is defined is a YAML file.  By default this file is called settings.yaml in the application root directory, but the setings file path can be defined using the {{{-s=xxx}}} or {{{--settingsFilePath=xxx}}} command line arguments.
     16
     17The settings that can be defined are {{{dataSource}}} and {{{output}}}.  Both settings have a field called {{{type}}} that defines the class used to as a source or output processor.  The further fields are specific for the {{{type}}} specified.
     18
     19Here is an example settings file:
     20{{{#!yaml
     21output:
     22 type: uk.org.briccs.onyxmappedexport2pdo.output.mssql.MsSqlOutput
     23 server: Server Name
     24 instance: Instance Name
     25 database: Database Name
     26 username: Username
     27 password: Password
     28dataSource:
     29 type: uk.org.briccs.onyxmappedexport2pdo.onyx.OnyxDataSourceSet
     30 export_directory: data
     31}}}
     32== Mapping