Fixed if condition error in I2B2ODMStudyHandler
- Changed and (&&) into or (||) operator in first if condition of the processODMClinicalData method: if the first part is true, the second part should not be evaluated.
- Other small issues: removed empty statement (double semi-colon), changed Javadocs, made minor textual changes, suppressed an unused parameter warning, removed redundant initialization, and used for-each instead of for loop.
Added some logging
- I2B2ODMStudyHandlerCMLClient: use log instead of println.
- FileExporter: added debug logging for adding patient data and renamed logger field to log.
- Others: added some Javadocs.
Some changes to OdmToFilesConverter
Description: some check and more logging have been added. Separate files are created for different locations ("studies"); many files remain empty when converting "split_odm_aa.xml".
Details:
- Check whether a file exporter exists for the study name before closing it in the closeExportWriters method (and added logging).
- Added the metaDataStudy variable instead of replacing study by definingStudy in the saveStudy method. This variable is passed on through the metaDataStudy parameters.
- The metaDataStudy parameter is used for the study name and code list in the saveItem method (and added logging).
- Only create a new file exporter if it does not exist for the study name in the saveStudy method (and added logging).
- Removed unnecessary check in the saveItemData method.
Merge pull request #1 from FreekDB/master

Fixed if condition error in I2B2ODMStudyHandler and some changes to OdmToFilesConverter