- Fixed error in first if statement of the processODMClinicalData method: use "|| (or)" instead of "&& (and)", otherwise the check fails if the first part is null.
- Split up the processODMClinicalData method: added new methods saveStudyClinicalData and saveStudyEventData.
- Added exportToDatabase field to store the export mode (to database or to files) and used this field to decide which export actions to take.
- Removed the "TODO: create database or create other export format." comments.
- Some small refactoring actions.