Changes between Version 15 and Version 16 of i2b2 Mapped Importer


Ignore:
Timestamp:
05/29/14 15:46:47 (10 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2b2 Mapped Importer

    v15 v16  
    141141Date field used for observation start and end dates as well as patient dates of birth, etc.
    142142
     143This field has an optional {{{format}}} mapping parameter.  The processing differs depending on whether this parameter is present and what type of data source is being used.
     144
     145If the parameter is provided the field will ask the data source for a string and attempt to parse it to a date using the provided date format string. If the parameter is missing, the field will ask the data source for a date value.
     146
     147If a database data source is asked for a date variable it will expect the column returned by the query to have a type of date.  If a text based data source, such as an XML or CSV file, is asked for a date, it will attempt to parse the text value using the format {{{yyyy-MM-dd'T'HH:mm:ss.SSSZ}}}.
     148
    143149====== Mapping
    144150
    145151* {{{type}}}: {{{uk.org.briccs.onyxmappedexport2pdo.fields.!DataSourceDateField}}}
     152* {{{format}}}: (optional) Date format string (see [http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat]).  If missing the field will rely on the data source for date parsing.
    146153
    147154==== !DataSourceEnumerationField