Changes between Version 2 and Version 3 of i2b2 Mapped Importer Data Sources
- Timestamp:
- 05/29/14 11:19:02 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
i2b2 Mapped Importer Data Sources
v2 v3 43 43 44 44 * {{{type}}}: {{{uk.org.briccs.i2b2mappedimport.input.csv.CsvDataSourceSet}}} 45 * {{{Server}}}: ''The name of the SQL Server'' 46 * {{{database}}}: ''The name of the SQL Server database'' 47 * {{{username}}}: ''The username required to log on'' 48 * {{{password}}}: ''The password for the above user'' 49 * {{{query}}}: ''The query used to extract the patient data'' 50 51 The query should return a row for each patient, and contain a patient identifier. 45 * {{{filename}}}: ''The filename of the CSV file'' 46 * {{{field_separator}}}: ''(Optional) The character that separates fields in a record. The default is a comma. '' 47 * {{{quote_character}}}: ''(optional) The character used to surround string values. Use of the quote character around strings is optional, but strings cannot then include field or row separator characters. The default is a double quote.'' 48 * {{{has_headers}}}: ''(optional) Whether to use the first row of the CSV file as the column headers. The default if false.'' 52 49 53 50 === Mapping Source 54 51 55 The {{{source}}} attribute list for mappings should contain one item: the name of the field from the query. 52 The {{{source}}} attribute list for mappings should contain one item, which identifies the field within the CSV. 53 54 If headers are not specified, fields are identified by column number starting from "1". Column numbers should be specified in the mapping file enclosed within double-quotes. For example: 55 56 {{{ 57 source: 58 - "1" 59 }}} 60 61 62 If headers are specified, fields should be identified by the column header text with leading and trailing spaces removed. 56 63 57 64 == !OnyxDataSourceSet