Previous Topic

Next Topic

Book Contents

Mapping date time controls—Principles

How CIS synchronizes date time data to Clintrial database columns depends on how you define the controls and how you define the mappings for the controls in the InForm Architect application.

The combination of these specifications provides flexibility in the storage of date time data in the Clintrial database. This section describes:

The following table describes the Clintrial data types that are used for date time data.

Clintrial data types for dates

Description

DATE

This data type holds a complete date, including month, day, and year. The DATE data type corresponds to the Oracle DATE database format.

If you map a complete InForm date time including hours, minutes, seconds to a DATE data type, CIS drops the time portion from the date time when synchronizing.

DATETIME

This data type holds a complete date time, including month, day, year, hour, minute, and second. The date and time portions are separated by a space.

The DATETIME data type corresponds to the Oracle DATE database format.

FIXED

This data type is an integer, corresponding to the Oracle NUMBER(xx) database format.

TEXT

This data type is a string, corresponding to the Oracle VARCHAR2(n) database format.

When synchronizing date time data to Clintrial, CIS considers it to be complete or partial:

You can map complete or partial date time controls to any of the following:

The following table gives examples of how CIS maps complete, partial and split date parts to the columns defined with the various Clintrial data types.

Mapping definition

Date time part property in InForm Architect application

Value entered by InForm user

Value in Clintrial table column

Complete date mapped to DATE data type

Required = True; date time definition includes month, day, year

Jun 8 2004

6/8/2004

Complete date mapped to DATETIME data type

Required = True; date time definition includes month, day, year

Jun 8 2004

6/8/2004 00:00:00

Partial date mapped to TEXT data type

Required = False; date time definition includes month, day, year, hour, minute

Jun 8 2004

6/8/2002 12:00 AM

 

Required = False; date time definition includes month, day, year, hour, minute

Allow Unknown = True

UNK UNK UNK
UNK UNK

UNK/UNK/UNK
UNK:UNK:NUL

 

Required = False: date time definition includes month, day, year

(blank) (blank) 2004

NUL/NUL/2004
NUL:NUL:NUL

Split date part mapped to FIXED data type

Required = False

Allow Unknown = True

Some date parts blank

Some date parts UNK

Blank or UNK date parts synchronize as
integer -99

Split date part mapped to TEXT data type

Required = False

Allow Unknown = True

Some date parts blank

Some date parts UNK

Blank or UNK date parts synchronize as
string -99

Send Feedback