Some changes in the clinical exportWriter with regard to defining study.