In order to ensure the quality of uploaded data and also to make data easy to query, data should be submitted in a specific format and range values should comply with the values defined in the data dictionary. All submitted research data must be validated against the values defined in the data dictionary prior to submission. To facilitate this process, we provide the Data Validation module that assists researchers with the submission of their data.
The Data Validation module accepts the data as CSV files from a researcher and validates the file content against the values defined in the data dictionary.
The module accepts CSV files from a researcher and validates the files' content against the values defined in the data dictionary. For thos CSV files that pass validation, the Data Validation module creates a submission ticket and submission package both in XML format. After that data are good for uploading. The submission ticket is used by the Data Upload module to upload the data (in the form of a corresponding submission package) to the repository.
If any validation errors or warnings are found, the module provides a detailed report of any data discrepancies, errors, and warnings received.
Validation warnings are just warnings and they did not prevent creating of the submission package. However, if any validation errors are found, a submission package cannot be created. In that case, the researched should edit data to fix all errors, first, and then re-validate the data.
See also:
The most recent version of Java Runtime Environment (JRE) (6 or 7) is required in order to run the Data Validation module.
Module input:
Module output:
The structure of a CSV file should match a corresponding form structure queryable by the query tool.
For more information about CSV files for data uploading, contact the data dictionary operations team - TBD.
A form structure represents a grouping/collection of data elements used in BRICS data dictionary. A form structure is analogous to a case report form (CRF) (electronic or paper) where data elements are linked together for collection and display.
A data element is a logical unit of data used in BRICS. It contains a single piece of information of one kind. A data element has a name, precise definition, and a set of permissible values (codes), if applicable. A data element is not necessarily the smallest unit of data; it can be a unique combination of one or more smaller units. A data element occupies the space provided by field(s) on a paper/electronic case report form (CRF) or field(s) in a database record. BRICS allows a use of two types of data elements:
Both types of data elements are used in forms structures and to collect data.
The submission package includes:
An example of a submission ticket:
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<submissionTicket environment="production" version="2.0.2.108">-<submissionPackage types="CLINICAL" crcHash="55830a2aa77164ea834942e65e319a38" dataFileBytes="241686" bytes="19233" name="dataFile-1373248220203">-<datasets><dataset crcHash="82ff11c787fc3086ce5bbd9e7518e279" bytes="19233" name="WardMinus2DemoGUIDS.csv" type="CLINICAL" path="C:\Users\user1\Documents\TBI 2013\CSV\sampleCSV.csv"/></datasets><associatedFiles/></submissionPackage>
</submissionTicket>



The the Data Validation module runs locally on your machine. In order to launch the module, navigate to the Data Repository>Validate Data page and click the Launch the Validation Tool link.
Note that the most recent version of Java Runtime Environment (JRE) (6 or 7) is required in order to run the module. Make sure your computer has it installed.
In the ideal world, your Working Directory should contain only CSV files for validation. Although very often it contains other files also (such as error logs and notes, etc.) In that case, you need to:
Refer to Excluding files from validation and Including files for validation.
To exclude files from validation, select individual file(s) (click to highlight) that are of TYPE UNKNOWN and those not needed for the submission. Hold Ctrl while clicking in order to highlight multiple files. Click Exclude Files.
To include files for validation, select the CSV files you want to be validated and press Include Files. Hold Ctrl while clicking in order to highlight multiple files.
Validation errors and warnings appear in the Result Details table. Files with warnings can be validated. However, files with errors must be fixed and re-validated, and then resubmitted for another validation round.
Validation errors appear when a CSV file has entries that are
Validation warnings mostly appear when a data entry, which was defined as Required in the corresponding form structure, is missing in the CSV file.
Please don't be surprised when your validation error log appears having a ton of warnings, these can be easily ignored.

Validation errors and warnings can be exported into a text file - that makes working with them and fixing errors much easier.
Recommendations:
After you have exported all validation errors,
Recommendations:
After all validation errors have been fixed and a submission package has been created, data can now be submitted to the system. To upload the submission package, use the Data Upload module. The module, runs locally your computer as a Java Web Start application (the latest version of Java runtime environment required).
Read more...